/*

Known Template 

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

*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =============== BASE STYLES =============== */
:root {
    --primary-blue: #6082B6;
    --dark-blue: #2C3E50;
    --light-blue: #E8F0FE;
    --white: #FFFFFF;
    --black: #121212;
    --gray: #F8F9FA;
  --primary: #4361ee;
    --primary-dark: #3a56d4;
  --secondary: #3f37c9;
    --accent: #4895ef;
    --dark: #1e1e24;
    --dark-gray: #2b2d42;
    --medium-gray: #8d99ae;
    --light-gray: #edf2f4;
  --light: #f8f9fa;
    --success: #4cc9f0;
    --warning: #f72585;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
  position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
    bottom: -10px;
  left: 0;
    width: 60px;
    height: 4px;
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
  font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
  position: relative;
  overflow: hidden;
    z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
    top: 0;
  left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

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



.benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefit-icon i {
    font-size: 32px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.benefit-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    background: var(--primary-blue);
}

.benefit-icon:hover i {
    color: var(--white);
  }

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

  .section-title h2 {
        font-weight: 900!important;
    font-size: 30px!important;
    padding-bottom: 5px;
    padding-top: 25px;
  color: var(--black);
    margin: 0;
      font-family: Copperplate;
  }

  .section-title small {
            font-weight: 300;
    display: block;
  }

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

  
  #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;
    margin: 10px;
  }

  .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 {
    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;
  height: 10vh;
  position: fixed!important;
  top: 0!important;
  left: 0;
  right: 0;
   background-color: rgba(250,250,250,0.3);
  }
