/*

Known Template 

https://templatemo.com/tm-516-known

*/

@import url('https://fonts.googleapis.com/css?family=Muli:300,700|Nunito');

body {
  background: #ffffff;
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
  padding-top: 70px;
}


/*---------------------------------------
   TYPOGRAPHY              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-family: 'Muli', sans-serif;
  font-weight: bold;
  line-height: inherit;
}

h1 {
  color: #252525;
  font-size: 3em;
  line-height: normal;
}

h2 {
  color: #353535;
  font-size: 2em;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 0;
}

h3,
h3 a {
  color: #454545;
}

p {
  color: #757575;
  font-size: 14px;
  font-weight: normal;
  line-height: 24px;
}



/*---------------------------------------
   GENERAL               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: #252525;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a,
input, button,
.form-control {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color:  #2bbf0dd1;
  outline: none;
}

::-webkit-scrollbar{
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #000000;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  margin: 0;
}

.section-title small {
  display: block;
}

.overlay {
  background: rgba(20,20,20,0.5);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.entry-form {
  background: #252020;
  border-radius: 100%;
  text-align: center;
  padding: 6em;
  width: 450px;
  height: 450px;
}

.entry-form h2 {
  color: #ffffff;
  margin: 0;
}

.entry-form .form-control {
  background: transparent;
  border: 0;
  border-bottom: 1px solid;
  border-radius: 0;
  box-shadow: none;
  height: 45px;
  margin: 10px 0;
}

.entry-form .submit-btn {
  background: #ffffff;
  border-radius: 50px;
  border: 0;
  color: #252020;
  width: 50%;
  height: 50px;
  margin: 30px auto;
  margin-bottom: 10px;
}

.entry-form .submit-btn:hover {
  background: #3f51b5;
  color: #ffffff;
}

section {
  position: relative;
  padding: 100px 0;
}

#team,
#testimonial {
  background: #f9f9f9;
}

#team, 
#testimonial {
  text-align: center;
}

#google-map iframe {
  border: 0;
  width: 100%;
  height: 390px;
}



/*---------------------------------------
   BUTTONS               
-----------------------------------------*/

.section-btn {
  background: transparent;
  border-radius: 50px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: inherit;
  font-weight: normal;
  padding: 15px 30px;
  transition: 0.5s;
}

.section-btn:hover {
  background: #ffffff;
  border-color: transparent;
}



/*---------------------------------------
     PRE LOADER              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #575757;
  border-top-color: #ffffff;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {transform: rotate(360deg);}
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}



/*---------------------------------------
    MENU              
-----------------------------------------*/

.custom-navbar {
  background: #ffffff;
  border-top: 5px solid  #2bbf0dd1;
  border-bottom: 0;
  -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  margin-bottom: 0;
  padding: 0;
  justify-content: space-between;
}

.custom-navbar .navbar-brand {
  color: #454545;
  font-size: 18px;
  font-weight: bold;
  line-height: 40px;
}
.navbar-nav-first {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 60%;
  font-size: 1em;
  gap: 20px; /* Adjust spacing between items */
}

.custom-navbar .navbar-nav.navbar-right li a {
  padding-right: 12px;
  padding-left: 12px;
}

.custom-navbar .navbar-nav.navbar-right li a .fa {
  background:  #2bbf0dd1;
  border-radius: 100%;
  color: #ffffff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  display: inline-block;
  margin-right: 5px;
}

.custom-navbar .nav li a {
  line-height: 40px;
  color: #575757;
  padding-right: 20px;
  padding-left: 20px;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  background-color: transparent;
}

.custom-navbar .nav li a:hover {
  background-color:  #2bbf0dd1;
  color: #ffffff;
}

.custom-navbar .nav li.active > a {
  background-color:  #2bbf0dd1;
  color: #ffffff;
}

.custom-navbar .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.custom-navbar .navbar-toggle {
  background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
  background: #252525;
  border-color: transparent;
}


@media only screen and (max-width: 992px) {
  .custom-navbar .navbar-nav-first {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      position: static;
      transform: none;
      gap: 10px; /* Reduce gap for better fit */
      
  }
  #log{
    display: none;
  }
   
}