/* Modern Logo Styles */
.navbar-brand {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 12px 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

/* Animated gradient text */
.logo-text {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}

.logo-gradient {
    background: linear-gradient(45deg, #1a237e, #0d47a1);  /* Deep indigo to deep blue */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.logo-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #0d47a1, #1a237e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    filter: blur(0.5px);
}

.gh-flag {
    background: linear-gradient(45deg, #CE1126, #FCD116, #006B3F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-left: 2px;
}

.gh-flag::before {
  content: 'GH';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(45deg, #CE1126, #FCD116, #006B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(0.5px);
  opacity: 0.5;
}

/* Animations */
@keyframes gradientShift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
}

/* Hover Effects */
.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-brand:hover .mountain-shape {
  transform: rotateX(25deg) rotateY(-10deg) translateZ(10px);
}

.navbar-brand:hover .logo-gradient {
  animation: gradientShift 3s ease infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-text {
      font-size: clamp(20px, 5vw, 24px);
  }
}

@media (max-width: 480px) {
  .navbar-brand {
      padding: 8px 0;
  }
  
}



/* Owl Carousel Styling */
/* Caption container */
.caption {
  text-align: center;
  padding: 20px;
  color: white;
}

/* Subheading */
h3 {
  font-size: 24px;
  font-weight: 500;
  color: #ffbd69;
  margin-bottom: 10px;
}

/* Main Heading */
.caption h1 {
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: clamp(1px, 2vw, 3px);
  padding: clamp(10px, 3vw, 20px) clamp(20px, 4vw, 40px);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.2;
  position: relative;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.8s;
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .caption h1 {
        font-size: clamp(1.8rem, 7vw, 3.5rem);
    }
}

@media screen and (max-width: 992px) {
    .caption h1 {
        font-size: clamp(1.6rem, 6vw, 3rem);
        padding: clamp(8px, 2.5vw, 15px) clamp(15px, 3vw, 30px);
    }
}

@media screen and (max-width: 768px) {
    .caption h1 {
        font-size: clamp(1.4rem, 5vw, 2.5rem);
        letter-spacing: clamp(0.5px, 1.5vw, 2px);
        padding: clamp(5px, 2vw, 10px) clamp(10px, 2.5vw, 20px);
    }
    
    .caption h3 {
        font-size: clamp(1rem, 3.5vw, 1.4rem);
    }
}

@media screen and (max-width: 576px) {
    .caption h1 {
        font-size: clamp(1.2rem, 4vw, 2rem);
        padding: clamp(4px, 1.5vw, 8px) clamp(8px, 2vw, 15px);
    }
    
    .caption h3 {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }
}

@media screen and (max-width: 375px) {
    .caption h1 {
        font-size: clamp(1rem, 3.5vw, 1.8rem);
        letter-spacing: 1px;
    }
    
    .caption h3 {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }
}

  /*---------------------------------------
      HOME  & SLIDER            
  -----------------------------------------*/

  #home {
    margin-top: -67px;
    padding: 0;
    height: 72vh;
    overflow-y: hidden;
color: white;
}



      #home h1 {
        color: #fff;
        font-weight: 900;
        font-size: 50px;
        text-transform: uppercase;
        padding-bottom: 35px;
    }

      #home h3 {
        text-transform: uppercase;
        color: #fff;
    }


  @media (min-width: 768px) {
    .home-slider .col-lg-12  .col-md-12 .col-sm-12 {
      padding-left: 0;
    }
  }

  .home-slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background-color: rgba(20,20,20,0.2);
    height: 100%;
    color: #fff;
    cursor: e-resize;
  }

  .home-slider .item {
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
    border-radius: 10px!important;
  }
  
  .caption h3 a { color: #FFF; }
  .caption h3 a:hover { color: #FF3; }

  .home-slider .item-first {
    background-image: url(../images/slider-image1.jpg);
    background-position: center;
  }

  .home-slider .item-second {
    background-image: url(../images/slider-image2.jpg);
  }

  .home-slider .item-third {
    background-image: url(../images/slider-image3.jpg);
  }

/*=====================================
  TAG LINE STYLES 
    ===================================*/

.tag-line {
  position: relative;
  margin-top: -10px;
    background: #E9E9E9;
    color: #6082B6;
    z-index: 100;
}

    .tag-line h2 {
        font-size: 20px;
        font-weight: 900;
        padding: 5px 10px 10px 5px;
        color: #6082B6;
    }

        .tag-line h2 > i {
            margin-left: 8px;
            margin-right: 8px;
        }



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


  /*---------------------------------------
      FEATURE              
  -----------------------------------------*/

 #courses{
   background: url("../images/choosing-bg.jpg") no-repeat center center;
    padding: 0;
    -webkit-background-size: cover;
    background-size: cover;
    color: #fff;
    background-attachment: fixed;
  }

  .feature-thumb {
    border: 1px solid #f0f0f0;
    padding: 5em 3em;
  }

  .feature-thumb span {
    background: #3f51b5;
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin-bottom: 5px;
  }

  .feature-thumb h3 {
    margin: 10px 0;
  }

  /*---------------------------------------
      COURSES             
  -----------------------------------------*/
/* COURSES SECTION - OPTIMIZED */
#courses .section-title {
  text-align: center;
  margin-bottom: 30px;
}

#courses h2 {
  font-weight: 900;
  font-size: 25px;
  padding: 25px 0 5px;
  color: #000;
  position: relative;
  display: inline-block;
}

#courses h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #4361ee;
}

#courses small {
  color: white;
  display: block;
  margin-top: 5px;
}

#courses .owl-theme .owl-nav {
  margin-top: 30px;
  text-align: center;
}

#courses .owl-theme .owl-nav [class*=owl-] {
  border-radius: 2px;
  font-size: 16px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  padding: 0;
  margin: 0 5px;
  background: rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

#courses .owl-theme .owl-nav [class*=owl-]:hover {
  background: #4361ee;
  color: white;
}

.courses-thumb {
    background-color: var(--white);
    border-radius: 10px;
  overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.courses-top {
  position: relative;
}

.courses-image {
    height: 200px;
  overflow: hidden;
}

.courses-image img{
  width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}


.courses-detail {
  padding: 20px;
}

.courses-detail h3 {
        margin-bottom: 15px;
    color: var(--dark);
}

.courses-info {
        margin-bottom: 20px;
  border-top: 1px solid #f0f0f0;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.courses-author {
  display: flex;
  align-items: center;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .courses-image {
    height: 150px;
  }
  
  .courses-detail {
    padding: 15px;
  }
  
  .courses-info {
    padding: 12px 15px;
  }
  
  .courses-author img {
    width: 40px;
    height: 40px;
  }

  #home .container{
    margin-top: 300px !important;
  }

}

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

  #testimonial .item {
    background-color: rgba(31, 39, 43, 0.35);
    font-family: Trebuchet MS, sans-serif;
    color: white;
    margin: 20px 0;
    padding: 4em 3em;
    text-align: left;
    border-radius: 10px;
  }
#testimonial h2{
  position: absolute;
float: left;
}
#testimonial small{
  color: rgba(31, 39, 43, 0.35);
}

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

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

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

  footer {
    background: #252020;
    padding: 120px 0;
  }

  footer .section-title {
    padding-bottom: 10px;
  }

  footer h2 {
    font-size: 20px;
  }

  footer a,
  footer p {
    color: #909090;
  }

  footer strong {
    color: #d9d9d9;
  }

  footer address p {
    margin-bottom: 0;
  }

  footer .social-icon {
    margin-top: 25px;
  }

  .footer-info {
    margin-right: 2em;
  }

  .footer-info h2 {
    color: #ffffff;
    padding: 0;
  }

  .footer_menu h2 {
    margin-top: 2em;
  }

  .footer_menu ul {
    margin: 0;
    padding: 0;
  }

  .footer_menu li {
    display: inline-block;
    list-style: none;
    margin: 5px 10px 5px 0;
  }

  .newsletter-form .form-control {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid #303030;
    height: 50px;
    margin: 5px 0;
  }

  .newsletter-form input[type="submit"] {
    background: transparent;
    border: 1px solid #f9f9f9;
    border-radius: 50px;
    color: #ffffff;
    display: block;
    margin-top: 20px;
    outline: none;
    width: 50%;
  }

  .newsletter-form input[type="submit"]:hover {
    background: #6082B6;
    border-color: transparent;
  }

  .newsletter-form .form-group span {
    color: #909090;
    display: block;
    font-size: 12px;
    margin-top: 20px;
  }



  /*---------------------------------------
     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: var(--primary-blue);
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    margin: 5px 5px 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .social-icon li a:hover {
    background: var(--primary-blue);
    color: var(--white);
  }

.courses #item {
  border-radius: 10px!important;
}

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

  @media screen and (max-width: 1170px) {
    .custom-navbar .navbar-nav.navbar-nav-first {
      margin-left: inherit;
    }
  }

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

    .home-slider .item {
      background-position: center center;
      border-radius: 10px!important;
    }

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

    .contact-image {
      margin-top: 50px;
    }
  }


  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-navbar .nav li a {
      padding-right: 10px;
      padding-left: 10px;
    }
  }

  @media only screen and (max-width: 767px) {
    h1 {
      font-size: 2.5em;
    }

    h1,h2,h3 {
      line-height: normal;
    }

    .custom-navbar {
    background: var(--white);
      -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: 10px 0;
      text-align: center;
    }

    .custom-navbar .navbar-brand,
    .custom-navbar .nav li a {
      line-height: normal;
    }

    .custom-navbar .nav li a {
      padding: 10px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
    color: var(--black);
      font-weight: 600;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
        display: none;
    color: var(--dark-blue);
    }

    .custom-navbar .navbar-nav.navbar-right li {
        
      display: none;
    }

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

    .footer-info.newsletter-form {
        display: none;
      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;
    }
  }

  @media only screen and (max-width: 400px) {
   #home  h1 {
      font-size: 1.4em;
          margin-top: -3px;
    }

    #home h3 {
      font-size: 12px;
       margin-top: -25vh;
    }

    .entry-form {
      border-radius: 0;
      padding: 2em;
      max-width: 100%;
      max-height: 100%;
      width: inherit;
      height: inherit;
    }


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


/*=====================================
  TAG LINE STYLES 
    ===================================*/