@media only screen and (max-width: 768px) {
  .custom-navbar {
      text-align: center;
      padding: 10px 0;
  }

  .custom-navbar .navbar-brand {
      display: block;
      text-align: center;
  }

  .custom-navbar .navbar-nav {
      display: flex;
      left: 5%;
      flex-direction: row;
      align-items: center;
      width: 110%;
      gap: 10px; /* Better spacing for touch accessibility */
  }
  .navbar .container{
    display: flex;
  }
.navbar-right li a{
display: none;
}



  .custom-navbar .navbar-toggle {
      border: none;
      background-color: #2bbf0dd1;
      padding: 8px 12px;
      border-radius: 5px;
  }

  .custom-navbar .navbar-toggle .icon-bar {
      background: white;
      height: 3px;
      margin: 4px 0;
  }
  #log{
    display: none;
  }

}
/*---------------------------------------
    HOME  & SLIDER            
-----------------------------------------*/
/* Home Section */
#home{
background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url("../images/pythonhome.jpg");
min-height:100vh ;
background-size: cover;
background-repeat: no-repeat;
position: relative;
justify-content: space-between;
}

.text{
width: 90%;
color: white;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
}
.text h1{
font-weight: 600;
color: white;
}
.text p{
margin: 10px;
font-size: 14px;
color: white;
}
.text a button{
margin-top: 10px;
background: transparent;
border: 1px solid white;
padding: 10px 30px;
position: relative;
color: white;
cursor: pointer;
}
.text a button:hover{
background: #38b000;
}


/* WHAT WE DO */
#about {
  margin-top: 10%;
  background-color: #f4f4f4;
  padding: 0px 0px 80px;
}
/* Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h4 {
  font-size: 30px;
  font-weight: bold;
  color: #1e293b;
}

.line-dec {
  width: 80px;
  height: 4px;
  background-color: #38b000;
  margin: 10px auto;
}


/* Service Items (Cards) */
.service-item {
  cursor: pointer;
  background-color: white;
  text-align: center;
  padding: 40px 20px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

/* Hover Effects (No Background Color Change) */
.service-item:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Icon Styling */
.service-item .icon {
  font-size: 40px;
  color: #38b000;
  margin-bottom: 15px;
  transition: color 0.3s ease-in-out;
}

.service-item:hover .icon {
  color: #1e293b; /* Slight color change for effect */
}

/* Headings */
.service-item h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  transition: color 0.3s ease-in-out;
}

/* Paragraph Styling */
.service-item p {
  font-size: 14px;
  color: #666;
  transition: color 0.3s ease-in-out;
}

.service-item:hover h4,
.service-item:hover p {
  color: #1e293b; /* Keep a subtle text color effect */
}

/* Responsive Design */
@media (max-width: 992px) {
  .service-item {
      margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .service-item {
      padding: 30px 15px;
  }

  .service-item .icon {
      font-size: 35px;
  }

  .service-item h4 {
      font-size: 16px;
  }

  .service-item p {
      font-size: 13px;
  }
}


/* INTRO Section */
#Intro {
  background-color: #f6f6f6;
  text-align: center;
  padding: 60px 15px; /* Reduced top padding to prevent excessive gap on mobile */
  box-sizing: border-box;
}

#Intro strong {
  padding-top: 50px;
  color: #00C6D7;
  font-size: 56px;
}

.intro-section {
  text-align: center;
}

/* Heading styles */
.intro-heading {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Text styles */
.intro-text {
  font-size: 18px;
  color: #7f8c8d;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Video container styles */
.video-container {
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.intro-video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
  #Intro {
      padding-top: 40px; /* Reduced top padding to minimize extra gaps */
  }

  .intro-heading {
      font-size: 28px; /* Smaller heading on mobile */
      margin-bottom: 15px;
  }

  .intro-text {
      font-size: 16px; /* Smaller font size for mobile */
      margin-bottom: 20px; /* Reduced margin to keep content compact */
      padding: 0 15px; /* Added padding for better readability */
  }

  .video-container {
      max-width: 100%; /* Ensure video container spans full width on mobile */
      margin-left: 0;
      margin-right: 0;
  }

  .intro-video {
      border-radius: 8px; /* Slightly smaller border radius for mobile */
  }
}


/* course section */

/* Space between cards */
.owl-carousel .owl-stage {
display: flex;
gap: 20px; /* Adjusts space between each card */
}

/* Custom Navigation Buttons */
.custom-owl-nav {
text-align: center;
margin-top: 10px;
}

/* Small & Centered Arrows */
.custom-owl-nav button {
background-color: #ddd;
color: #555;
border-radius: 5px;
width: 35px;
height: 35px;
font-size: 18px;
border: none;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease-in-out;
margin: 0 5px;
cursor: pointer;
}

.custom-owl-nav button:hover {
background-color: #ccc;
}

/* Updated Card Styling */
.course-card {
background: #f9f9f9;
position: relative;
border-radius: 10px;
overflow: hidden;
transition: all 0.3s ease-in-out;
display: flex;
flex-direction: column;
min-height: 400px;
}

.course-card:hover {
transform: translateY(-5px);
box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}

.course-img img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.3s ease-in-out;
}

.course-card:hover .course-img img {
transform: scale(1.05);
}

.course-info {
padding: 20px;
flex-grow: 1;
}

.course-info h3 {
font-size: 18px;
font-weight: bold;
}

.course-info p {
font-size: 14px;
color: #555;
}
.section-title{
padding-bottom: 5rem;
}
.section-title h2 {
text-align: center;
font-size: 2.5rem;
font-weight: 600;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #2bbf0dd1;
}
#courses{
padding: 5rem 0;
}
.custom-owl-nav span {
display: none;
}




/* ==========================================================================
pricing section
========================================================================== */

#pricing {
text-align: center;
padding: 3em 0;
background-color: #f8f9fa;
display: none;
}

#pricing h1 {
font-size: 42px;
margin-bottom: 1em;
color: #1e293b;
}

.our-price {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}

.price-card {
width: 100%;
max-width: 320px;
display: flex;
justify-content: center;
margin: 1px auto;
}
.price-card span{
margin: 1px auto;
}

.feature-thumb {
background: white;
border: none;
padding: 2em;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
border-radius: 12px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 300px;
}

.feature-thumb:hover {
transform: translateY(-10px);
box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-thumb span {
background: blue;
border-radius: 50%;
color: #ffffff;
font-size: 22px;
font-weight: bold;
display: inline-block;
width: 55px;
height: 55px;
line-height: 55px;
text-align: center;
margin-bottom: 10px;
}

.Register-link, .Login-link {
display: inline-block;
margin: 8px 5px;
padding: 12px 24px;
font-weight: bold;
font-size: 16px;
background-color: #2bbf0dd1;
color: white;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease-in-out;
}

.Register-link:hover, .Login-link:hover {
background-color: #2a8500;
transform: scale(1.05);
}

@media (max-width: 768px) {
.our-price {
    flex-direction: column;
    align-items: center;
}
#pricing{
  display: block;
}
.price-card {
    max-width: 90%;
}
.feature-thumb {
    width: 100%;
}

}

@media (max-width: 480px) {
.price-card {
    max-width: 100%;
}
#pricing{
  display: block;
}

.feature-thumb {
    padding: 1.5em;
}
.Register-link, .Login-link {
    font-size: 14px;
    padding: 10px 18px;
}

}  
/* CONTACT US */

/* Root Variables */
:root {
  --primary-color: #1e293b; /* Dark navy */
  --secondary-color: rgba(240, 248, 255, 0.9); /* Light grayish blue */
  --text-color: #0f172a; /* Deep navy */
  --heading-color: #e2e8f0; /* Soft white */
  --button-color: #2bbf0dd1; /* Bright green */
  --button-hover: #2a8500; /* Darker green */
}

/* Contact Section Styling */
#contact-section {
  position: relative;
  background: linear-gradient(rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.85)), 
              url("img/contact-bg.jpg") center/cover no-repeat;
  color: var(--text-color);
  padding: 80px 0;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h4 {
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}

.section-divider {
  width: 100px;
  height: 3px;
  background-color: var(--button-color);
  margin: 10px auto;
}

/* Contact Content */
.contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Map Styling */
.contact-map iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  outline: none;
  background: var(--secondary-color);
  color: var(--text-color);
  border-radius: 5px;
}