.tag-line {
  position: relative;
  margin-top: -10px;
    background: #E9E9E9;
    color: #6082B6;
    z-index: 100;
}

    .tag-line h2 {
        font-size: 12px;
        font-weight: 900;
        padding: 2px 5px 5px 2px;
        color: #6082B6;
    }

        .tag-line h2 > i {
            margin-left: 8px;
            margin-right: 8px;
        }


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

  #courses .section-title {
    text-align: center;
  }


.section-title h2{
    font-weight: 400;
    font-size: 18px!important;
    padding-bottom: 5px;
    padding-top: 25px;
  color: var(--black);
}

.section-title small{
color: white;
}

  #courses .owl-theme .owl-nav {
    margin-top: 30px;
  }

  #courses .owl-theme .owl-nav [class*=owl-] {
    border-radius: 2px;
    font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0;
  }

#item .item{
  border-radius: 50px!important;
}


  .courses-thumb {
    background: #f9f9f9;
    position: relative;
  }

  .courses-top {
    position: relative;
  }

  .courses-image {
    background: linear-gradient(to right, #202020, #101010);
  }

  .courses-date {
    background: linear-gradient(rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.6));
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 20px 25px;
  }

  .courses-date span,
  .courses-author span {
    font-size: 14px;
    font-weight: bold;
  }

  .courses-date span {
    color: #ffffff;
    display: inline-block;
    margin-right: 10px;
  }

  .courses-detail {
    padding: 25px 25px 15px 25px;
  }

  .courses-detail h3 {
    font-size: initial !important;
    margin: 0 0 2px 0;
  }

  .courses-detail p{
    font-size: 13px !important;
  }

  .courses-info {
    border-top: 1px solid #f0f0f0;
    position: relative;
    clear: both;
    padding: 15px 25px;
  }

  .courses-author,
  .courses-author span {
    display: inline-block;
    vertical-align: middle;
  }

  .courses-author img {
    display: inline-block !important;
    border-radius: 50px;
    width: 50px !important;
    height: 50px;
    margin-right: 10px;
  }

  .courses-price {
    float: right;
    margin-top: 10px;
  }

  .courses-price span {
    background: #6082B6;
    border-radius: 2px;
    color: #ffffff;
    display: block;
    padding: 5px 10px;
  }

  .courses-price.free span {
    background: #3f51b5;
  }






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

p {
  color: #757575;
  font-size: 14px;
  line-height: 1.6;
}

/* Links & Buttons */
a {
color: var(--primary-blue);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

a:hover { color: var(--dark-blue); }

/* Hero Slider */
#home {
  height: 80vh;
  position: relative;
  margin-top: -70px;
}

.home-slider .item {
height: 90vh;
overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.caption {
  position: absolute;
  top: 100%;
  transform: translateY(-100%);
  width: 100%;
  padding: 0 10%;
  color: white;
}

/* Tagline Section */
.tag-line {
  margin-top: -20px;
  background: #E9E9E9;
  padding: 15px 0;
  text-align: center;
}

.tag-line h2 {
  color: #6082B6;
  font-size: 20px;
  margin: 0;
}

/* Courses Section */
#courses {
  background: url("../images/choosing-bg.jpg") no-repeat center/cover;
  padding: 80px 0;
  position: relative;
}

#courses::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
}

.courses-thumb {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.courses-thumb:hover {
  transform: translateY(-10px);
}

.courses-image {
  height: 200px;
  overflow: hidden;
}

.courses-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.courses-detail {
  padding: 20px;
}

.courses-detail h3 {
  margin-top: 0;
  color: #333;
}

/* Testimonials */
#testimonial {
  background: #f9f9f9;
  padding: 80px 0;
}

.testimonial-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin: 15px;
}

/* Footer */
footer {
  background: #252020;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-info {
  margin-bottom: 30px;
}

.social-icon {
  list-style: none;
  padding: 0;
}

.social-icon li {
  display: inline-block;
  margin-right: 10px;
}

.social-icon a {
  color: #fff;
  font-size: 18px;
}

.newsletter-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* =============== MOBILE RESPONSIVENESS =============== */
@media (max-width: 992px) {
  .custom-navbar .navbar-nav {
    float: none !important;
    text-align: center;
  }
  
  .caption {
    padding: 0 10%;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  #home {
    height: 70vh;
  }
  
  .home-slider .item {
    height: 70vh;
  }
  
  .caption {
    padding: 0 5%;
    text-align: center;
  }
  
  h1 { font-size: 2.2em; }
  h2 { font-size: 1.8em; }
  
  .section-btn {
    padding: 10px 20px;
  }
  
  #courses, #testimonial {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  #home {
    height: 60vh;
  }
  
  .home-slider .item {
    height: 60vh;
  }
  
  h1 { font-size: 1.8em; }
  h2 { font-size: 1.5em; }
  
  .custom-navbar h2 {
    font-size: 22px;
  }
  
  .tag-line h2 {
    font-size: 16px;
  }
  
  footer {
    text-align: center;
  }
  
  .footer-info {
    margin-bottom: 40px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .courses-thumb:hover {
    transform: none;
  }
  
  .section-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
  input, textarea, select {
    font-size: 16px !important;
  }
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.course-card:hover .btn-outline {
    background: var(--gradient-primary);
    color: var(--white);
}

.course-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.course-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.course-content .btn {
    pointer-events: none;
}

/* Mobile Search Interface */
@media screen and (max-width: 768px) {
    .owl-carousel.owl-courses { display: none !important; }

    .mobile-categories.container {
        padding: 0 0 10px 0;
        width: 375px;
        margin: 0 auto;
        background: #121212;
    }
    #courses .section-title {
        margin-bottom: 4px !important;
    }
    #courses .section-title p,
    #courses p {
        margin-bottom: 4px !important;
    }
    .categories {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        align-items: stretch;
        margin-top: 0 !important;
    }
    .category {
        border-radius: 12px;
        display: block;
        text-align: center;
        transition: all 0.3s ease;
        color: var(--white);
        font-weight: bold;
        font-size: 16px;
        height: 10vh;
        min-height: 0;
        max-height: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        cursor: pointer;
        overflow: hidden;
        line-height: 10vh;
        padding: 0;
        margin: 0;
        white-space: nowrap;
        position: relative;
    }

    .category::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(0,0,0,0.1), rgba(0,0,0,0));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .category:hover::before {
        opacity: 1;
    }

    .discover { 
        background: linear-gradient(135deg, #4361ee, #3a0ca3);
    }
    
    .podcasts { 
        background: linear-gradient(135deg, #f72585, #b5179e);
    }
    
    .radio { 
        background: linear-gradient(135deg, #4cc9f0, #4895ef);
    }
    
    .workout { 
        background: linear-gradient(135deg, #2b2d42, #1a1b2e);
    }

    .category:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
}

/* Social Icons */
.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: var(--primary-blue);
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    margin: 5px 5px 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon li a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

@media screen and (min-width: 769px) {
    .categories {
        display: none !important;
    }
}

/* Mobile Header Styles */
@media screen and (max-width: 768px) {
    .custom-navbar {
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 15px 0;
    }

    .navbar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar-brand {
        padding: 0;
        height: auto;
    }

    .logo-text {
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .navbar-nav > li > a {
        padding: 12px 20px;
        color: var(--black);
        font-weight: 600;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        transition: all 0.3s ease;
    }

    .navbar-nav > li > a:hover,
    .navbar-nav > li > a:focus {
        background: var(--gray);
        color: var(--primary-blue);
        font-weight: 700;
    }
}