.contact-form textarea {
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #475569; /* Muted text color */
}

/* Submit Button */
#submit-button {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  background: var(--button-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#submit-button:hover {
  background: var(--button-hover);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .contact-content {
      flex-direction: column;
      text-align: center;
  }

  .contact-map iframe {
      height: 300px;
  }

  .contact-form {
      width: 100%;
  }
}

/*---------------------------------------
    TEAM              
-----------------------------------------*/

.team-thumb {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.team-info {
  padding: 20px 30px;
}

.team-image img {
  width: 100%;
}

.team-thumb .social-icon {
  border-top: 1px solid #f0f0f0;
  padding: 4px 20px 0 20px;
}

.team-thumb .social-icon li a {
  background: #ffffff;
  color: #252020;
}

.team-info h3 {
  margin: 0;
}


/*---------------------------------------
    COURSES             
-----------------------------------------*/

.courses-thumb {
  background: #f9f9f9;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  min-height: 400px; /* Ensures all cards are the same height */
}

.courses-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}

.courses-top {
  position: relative;
}

.courses-image img {
  width: 100%;
  height: 200px; /* Ensures images are uniform */
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.courses-thumb:hover .courses-image img {
  transform: scale(1.05);
}

.courses-detail {
  padding: 20px;
  flex-grow: 1; /* Makes text take up remaining space */
}

.courses-detail h3 {
  font-size: 18px;
  font-weight: bold;
}

.courses-detail p {
  font-size: 14px;
  color: #555;
}
.section-title h2{
text-align: center;
}



/*---------------------------------------
   NEWS              
-----------------------------------------*/

.news-thumb {
  clear: both;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.news-thumb .news-image {
  float: left;
  width: 40%;
  margin-right: 30px;
}

.news-info h3 {
  margin-top: 5px;
  margin-bottom: 10px;
}

.news-date span {
  color: #909090;
  font-weight: bold;
}



/*---------------------------------------
    TESTIMONIAL             
-----------------------------------------*/

.item {
  background: linear-gradient(135deg, #ffffff, #e3e3e3);
  border-radius: 10px;
  padding: 2em 1.5em;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 350px; /* Set a fixed height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures even spacing */
}

.tst-author h4, 
.tst-author span {
  margin-bottom: 5px;
}

.tst-image img {
  width: 80px; /* Ensure consistent image size */
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.tst-rating {
  margin-top: auto; /* Push rating to bottom */
}


#testimonial .item {
  background: #ffffff;
  margin: 20px 0;
  padding: 4em 3em;
  text-align: left;
}

#courses .col-md-4,
#testimonial .col-md-4 {
  display: block;
  width: 100%;
}

#testimonial .item > p {
  font-size: 16px;
  line-height: 26px;
}

.tst-rating {
  margin-bottom: 15px;
}

.tst-rating .fa {
  color: #3f51b5;
}

.tst-image,
.tst-author {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 20px;
  text-align: left;
}

.tst-image img {
  border-radius: 50px;
  width: 60px !important;
  height: 60px;
  margin-right: 15px;
}

.tst-author h4 {
  margin: 0;
}

.tst-author span {
  color: #808080;
  font-size: 14px;
}



/*---------------------------------------
    CONTACT             
-----------------------------------------*/

#contact {
  padding: 50px 0;
}

.section-title h2 {
  color: #2bbf0dd1;
  font-size: 28px;
  font-weight: bold;
}

.section-title small {
  color: #606060;
  font-size: 16px;
}

#contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

#contact-form .form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
}

#contact-form input[type="submit"] {
  background: #2bbf0dd1;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 20px 34px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

#contact-form input[type="submit"]:hover {
  background: #239a08;
  cursor: pointer;
}

.contact-image img {
  border-radius: 10px;
  width: 100%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover Effect */
.form-control:hover {
  border-color: #2bbf0dd1;
  box-shadow: 0px 0px 5px rgba(43, 191, 13, 0.3);
}


/*---------------------------------------
   FOOTER              
-----------------------------------------*/

footer {
  background-color: #2bbf0dd1; /* Light background color for better visibility */
  color: #f8f8f8; /* Light grey text for good contrast */
  padding: 40px 0;
}

footer h2 {
  font-size: 18px;
  color: black;
  margin-bottom: 15px;
}

footer p {
  font-size: 14px;
  line-height: 1.5;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

footer .contact-info p {
  margin: 5px 0;
}

footer .social-icon {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

footer .social-icon li {
  margin-right: 15px;
}

footer .social-icon a {
  font-size: 24px;
  color: #090909; /* White color for social media icons */
  transition: color 0.3s;
}

footer .social-icon a:hover {
  color: #1DA1F2; /* Light blue on hover for icons */
}

footer .copyright-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: white;
}

footer .copyright-text a {
  color: rgb(16, 16, 16);
  text-decoration: none;
}

footer .copyright-text a:hover {
  text-decoration: underline;
}

/* Make sure it looks good on mobile devices */
@media (max-width: 768px) {
  footer .row {
      text-align: center;
  }

  footer .social-icon {
      justify-content: center;
  }
}
/*---------------------------------------
   SOCIAL ICON              
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
  margin-bottom: 5px;
}

.social-icon li a {
  border-radius: 100px;
  color: #060606;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s ease-in-out;
  position: relative;
  margin: 5px 5px 5px 0;
}

.social-icon li a:hover {
  background: #0937cd;
  color: #ffffff;
}



/*---------------------------------------
   RESPONSIVE STYLES              
-----------------------------------------*/


@media only screen and (max-width: 992px) {
  section,
  footer {
    padding: 60px 0;
  }

  .home-slider .item {
    background-position: center center;
  }

  .feature-thumb,
  .about-info,
  .team-thumb,
  .footer-info {
    margin-bottom: 50px;
  }

  .contact-image {
    margin-top: 50px;
  }
  .custom-navbar .navbar-nav {
    display: flex;
    left: 5%;
    flex-direction: row;
    align-items: center;
    width: 110%;
    gap: 10px; /* Better spacing for touch accessibility */
}
.navbar .container{
  display: flex;
}
.navbar-right li a{
  display: none;
}
}



  .footer-info {
    margin-right: 0;
  }

  .footer-info.newsletter-form {
    margin-bottom: 0;
  }

  .entry-form {
    display: block;
    margin: 0 auto;
  }


@media only screen and (max-width: 580px) {
  h2 {
    font-size: 1.8em;
  }

  #testimonial .item {
    padding: 2em;
  }

  .contact-image {
    margin-top: 0;
  }
  .custom-navbar .navbar-nav-first {
  flex-direction: column;
    align-items: center;
    width: 100%;
    left: 0;
    transform: none;
    gap: 10px; /* Reduce gap for better fit */
    
}
.navbar .container{
  display: inline;
  width: 100%;
}
#logo{
  display: none;
}
    

}
@media only screen and (max-width: 767px) {
  .custom-navbar .navbar-nav-first {
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: none;
    
    
}
.navbar .container{
  display: inline;
  width: 90%;
}
.navbar-header{
  width: 100%;
  padding: 2% 5%;

}
.navbar-collapse{
  padding: 0;
  width: 100%;
  -webkit-overflow-scrolling: none;

}
.navbar-collapse::-webkit-scrollbar{
  display: none;
}
.navbar-nav-first li{
  width: 100%;
  padding: 0;
  margin: 0;
  padding-left: 5%;
}
.navbar-nav-first li a{
  width: 100%;
margin-right: 0;
font-size: 1em;
}
#logo{
  display: none;
}
}
  @media only screen and (max-width: 480px) {
  h1 {
    font-size: 2em;
  }

  #home h3 {
    font-size: 14px;
  }

  .entry-form {
    border-radius: 0;
    padding: 2em;
    max-width: 100%;
    max-height: 100%;
    width: inherit;
    height: inherit;
  }
.navbar .container{
display: inline;
width: 90%;
}
#logo{
display: none;
}
  .custom-navbar .navbar-nav-first {
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: none;
    
}
.navbar-nav-first li a{
  width: 100%;
  padding: 0;
}
}
@media only screen and (max-width: 1050px) {
  .navbar-nav-first{
    width: 60%;
    padding: 0;
    font-size: 70%;
  }
}
@media only screen and (max-width: 768px) {

  .navbar-nav-first{
    width: 60%;

  }
}