@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  /* Primary Base */
  --color-primary: #0096a5;
  --primary-500: #0096a5;

  /* Neutral & Accent Colors */
  --white: #ffffff;
  --black: #1e2a2d;
  --light-color: #cccccc;
  --light-bg: #f5f9fa;
  --box-shadow: 0 4px 12px rgba(0, 150, 165, 0.2);
  --border: 1px solid rgba(0, 150, 165, 0.3);

  /* Tints & Shades */
  --primary-50: #0d94a5;
  --primary-100: #b2ebf2;
  --primary-200: #14d8f0,;
  --primary-300: #4dd0e1;
  --primary-400: #26c6da;
  --primary-600: #00838f;
  --primary-700: #006064;
  --primary-800: #004d40;
  --primary-900: #00363a;

  /* Opacities */
  --primary-opacity: rgba(0, 150, 165, 0.07);
  --primary-opacity-10: rgba(0, 150, 165, 0.1);
  --primary-opacity-20: rgba(0, 150, 165, 0.2);
  --primary-opacity-30: rgba(0, 150, 165, 0.3);
  --primary-opacity-50: rgba(0, 150, 165, 0.5);
  --primary-opacity-70: rgba(0, 150, 165, 0.7);

  /* Accent Variants (Analogous & Complementary) */
  --primary-complement: #a54900;
  --primary-analogous-1: #00a56a;
  --primary-analogous-2: #005aa5;

  /* Monochromatic */
  --primary-mono-light: #5bcad5;
  --primary-mono-dark: #00707d;

  /* Gradients */
  --gradient0: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  --gradient: linear-gradient(90deg, var(--primary-50), var(--primary-300));
  --gradient2: linear-gradient(to right, var(--primary-500),#37ccde, var(--primary-500));
  --gradient-primary: linear-gradient(135deg, var(--primary-100), var(--primary-500));
  --gradient-primary-dark: linear-gradient(135deg, var(--primary-500), var(--primary-800));

  /* Optional Secondary Colors (based on theme) */
  --color-secondary: var(--primary-300);
  --color-voilet: #007f92;
  --color-pink: #47cbd9;
  --pink-opacity: rgba(71, 203, 217, 0.15);
  --big-color: var(--light-bg);

  /* Red/Alert alternatives adapted to theme */
  --red: #ed3c64;
  --coral: #ff7373;
}

*{
   
margin:0;
padding:0;
box-sizing: border-box;
outline: none;
text-decoration: none;
border: none;

}

*::selection{
background: blue;
color: #fff;
}

*::-webkit-scrollbar{
    height: .5rem;
width: .7rem;
border-radius: 20px;
    
}

*::-webkit-scrollbar-track{
    background-color:transparent;
}
*::-webkit-scrollbar-thumb{
background-color: var(--color-primary);

}

body{

    background-color: var(--big-color);
 }
 .btn{
  background-image: linear-gradient(to right , var(--color-primary) , var(--color-secondary) , var(--color-secondary) ,var(--color-primary));
  border-radius: 20px;
  text-align: center;
  padding: .5rem; /* Corrected padding syntax */
  color: #fff;
  text-transform: capitalize;
  font-size: 1.3rem;
  margin: 2rem 0;
  cursor: pointer;
  padding: 0.5rem 2rem;
}

 .btn:hover{
  background-image: var(--gradient) !important;
      color: var(--white);
 }

 .flex-btn{
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }

  .message{
    position: sticky;
    top: 0;
    background-color: var(--light-bg);
   padding: 2rem; 
   display: flex;
   align-items: center;
   gap: 1rem;
   justify-content: space-between;
  }
  .message.from{
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    top: 2rem;
    border-radius: .5rem;
  }


  .message span{
font-size: 2rem;
color: var(--black);

  }

  .message i {

    font-size: 2.5rem;
    color: var(--red);
    cursor: pointer;
    transition: .2s linear;
  }
  .message i:hover{
    transform: rotate(90deg);
  } 

  .empty{
    background-color: var(--primary-opacity);
    border-radius: 5rem;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    font-size: 2rem;
    color: var(--color-primary);

  }
  .heading{
text-align: center;
  }
  .heading span{
background-color: var(--primary-opacity);
color: var(--color-primary);
padding:  .3rem 1.5rem;
font-size: 1.3rem;
text-transform: uppercase;
border-radius: 5px;
  }
.heading h1{
  font-size: 2.5rem;
  color: #00838f;
  margin: 1rem 0;
  text-transform: capitalize;
}


    .header .flex a img {

      width: 100px;
    }


.learners .box-container  .box::before,
.course .box-container  .box::before, 
.header .flex .profile::before{
    background: linear-gradient(90deg , #cfa2e8 , #637fea);
    position: absolute;
content: '';
left: 0;
bottom: 0;
width:100%;
height: 4px;
}
 .banner{
    display: grid;
    grid-template-columns: repeat(auto-fit ,  minmax(40rem, 1fr));
    justify-content: center;
    align-items: center;
    width: 100%;
min-height: 70vh;
background-image: var(--gradient0);
}
.banner img{
    width: 110%;
}

.banner .detail{
    line-height: 1.5;
    padding: 1rem 2rem;
}
.banner .title{
    text-transform: uppercase;
}
.banner .title a{
color: var(--color-pink);
}

.banner .detail h1{
    margin-top: 1rem;
text-transform: capitalize;
}

.banner .detail p{
color: #fff;
font-size: 1.2rem;
}

.banner .flex-btn{
  justify-content: left;
}
.header{
    padding: .5rem 4%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .flex{
    padding: .5rem 2rem;
    position: relative;
    display: flex;
align-items: center;
justify-content: space-between;

}
.header .flex .search-form{
width: 30rem;

border-radius:.5rem ;
display: flex;
align-items: center;
/*gap: 2.5rem;*/
padding: 1rem 2rem;
background-color: var(--primary-opacity);
}
 
.header .flex .search-form input{
    width: 100%;
    font-size: 1.1rem;
    color: var(--color-primary);
background: none;
}
.header .flex .search-form button{
    font-size: 1.1rem;
    color: var(--color-primary);
 cursor: pointer;
 background: none;   
}
.header .flex .search-form button:hover{
     color: var(--main-color);
}

.header .flex .icons .main_btn_icon{
    font-size: 1.5rem;
    color:var(--white);
    border-radius: .5rem;
    height: 2.5rem;
    width: 2.5rem;
    line-height: 2.4rem;
    cursor: pointer;
    background-image: var(--gradient2);
    text-align: center;
    margin-left: .5rem;
      }
      .header .flex .icons .main_btn_icon:hover{
    background-image: var(--gradient);
      }
      #search-btn ,
      #menu-btn{
display: none;

      }
    
.header .flex .profile{
    position: absolute;
    top: 120%;
    right: 2rem;
    background-color: white;
    border-radius: .5rem;
    padding: 2rem;
    text-align: center;
    width: 25rem;
    transform: scale(0);
    transform-origin: top right;
 box-shadow: var(--box-shadow);
}


    /* Profile Active State */
    .header .flex .profile.active {
      transform: scale(1); /* Show when active */
transition: .2s linear;
    }
    
    /* Profile Image */
    .header .flex .profile img {
      height: 10rem;
      width: 10rem;
      border-radius: 50%;
      object-fit: cover;
      padding: 0.5rem;
      background-image: var(--gradient); /* Ensure --gradient is defined */
      margin-bottom: 0.5rem;
    }
    
    /* Profile Name */
    .header .flex .profile h3 {
      font-size: 1.5rem;
      color: var(--black); /* Ensure --black is defined */
      margin-bottom: 0rem;
      text-transform: capitalize;
    }
    
    /* Profile Profession */
    .header .flex .profile span {
      color: var(--light-color); /* Ensure --light-color is defined */
      font-size: 1.6rem;
      text-transform: capitalize;
      line-height: 2;
    }
    
    /* Profile Buttons */
    .header .flex .profile .flex-btn {
      margin-top: 1.5rem;
    }
    .header .navbar{
        display: flex;
margin: .5rem  0 ;
    }
    
.header .navbar a{
    color: var(--color-primary);
    font-size: 1.3rem;
    margin: 0 .5rem;
    text-transform: capitalize;
}

.header .navbar a:hover{
    color: black;
}


/* ----------------------Notifiaction section-------------------------------------------- */
/* Base styles for notification popup */
.notification-wrapper .notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.notification-wrapper .notification-overlay.active {
  display: flex;
}

.notification-wrapper .notification-popup {
  background: #fff;
  width: 90%;
  max-width: 420px;
  max-height: 80%;
  overflow-y: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Header */
.notification-wrapper .notification-header {
  padding: 18px 20px;
  background: #f7f9fc;
  border-bottom: 1px solid #e1e1e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.notification-wrapper .notification-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.notification-wrapper #close-sidebar {
  font-size: 22px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.notification-wrapper #close-sidebar:hover {
  color: #333;
}

/* Body */
.notification-wrapper .notification-body {
  padding: 20px;
}

.notification-wrapper .notification-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border-left: 4px solid transparent;
  border-radius: 12px;
  background-color: #fafafa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: background 0.3s, border-color 0.3s;
}

.notification-wrapper .notification-item:hover {
  background-color: #f0f4f8;
}

.notification-wrapper .notification-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.notification-wrapper .notification-content p {
  margin: 0 0 6px;
  font-size: 15px;
  color: #2c3e50;
  line-height: 1.5;
}

.notification-wrapper .notification-link {
  font-size: 14px;
  color: #007BFF;
  font-weight: 500;
  text-decoration: none;
}

.notification-wrapper .notification-link:hover {
  text-decoration: underline;
}

.notification-wrapper .no-notification {
  text-align: center;
  color: #aaa;
  font-size: 15px;
  padding-top: 30px;
}

/* Message type styles */
.notification-wrapper .notification-item.success {
  border-left-color: #28a745;
  background-color: #e9f9ef;
}

.notification-wrapper .notification-item.error {
  border-left-color: #dc3545;
  background-color: #fdecea;
}

.notification-wrapper .notification-item.warning {
  border-left-color: #ffc107;
  background-color: #fff8e1;
}

.notification-wrapper .notification-item.info {
  border-left-color: #17a2b8;
  background-color: #e8f7fc;
}
    .notification-bell {
      position: relative;
      display: inline-flex;
      font-family: 'Nunito', sans-serif;
    }
    
    .bell-icon {
      font-size: 2.5rem;
      color: var(--white);
      border-radius: 0.5rem;
      height: 4.5rem;
      width: 4.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      background: var(--gradient2);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: var(--box-shadow);
      border: var(--border);
    }
    
    .bell-icon:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px var(--primary-opacity-20);
      background: var(--gradient-primary-dark);
    }
    
    .bell-icon:active {
      transform: translateY(0);
    }
    
    .notification-count {
      position: absolute;
      top: -0.5rem;
      right: -0.5rem;
      background: var(--red);
      color: var(--white);
      border-radius: 50%;
      width: 1.75rem;
      height: 1.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 700;
      border: 2px solid var(--white);
      box-shadow: 0 2px 8px var(--primary-opacity-30);
      animation: pulse 2s infinite;
      font-feature-settings: 'tnum';
      font-variant-numeric: tabular-nums;
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      15% { transform: scale(1.15); }
      30% { transform: scale(1); }
      45% { transform: scale(1.15); }
      60% { transform: scale(1); }
      100% { transform: scale(1); }
    }
    
    @media screen and (min-width: 1024px) and (max-width: 1640px) {
      .bell-icon {
        height: 2.5rem;
        width: 2.5rem;
        font-size: 1.5rem;
      }
      .notification-count {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
        top: -0.25rem;
        right: -0.25rem;
      }
    }


/* Media Queries for responsiveness */

/* Small screens (phones, less than 600px) */
@media (max-width: 600px) {
  .notification-wrapper .notification-popup {
    max-width: 95%;
  }

  .notification-wrapper .notification-header h3 {
    font-size: 16px;
  }

  .notification-wrapper #close-sidebar {
    font-size: 20px;
  }

  .notification-wrapper .notification-item img {
    width: 60px !important;
    height: 45px;
  }

  .notification-wrapper .notification-content p {
    font-size: 14px;
  }

  .notification-wrapper .notification-link {
    font-size: 13px;
  }
}

/* Medium screens (tablets, between 600px to 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .notification-wrapper .notification-popup {
    max-width: 80%;
  }

  .notification-wrapper .notification-header h3 {
    font-size: 17px;
  }

  .notification-wrapper .notification-item img {
    width: 70px;
    height: 55px;
  }

  .notification-wrapper .notification-content p {
    font-size: 14px;
  }

  .notification-wrapper .notification-link {
    font-size: 13px;
  }
}

/* Large screens (desktops, above 1024px) */
@media (min-width: 1025px) {
  .notification-wrapper .notification-popup {
    max-width: 420px;
  }

  .notification-wrapper .notification-header h3 {
    font-size: 18px;
  }

  .notification-wrapper .notification-item img {
    width: 80px;
    height: 60px;
  }

  .notification-wrapper .notification-content p {
    font-size: 15px;
  }

  .notification-wrapper .notification-link {
    font-size: 14px;
  }
}

/* Animation */
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/*------------------------- THIs CSS of the search aree ------------------*/





.search-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-meta .tutor {
    color: #333;
    font-weight: 500;
}

.suggestion-meta .meta {
    color: #6c757d;
}

.suggestion-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 6px;
    border-radius: 3px;
    margin-left: 10px;
}

.suggestion-type.playlist {
    background-color: #e6f7ee;
    color: #28a745;
}

.suggestion-type.video {
    background-color: #e7f5ff;
    color: #1c7ed6;
}

@media (max-width: 768px) {
    .search-container {
        width: 100%;
    }
    .search-suggestions {
    position: relative !important;
    }

    .search-suggestions {
        max-height: 250px;
        font-size: 14px;
    }

    .suggestion-item {
        padding: 8px;
    }

    .suggestion-item img {
        width: 50px;
        height: 38px;
        margin-right: 8px;
    }

    .suggestion-title {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .suggestion-meta {
        font-size: 11px;
        gap: 6px;
    }

    .suggestion-type {
        font-size: 10px;
        margin-left: 6px;
        padding: 2px 5px;
    }
   .search-suggestions {
    position: relative;
    }
}












/* --------------------------------------- home section --------------- */
.hero{
  background: url('../image/main_baner_img.jpg') no-repeat center / cover ;
  width: 100%;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 145px;
  /* background-image: url('../image/banner-bg-shape-1.svg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 9;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit ,  minmax(40rem ,1fr));
  justify-content: center;
  align-items: center;
}

.hero img{
width: 100%;
}
.hero .box h1{
  text-transform: capitalize;
  font-size: 3rem;

}

.hero .box p{
color: #666;
line-height: 1.5;
margin: 1rem 0;
margin-bottom: 2rem;
}

.categories {
  padding: 4% 10%;
}

.categories .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit , minmax(17rem , 1fr));
  align-items: center;
  justify-content: center;
}
.categories .box-container  .box{
  padding: 2rem;
  border-radius: .5rem;
  background-color: var(--white);
  margin: 1rem;
  text-align: center;
  cursor: pointer;
  transition: .5s;
  box-shadow: var(--box-shadow);
}

.categories .box-container  .box:hover{
  transform: translateY(-10px);
}

.categories .box-container  .box h3{
text-transform: capitalize;
color: var(--color-voilet);
margin: 1rem 0 ;  
}
.categories .box-container  .box img{
  width: 120px;
}
.categories .box-container  a{
  font-size: 1.3rem;
  text-transform: capitalize;
  color: var(--color-primary);
}

.icon-section{
  position: relative;
  background-image: linear-gradient(270deg, #9e77ff 0% , #4430ff 100% );
  padding: 4% 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit , minmax(17rem, 1fr ));
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
} 
.icon-section .box{
  padding: 2rem;
border-radius: .5rem;
background-color: #ffffff21;
box-shadow: var(--box-shadow);
margin: 1rem;
cursor: pointer;
transition: .5s;
line-height: 1.5;
color: #fff;
}

.icon-section .box:hover{
  background-color: #273041;
  transform: translateY(-10px);
}
.icon-section .box h3{
  text-transform: capitalize;
  font-size: 1.5rem;
}
.icon-section .box img{
  width: 90px;
}
.courses{
  padding: 4rem 10% ;
}
.courses .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,  minmax(35rem , 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
  margin-top: 6rem;
}

.courses .box-container  .box{
  border-radius: .5rem;
  background-color: var(--white);
  padding: 2rem;
position: relative;
box-shadow: var(--box-shadow);
margin-bottom: 6rem;
}

.courses .box-container  .box .tutor{
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: var(--primary-opacity);
  padding: 1rem;
  border-radius: 5px;
  margin-top: -6rem;
}

.courses .box-container  .box img{
  width: 5rem;
  height: 5rem;
border-radius: 50%;
object-fit: .5rem;
margin-bottom: .5rem;
}

.courses .box-container  .box .tutor h3{
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: .2rem;
  text-transform: capitalize;

}
.courses .box-container  .box .tutor span{
  font-size: 1rem;
  color: var(--light-color);
}
.courses .box-container  .box .thumb{
  width: 100%;
  border-radius: .5rem;
  height: 20rem;
  object-fit: cover;
  margin-bottom: .3rem;

}

.courses .box-container  .box .title{
  font-size: 1.5rem;
  color: var(--black);
  margin-top: .5rem;
  padding: .5rem 0 ;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.courses .btn {
  margin: 1rem auto;
}

.more-btn{
  margin-top: 2rem;
   text-align: center;
}

.benifites{
  background-image: linear-gradient(270deg, #9e77ff 0% , #4430ff 100% );
  color: #fff;
  position: relative;
  padding-bottom: 4rem;
}


.benifites .detail{
  width: 100%;
  position: absolute;
  top: 10%;
  text-align: center;
}
.benifites .detail h1{
  font-size: 2.5rem;
}
.benifites .map{
  width: 100%;
}
.benifites .detail p{
  margin: 2.5rem 0;
  font-size: 1rem;
}
.benifites .detail .box-container  {
  display: grid;
  grid-template-columns: repeat(auto-fit , minmax(13rem , 1fr));
  align-items: center;
  justify-content: center;
  padding: 2rem 8%;


}

.benifites .detail .box-container  .box{
  margin: 1rem;
  background-color: #ffffff22;
  padding: 1rem;
  border-radius: 10px;
}
.benifites .detail .box-container  .box p{

  margin: 0;
  line-height: 1.5;
}
.learners {
  padding: 4% 10%;

}
.learners .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit , minmax(17rem, 1fr));
align-items: center;
justify-content: center;
}
.learners .box-container  .box{
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  margin: 1rem;
position: relative;
background-color: #fff;
overflow: hidden;
padding: 2rem;
text-align: center;

}
.learners .box-container  .box .shap{
 position: absolute;
 width: 270px; 
 top: -47%;
 height: 270px;
 left: 0;
 margin: 0 auto;
 background-image: linear-gradient(90deg ,#cfa2e8 ,#637fea);
 opacity: 0.09;
 border-radius: 100%;
 box-sizing: border-box;
}

.learners .box-container  .box .shap::before{
position: absolute;
content: '';
background-color: #fff;
border-radius: 100%;
width: calc(100% - 40px);
height: calc(100% - 40px);
left: 20px;
top: 20px;
}

.learners .box-container  .box .round{
  margin-bottom: 20px;
  position: relative;
  background-color: #fff;
  width: 100%;
margin-right: auto;
margin-left: auto;
height: 100px;
line-height: 100px;
padding: 25px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--box-shadow);
border-radius: 100%;
}
.learners .box-container  .box p{
  font-size: 1.5rem;
}

.learners .box-container  .box .round img{
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.learners .box-container  .box .box-counter{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
}
.learners .box-container  .box .box-counter .counter{
  font-size: 3rem;
}
.about-us{
  background-image: linear-gradient(270deg, #9e77ff 0% , #4430ff 100% );
 padding: 4rem 1rem;

}
.about-us .box-container {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.about-us .box-container  span{
background-color: #ffffff21;
color: #fff;
}

.about-us .box-container  img{
  width: 100%;
  animation: bounce 5s ease-in-out infinite;
}

.about-us .box-container  p{
  font-size: 1.4rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.5;
}
@keyframes bounce{
  0%,
  100%{
    transform:translateY(-50px);
  }
  50%{
    transform:translateY(50px);
  }
}

.teacher-section {
  padding: 2% 6%;
}

.teacher-section .teacher-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.teacher-section .teacher-tabs .tab-item {
  padding: 1rem;
  margin: 1rem;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  outline: 0.1rem solid #ccc;
  transition: 0.5s;
  width: 90%;
}

.teacher-section .teacher-tabs .tab-item.active {
  outline: 0.1rem solid #666;
  outline-offset: -0.1rem;
  opacity: 0.6;
}

.tab-content {
  display: none;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  grid-template-columns: repeat(auto-fit, minmax(73rem, 1fr));
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 20px;
  visibility: hidden;
}

.tab-content.active {
  display: grid;
  visibility: visible;
}

.tab-content img {
  width: 100%;
  border-radius: 10px;
}

.tab-content .detail {
  margin: 0 1rem;
  line-height: 1.5;
}

.tab-content .detail h2 {
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.tab-content .detail span {
  background-color: var(--pink-opacity);
  border-radius: 10px;
  padding: 0.4rem 1.5rem;
  color: var(--color-primary);
  text-transform: capitalize;
}

.tab-content .detail .icons i {
  background-color: var(--primary-opacity);
  color: var(--color-primary);
  border-radius: 50%;
  padding: 1rem;
  font-size: 1rem;
  margin: 0 0.3rem 0.5rem 0.3rem;
  transition: 0.5s;
}

.tab-content .detail .icons i:hover {
  background-color: #b966e7ee;
color: #fff;
}

.tab-content .detail a {
  display: block;
  margin-top: 0.5rem;
}

.tab-content .detail a i {
  margin-right: 0.5rem;
}
/* --------------------about Section---------------------- */
.about {
  padding: 20% 4%;
}

.about .box-container  {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.about .box-container  .box {
  position: relative;
  margin: 1rem;
  flex: 1 1 45%;
}

.about .box-container  .box .img {
  display: none;
}

.about .box-container  .box .thumbnail-1 {
  position: absolute;
  right: -10%;
  top: -45%;
}

.about .box-container  .box .thumbnail-2 {
  position: absolute;
  bottom: 0;
  border-radius: 10px;
  animation: bounce 5s ease-in-out infinite;
}

.about .box-container  .box .thumbnail-3 {
  position: absolute;
  bottom: -50%;
  right: 0;
  border-radius: 10px;
  animation: bounce 5s ease-in-out infinite;
}

.about .box-container  .box img {
  border-radius: 10px;
}

@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1.0);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.about .box-container  .box .title span {
  background-color: var(--pink-opacity);
  color: var(--color-pink);
  border-radius: 10px;
  padding: .3rem;
  text-align: center;
  text-transform: capitalize;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.about .box-container  .box .detail {
  display: flex;
  margin: 1rem 0;
  align-items: center;
}

.about .box-container  .box h1 {
  color: var(--color-primary);
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.about .box-container  .box h3 {
  color: coral;
  text-transform: capitalize;
  margin-top: 0.5rem;
}

.about .box-container  .box .detail i {
  padding: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-pink);
  background-color: var(--pink-opacity);
  text-align: center;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.about .box-container  .box .btn {
  margin-right: 2rem;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: var(--color-pink);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.about .box-container  .box .btn:hover {
  background-color: #e73370;
}
/* -----------------Work Css ------------------------------------------- */

.work {
  min-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.work .heading {
  text-align: left;
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.work .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}

.work img {
  width: 100%;
  border-radius: 10px;
  animation: zoomInOut 8s linear infinite;
}

@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.work .box-container .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 40rem;
}

.work .box-container .content p {
  line-height: 1.5;
  margin: 1rem 0;
  color: #666;
  margin-bottom: 2rem;
}

.testimonial-container {
  padding: 6% 0;
}

.testimonial-container .heading {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-container .container {
  position: relative;
  padding-top: 2rem;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-container .testimonial-item {
  position: absolute;
  width: 100%;
  border-radius: 5px;
  box-shadow: var(--box-shadow);
  color: gray;
  text-align: center;
  padding: 2rem 1rem;
  display: none;
  background: #fff;
  animation: slide 0.5s ease-in-out;
  outline: 0.1rem solid #ccc;
  outline-offset: -0.5rem;
}

.testimonial-container .testimonial-item.active {
  display: block;
}

.testimonial-container .testimonial-item img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-image: var(--gradient2);
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.testimonial-container .testimonial-item h1 {
  color: var(--color-pink);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.testimonial-container .testimonial-item p {
  color: #555;
  line-height: 1.6;
}

.testimonial-container #quote {
  font-size: 3rem;
  color: #d1ebe6;
  position: absolute;
  top: -1.5rem;
  right: 1rem;
}

.testimonial-container .left-arrow,
.testimonial-container .right-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-pink);
  background-color: var(--pink-opacity);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.testimonial-container .left-arrow {
  left: -2rem;
}

.testimonial-container .right-arrow {
  right: -2rem;
}

@keyframes slide {
  from {
    transform: translateX(50%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* -----------------------Form Container---------------------- */
.form-container{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
padding: 4rem 0;  

}

  .form-container form{
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    padding: 2rem;
  }
  .form-container .login{
    width: 50rem;
  
  }
  
  .form-container .register{
    width: 70rem;
  
  }

  .form-container form p {
      padding-top: 1px;
  font-size: 1.5rem;
  color: var(--light-color);
  }
  .form-container form p  span{
        color: var(--red);
  }
  .form-container .link{
    align-items: center;
    padding-bottom: 1rem;
    font-size: 1.5rem;
  }
  .form-container .link a{
    color: var(--main-color);
  }
  .form-container .link a:hover{
    color: var(--black);
    text-decoration: underline;
  } 
  .form-container form .box{
    width: 100%;
    border-radius: .5rem;
    margin: 1rem 0;
    font-size: 1.3rem;
    color: var(--black);
    padding: 1.4rem;
    background-color: #fff;
    box-shadow: var(--box-shadow);
  }
  .form-container .flex{
  display: flex;
  gap: 2rem;
  }
  
  .form-container .flex .col{
    flex: 1 1 25rem;
  
  }
  
  .form-container .btn{
    width: 100%;
    font-size: 1.5rem;
  }
  /* ---------------------------------------------------Playlist Section------------------------------ */
.playlist{
padding: 4%;
}
.playlist .row{
 display: flex;
 align-items: center;
 gap: 2.5rem;
flex-wrap: wrap;  
padding: 2rem;
background-color: #fff;
box-shadow: var(--box-shadow);
}
.playlist .row .col{
  flex: 1 1 40rem;
}
.playlist .row .col .save-list button{
font-size: 1.5rem;
border-radius: .5rem;
background-color: var(--primary-opacity);
padding: 1.2rem 2.5rem;
color: var(--color-primary);
cursor: pointer;
margin-bottom: 2rem;

}
.playlist .row .col .save-list button i{
  color: var(--color-primary);
  margin-right: 1rem;
}
.playlist .row .col .save-list button span {
  color: var(--color-primary);
}
.playlist .row .col .save-list button:hover{
  background-image: var(--gradient2);
color: #fff;
}

.playlist .row .col .save-list button:hover i{
  color: #fff;
}

.playlist .row .col .save-list button:hover span{
  color: var(--white);
}
.playlist .row .col .thumb{
  position: relative;
  height: 30rem;
}

.playlist .row .col .thumb span{
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
  color: var(--white);
background-color: rgba(0, 0, 0, 0.3);
padding: .5rem 1.5rem;
border-radius: 10px;
}
.playlist .row .col .thumb img{
  width: 100%;
  height: 100%;
  border-radius: .5rem;
  object-fit: cover;
}
.playlist .row .col .tutor{
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.playlist .row .col .tutor img{
width: 7rem;
height: 7rem;
border-radius: .5rem;
object-fit: cover;
}

.playlist .row .col .tutor h3{
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: .2rem;
  text-transform: capitalize;
}

.playlist .row .col .tutor span {
  color: var(--color-secondary);
  font-size: 1rem;
}

.playlist .row .col .detail{
  padding-top: 1rem;

}
.playlist .row .col .detail h3{
  font-size: 1.7rem;
color: var(--color-secondary);
text-align: center;
text-transform: capitalize;

}

.playlist .row .col .detail p{
  padding: 1rem 0;
  line-height: 1.5;
  color: var(--light-color);
font-size: 1.2rem;


}

.playlist .row .col .detail .date{
  font-size: 1.7rem;
  padding-top: 0.5rem;
}
.playlist .row .col .detail i{
  color: var(--main-color);
  margin-right: 1rem;
}
.playlist .row .col .detail span{
  color: var(--light-color);
}
/* -----------------------------------------------video-container---------------------------------------------------- */
.video-container {
  padding: 4% 6%;
}

.video-container .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 2rem; /* Optional: adds spacing between grid items */
}

.video-container .box-container .box {
  position: relative;
  border-radius: 0.5rem;
  padding: 2rem;
  background-color: #fff;
  overflow: hidden;
  text-decoration: none;
}

.video-container .box-container .box img {
  height: 20rem;
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}

.video-container .box-container .box i {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 20rem;
  background-color: rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  border-radius: 0.5rem;
  display: none; /* Initial state: hidden */
  display: flex; /* Fix: combine with visibility logic in hover */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container .box-container .box:hover i {
  opacity: 1;
}

.video-container .box-container .box h3 {
  text-transform: capitalize;
  font-size: 2rem;
  color: var(--black);
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.video-container .box-container .box:hover h3 {
  color: var(--color-pink);
}
 /* -------------------------------watch-video----------------------------- */
.watch-video{
  padding: 4%;
}
.watch-video .video-details{
  background-color: #fff;
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
}

.watch-video .video-details video{
width: 100%;
border-radius: .5rem;
background-color:#000;
height: 50rem;
}
.watch-video .video-details .title{
  font-size: 2rem;
  color: var(--black);
  padding: 1.5rem 0;
  text-transform: capitalize;

}

.watch-video .video-details .info{
  display: flex;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom:var(--border) ;

} 

.watch-video .video-details .info p{
  font-size: 1.6rem;

}
.watch-video .video-details  p i{
margin-right: 1rem;
color: var(--main-color);
}
.watch-video .video-details .info p  span{
color: var(--light-color);
}
.watch-video .video-details .tutor{
padding: 2rem 0;
display: flex;
align-items: center;
gap: 2rem;

}

.watch-video .video-details .tutor img{
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
}
.watch-video .video-details .tutor h3{
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.watch-video .video-details .tutor span{
  color: var(--light-color);
  font-size: 1.5rem;
}

.watch-video .video-details  .flex{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.watch-video .video-details  .flex a{
  margin-top: 0;
}
.watch-video .video-details  .flex button {
  border-radius: var(--primary-opacity);
  cursor: pointer;
  padding: 1rem 2.5rem;
  font-size: 2rem;
  border-radius: .5rem;
  color: var(--color-primary);
}
.watch-video .video-details  .flex button i,
.watch-video .video-details  .flex button span {
  color: var(--color-primary);
}

.watch-video .video-details  .flex button:hover{
  background-color: var(--color-primary);
}

.watch-video .video-details  .flex button:hover i,
.watch-video .video-details  .flex button:hover span {
  color: #fff;
}

.watch-video .video-details  .description{
  line-height: 1.5;
  font-size: 1.2rem;
}
/* -------------------comments----------------------------- */
.comments{
max-width: 1200px;
margin: 0 auto;
}
.comments .add-comment{
background-color: #fff;
border-radius: .5rem;
margin-bottom: 3rem;
padding: 2rem;
margin: 5%;
}
.comments .add-comment textarea{
  border-radius: .5rem;
  padding: 1.4rem;
  width: 100%;
  height: 20rem;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  resize: none;
  font-size: 1.5rem;
  color: var(--black);
}

.comments .show-comments{
  background-color: var(--white);
 border-radius: .5rem;
 padding: 2rem;
 display: grid;
 gap: 2.5rem;
 margin: 5%;
 box-shadow: var(--box-shadow);
}

.comments .show-comments .user{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.comments .show-comments .user img{
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}

.comments .show-comments .user h3{
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 0.2rem;
  text-transform: capitalize;
}
.comments .show-comments .user span{
  color: var(--light-color);
  font-size: 1.5rem;
}

.comments .show-comments .text{
  border-radius: .5rem;
  background-color: var(--primary-opacity);
  padding: 1rem 1.5rem;
  color: var(--black);
  margin: 0.5rem 0;
  position: relative;
  z-index: 0;
  white-space: pre-line;
  font-size: 1.6rem;
} 

.comments .show-comments .text::before{
  content: '';
  position: relative;
 top: -1rem;
 left: 1.5rem;
 width: 2rem;
 background-color: var(--primary-opacity);
 clip-path: polygon(50% 0 , 0% 100% ,100% 100%);

}

.comments .show-comments .content{
  margin-bottom: 2rem;
}

.comments .show-comments .content p{
  font-size: 2rem;
  color: var(--black);
  padding: 0 1rem;
  display: inline-block;

}

.comments .show-comments .content span{
  color: var(--light-color);
  font-size: 1.7rem;
}

.comments .show-comments .content a{
  color: var(--main-color);
  font-size: 1.8rem;
}
.comments .show-comments .content a:hover{
  color: var(--black);
  text-decoration: underline;
}


/*-------------------------------------------edit_comment-----------------------------------------------------------------  */
.edit_comment {
  max-width: 1200px;
  margin: 0 auto;
}

.edit_comment form {
  max-width: 100%;
  margin: 0 auto;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.edit_comment form .box12 { 
  width: 100%;
  border-radius: .5rem;
  padding: 1.4rem;
  font-size: 1.5rem;
  color: var(--black);
  background-color: var(--primary-opacity);
  resize: none;
  height: 20rem;
}

.edit_comment form .flex {
  width: 50%;
}


/* -------------------------------------------------teachers section-------------------------------------------------- */
.teachers
{
padding: 6%;

}
.teachers .search-tutor {
width: 80%;
margin: 0 auto;
margin-top: 1rem;
margin-bottom: 3rem;
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1rem 2rem;
background-color: var(--primary-opacity);
border-radius: .5rem;
}
.teachers .search-tutor input{
  width: 100%;
  font-size: 1.5rem;
  color: var(--black);
  background: none;
}
.teachers .search-tutor button{
  font-size: 2rem;
  color: var(--black);
  background: none;
  cursor: pointer;
}

.teachers .search-tutor button:hover{
  color: var(--main-color);
}

.teachers .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit , 35rem);
  gap: 1.5rem;
  align-items: center;
 justify-content: center;
}

.teachers .box-container .box{
border-radius: .5rem;
padding: 2rem;
background-color: #fff;
text-transform: capitalize;
box-shadow: var(--box-shadow);
}

.teachers .box-container .box .tutor{
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 1.5rem;

}

.teachers .box-container .box .tutor img{
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 50%; 
}

.teachers .box-container .box .tutor h3{
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: .2rem;
}


.teachers .box-container .box .tutor span{
  color: var(--main-color);
  font-size: 1rem;
}

.teachers .box-container .box p{
  padding-top: 1rem;
  font-size: 1.2rem;
  color: var(--light-color);
}

.teachers .box-container .box  p span{
 color: var(--main-color);

}

.teachers .box-container .box .offer{
  text-align: center;
}
.teachers .box-container .box .offer h3 {
font-size: 2rem  ;
color: var(--black);
}
.teachers .box-container .box .offer p{
line-height: 2;
padding-bottom: .5rem;
}

/* -----------------tutor-profile---------------------------- */
.tutor-profile {
  padding: 6%;
  text-transform: capitalize;
}

.tutor-profile .details {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.tutor-profile .details .tutor {
  margin-top: 2rem;
}

.tutor-profile .details .tutor img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  margin-top: 0.5rem;
  padding: 0.6rem;
  background-image: var(--gradient2);
}

.tutor-profile .details .tutor h3 {
  font-size: 2rem;
  margin: 0.5rem 0;
  text-transform: capitalize;
}

.tutor-profile .details .tutor span {
  font-size: 1.5rem;
  color: var(--light-color);
}

.tutor-profile .details .flex {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.tutor-profile .details .flex p {
  flex: 1 1 25rem; /* ✅ Corrected from 'float: 1 1 25rem;' */
  border-radius: .5rem;
  background-color: var(--primary-opacity);
  padding: 1rem 3rem;
  font-size: 1.5rem;
  color: var(--color-primary);
}
/* --------------------------------------------------contact section------------------------ */
.contact {
  padding: 4%;
}

.contact .address-detail {
  margin-top: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact .address-detail .box {
  flex: 1 1 20rem;
  padding: 2rem; /* Reduced padding for better fitting */
  background-color: var(--white);
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
}

.contact .address-detail i {
  font-size: 2rem;
  color: var(--white);
  background-image: var(--gradient2);
  padding: 1rem;
  border-radius: 50%;
}

.contact .address-detail .box h3 {
  margin: 1rem 0;
  font-size: 1.6rem;
  color: var(--black);
  text-transform: capitalize;
}

.contact .address-detail .box a {
  display: block;
  font-size: 1.3rem;
  color: var(--light-color);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.contact .address-detail .box a:hover {
  text-decoration: underline;
  color: var(--main-color);
}

/* Box container grid layout */
.contact .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr)); /* 2+ columns as per space */
  justify-items: center;
  align-items: center;
}

.contact .box-container .box {
  margin: 0; /* Removed margin for grid layout */
}


.contact h1 {
  font-size: 2rem;
}

.contact .box-container .box img {
  width: 100%;
}

.contact .box-container form {
  padding: 2rem;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.contact .box-container form p {
  text-transform: capitalize;
  padding-top: .5rem;
  font-size: 1.5rem;
  color: var(--light-color);
}

.contact .box-container form p span {
  color: var(--red);
}
.contact .box-container form .box{
   width: 100%;
   border-radius: .5rem;
   margin: 1rem 0;
   font-size:  1.3rem; 
   color: var(--black);
   padding: .5rem 0 1.4rem;
   background-color: #fff;
   box-shadow: var(--box-shadow);

}
.contact .box-container form .btn{
  width: 100%;
}

/* --------------------------------------------------profile section-------------------------------- */
.profile{
 padding: 5% 8%; 
}
.profile .details {
  background-color: #fff;
  border-radius: .5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-transform: capitalize;
}
.profile .details .user{
  text-align: center;
margin-bottom: 2rem;
}
.profile .details .user img{
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  background-image: var(--gradient);
}
.profile .details .user h3{
  font-size: 2rem;
  margin: 0.5rem 0;

}

.profile .details .user p{
  font-size: 1.7rem;
  color: var(--light-color);
  margin-bottom: 2rem;
}

.profile .details .box-container{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
}
.profile .details .box-container .box{
 background-color: var(--primary-opacity);
border-radius: .5rem;
padding: 1.5rem 2rem;
flex: 1 1 30rem;

  
}

.profile .details .box-container .box .flex{
  display: flex;
  align-items: center;
gap: 1.7rem;
margin-bottom: 1rem;
}
.profile .details .box-container .box .flex i{
  height: 3rem;
width: 3rem;
border-radius: .5rem;
background-image: var(--gradient2);
line-height: 3.4rem;
font-size: 1.3rem;
color: var(--white);
text-align: center;
}

.profile .details .box-container .box .flex  h3{
  font-size: 1.5rem;
  color: var(--main-color);
  margin-bottom: 0.2rem;
}
.profile .details .box-container .box .flex span{
font-size: 1.5rem;
color: var(--light-color);

}

/* ------------------------------------LIKED USER CSS PAGE_-------------------------------------------- */
.liked-video{
padding: 6%;
}
.liked-video .box-container{
  display: grid;
  grid-template-columns: repeat( auto-fit , 35rem);
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  text-overflow: hidden;

}
.liked-video .box-container .box{
  background-color: #fff;
  border-radius: .5rem;
  padding: 2rem;
  overflow-x: hidden;
}
.liked-video .box-container .box .tutor{
margin-bottom: 2rem;
display: flex;
align-items: center;
gap: 1.5rem;
}
.liked-video .box-container .box .tutor img{
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}
.liked-video .box-container .box .tutor h3{
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: .2rem;
}
.liked-video .box-container .box .tutor span{
font-size: 1.5rem;
color: var(--light-color);
}
.liked-video .box-container .box .thumb{
width: 100%;
height: 20rem;
object-fit: cover;
border-radius: .5rem;
margin-top: 1rem;
}

.liked-video .box-container .box .title{
  font-size: 2rem;
  padding: 0.5rem 0;
  text-overflow: ellipsis;
  overflow-x: hidden;
}
































  
/* ---------------------------------------------------Footer------------------------------ */











    /* Footer Styles */
    .footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 40px 0 0;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-logo {
        text-align: center;
    }

    .logo-img {
        max-width: 150px;
        height: auto;
        margin-bottom: 15px;
    }

    .logo-text {
        color: #bdc3c7;
        font-size: 14px;
        line-height: 1.5;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    .footer-section {
        flex: 1;
        min-width: 200px;
        margin-bottom: 20px;
    }

    .footer-heading {
        color: #fff;
        font-size: 18px;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 2px;
        background-color: #3498db;
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #bdc3c7;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-links a:hover {
        color: #3498db;
    }

    .footer-contact {
        list-style: none;
        padding: 0;
    }

    .footer-contact li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        color: #bdc3c7;
    }

    .footer-contact i {
        margin-right: 10px;
        color: #3498db;
        margin-top: 3px;
    }

    .map-section {
        min-width: 250px;
    }

    .footer-map {
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        padding: 20px 0;
        text-align: center;
    }

    .copyright {
        color: #bdc3c7;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-social {
        display: flex;
        gap: 15px;
    }

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: #fff;
        transition: all 0.3s;
    }

    .footer-social a:hover {
        background-color: #3498db;
        transform: translateY(-3px);
    }

    /* Responsive Styles */
    @media (min-width: 768px) {
        .footer-top {
            flex-direction: row;
            align-items: flex-start;
        }

        .footer-logo {
            text-align: left;
            flex: 0 0 250px;
        }

        .footer-content {
            flex: 1;
        }

        .footer-bottom {
            flex-direction: row;
            text-align: left;
        }

        .copyright {
            margin-bottom: 0;
        }
    }

    @media (max-width: 767px) {
        .footer-content {
            flex-direction: column;
        }

        .footer-section {
            min-width: 100%;
        }

        .map-section {
            order: 1;
        }
    }

    @media (max-width: 480px) {
        .footer-content {
            flex-direction: row;
            flex-wrap: nowrap;
            /*overflow-x: auto;*/
            padding-bottom: 20px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .footer-content::-webkit-scrollbar {
            display: none;
        }

        .footer-section {
            flex: 0 0 40%;
            min-width: 50%;
            padding-right: 15px;
        }

        /*.map-section {*/
        /*    display: none;*/
        /*}*/
    }

    /* Font Awesome for icons (you can replace with actual icons) */
    .fab, .fas {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
    }















  .icons{
    display: flex;
    margin-top: 1rem;
  
  }
   .icons i {
     font-size: 1.5rem;
      margin: 0 .5rem;
      cursor: pointer;
   }
  .icons i:hover{
    color: var(--color-secondary);
  }
  /*-----------------------------------------footer -------------------------------------------------  */
  @media (max-width:1200px) {
.banner{
  height: auto;
}
.banner img{
  width: 90%;
}
.about{
  padding: 6%;
}
    .about .box{
     padding: 1rem; 
    }
    .about .thumbnail-1{
      display: none;
    }
    .about .thumbnail-2{
      display: none;
    }
    .about .thumbnail-3{
      display: none;
    }
    .about .box-container .box .img{
 display: block;
    }

}
  
  
  @media (max-width: 991px) {
    .icons i {
      font-size: 3rem;
      margin: 0 .5rem;
      cursor: pointer;
  }
  .header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0px 5px 10px 0px #aaa;
}
.header .flex {
  padding: 1.5rem 2rem;
  /*position: revert;*/
  display: flex
;
  align-items: center;
  justify-content: space-between;
}

.header .flex img{
  width: 150px;
}
  .header .flex .icons .main_btn_icon{
    font-size: 2.5rem;
    color: var(--white);
    border-radius: .5rem;
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.4rem;
    cursor: pointer;
    background-image: var(--gradient2);
    text-align: center;
    margin-left: .5rem;
}



    #search-btn,
    #menu-btn {
      display: inline-block;
    }
  
    .header .flex .search-form {
      position: absolute;
      top: 99%;
      width: 100%;
      border-top: var(--border);
      border-bottom: var(--border);
      background-color: #fff;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
      transition: .3s linear;
      z-index: 1000;
      height: 55%;
      
    }
  
    .header .flex .search-form.active {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
  
    .header .navbar {
      display: block;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: #fff;
      border-bottom: var(--border);
      padding: 1rem 2rem;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* hidden by default */
      transition: .3s linear;
      z-index: 999;
    }
  
    .header .navbar.active {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
  
    .header .navbar a {
      display: block;
      margin: 1.5rem 0;
      padding: 1rem;
      background-image: var(--gradient);
      text-align: center;
      border-radius: .5rem;
      color: #fff;
    }
  
    .header .navbar a:hover {
        color: #fff;
      background-image: var(--gradient2);
    }
    .hero::after{
     display: none; 
    }
    .hero .box-container .box:nth-child(2){
padding: 2rem;
    }
    .form-container .flex{
      display: flex;
gap: 0;
flex-flow: column;
    }
    .watch-video .video-details .video{
      height: 30rem;
    }
  }
  
  @media (max-width: 450px) {
    html{
      font-size: 50%;
    }
    .heading{
      font-size: 2rem;
    }
    .flex-btn{
      flex-flow: column;
      gap: 0;
    }
    .playlist .row .col .thumb{
      height: 20rem;
    }
    .courses .box-container{
      grid-template-columns: 1fr;
    }
    .video-container .box-container{
      grid-template-columns: 1fr;
    }
    .teachers .box-container{
      grid-template-columns: 1fr;
    }
    .watch-video .video-details .video{
      height: auto;
    }
  }

  /* User COntent Uploaded CSs */


      .thumbnail-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            overflow: hidden;
        }

        .thumbnail-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            color: white;
            text-shadow: 0 0 10px rgba(0,0,0,0.5);
            opacity: 0.9;
            transition: all 0.3s ease;
        }

        .play-icon:hover {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.1);
        }

        .pending-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(231, 76, 60, 0.9);
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .thumbnail-link {
            display: block;
            text-decoration: none;
        }

        /* Content Upload Styles - Won't affect main CSS */
        .upload-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        .upload-form {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 2rem;
            margin-bottom: 3rem;
        }
        
        .upload-form h2 {
            font-size: 1.8rem;
            color: #2c3e50;
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #34495e;
        }
        
        .form-group input,
        .form-group textarea,
        .form-group .file-input {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }
        
        .file-input {
            padding: 0.5rem;
        }
        
        .file-input-label {
            display: block;
            margin-bottom: 0.5rem;
        }
        
        .file-input-info {
            font-size: 0.8rem;
            color: #7f8c8d;
            margin-top: 0.3rem;
        }
        
        .submit-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: background 0.3s;
            display: block;
            width: 100%;
        }
        
        .submit-btn:hover {
            background: #2980b9;
        }
        
        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .content-card {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .content-card:hover {
            transform: translateY(-5px);
        }
        
        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
        }
        
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .content-info {
            padding: 1.5rem;
        }
        
        .content-info h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }
        
        .content-info p {
            color: #7f8c8d;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .content-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: #7f8c8d;
        }
        
        .content-status {
            display: inline-block;
            padding: 0.3rem 0.6rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .status-deactive {
            background: #ffecec;
            color: #e74c3c;
        }
        
        .content-stats {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            color: #7f8c8d;
        }
        
        .empty-message {
            text-align: center;
            padding: 3rem;
            color: #7f8c8d;
            font-size: 1.1rem;
        }
        
        @media (max-width: 768px) {
            .upload-form {
                padding: 1.5rem;
            }
            
            .content-grid {
                grid-template-columns: 1fr;
            }
        }


        /*  */


        
/* -------------------------------------------------------------Featured Videos Styles -------------------------------------------------





*/
.featured-videos-section {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #9b59b6);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.featured-videos-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.featured-videos-scroll {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 1rem;
    width: max-content;
    min-width: 100%;
}

.featured-video-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.featured-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.featured-video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.featured-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-video-card:hover .featured-video-thumbnail img {
    transform: scale(1.05);
}

.featured-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.featured-video-card:hover .featured-play-overlay {
    background: rgba(0,0,0,0.4);
}

.featured-play-icon {
    color: white;
    font-size: 3rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.featured-video-card:hover .featured-play-icon {
    opacity: 1;
    transform: scale(1.1);
}

.featured-video-info {
    padding: 1.2rem;
}

.featured-video-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-video-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.position-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* Hide scrollbar but keep functionality */
.featured-videos-container::-webkit-scrollbar {
    height: 8px;
}

.featured-videos-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.featured-videos-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.featured-videos-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-video-card {
        flex: 0 0 260px;
    }
    
    .section-title {
        font-size: 2.7rem;
    }
}

@media (max-width: 480px) {
    .featured-video-card {
        flex: 0 0 220px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}



/* ------------------------------- This is the price CSS ------------------------- */
/* Modern Pricing Section CSS - Won't affect existing styles */
















 /* -----------------------------------------------------------Video Resources Section ---------------------------------------------- */
    .atharva-video-section {
        padding: 80px 0;
        background-color: #f9fafc;
    }
    
    .atharva-video-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .atharva-section-heading {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .atharva-section-heading h2 {
        font-size: 2.5rem;
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 700;
    }
    
    .atharva-section-heading p {
        font-size: 1.1rem;
        color: #7f8c8d;
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.6;
    }
    
    .atharva-video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .atharva-video-item {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .atharva-video-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    .atharva-video-thumb {
        position: relative;
        overflow: hidden;
        height: 200px;
    }
    
    .atharva-video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .atharva-video-item:hover .atharva-video-thumb img {
        transform: scale(1.05);
    }
    
    .atharva-play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #3498db;
        font-size: 20px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .atharva-play-btn:hover {
        background: #fff;
        color: #2980b9;
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .atharva-video-content {
        padding: 25px;
    }
    
    .atharva-video-title {
        font-size: 1.3rem;
        color: #2c3e50;
        margin-bottom: 12px;
        font-weight: 600;
        line-height: 1.4;
    }
    
    .atharva-video-desc {
        color: #7f8c8d;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .atharva-watch-btn {
        display: inline-flex;
        align-items: center;
        padding: 10px 20px;
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .atharva-watch-btn i {
        margin-left: 8px;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .atharva-watch-btn:hover {
        background: linear-gradient(135deg, #2980b9, #3498db);
        box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
    }
    
    .atharva-watch-btn:hover i {
        transform: translateX(3px);
    }
    
    .atharva-view-all {
        text-align: center;
        margin-top: 50px;
    }
    
    .atharva-outline-btn {
        display: inline-block;
        padding: 12px 30px;
        border: 2px solid #3498db;
        color: #3498db;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .atharva-outline-btn:hover {
        background: #3498db;
        color: white;
        box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
    }
    
    /* Responsive Design */
    @media (max-width: 992px) {
        .atharva-video-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }
    }
    
    @media (max-width: 768px) {
        .atharva-section-heading h2 {
            font-size: 2rem;
        }
        
        .atharva-video-content {
            padding: 20px;
        }
    }
    
    @media (max-width: 576px) {
        .atharva-video-section {
            padding: 60px 0;
        }
        
        .atharva-video-grid {
            grid-template-columns: 1fr;
        }
        
        .atharva-section-heading {
            margin-bottom: 40px;
        }
        
        .atharva-section-heading h2 {
            font-size: 1.8rem;
        }
    }


    /* ----------------------SUbject Section ------------------------------ */


    
/* Modern Subjects Section CSS - Won't affect existing styles */
.modern-subjects-section {
    padding: 5rem 0;
    background-color: #ffffff;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.modern-subjects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-subjects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modern-subjects-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.modern-subjects-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.modern-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.modern-subject-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modern-subject-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.math-card .modern-subject-icon {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.science-card .modern-subject-icon {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.english-card .modern-subject-icon {
    background-color: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.hindi-card .modern-subject-icon {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.social-card .modern-subject-icon {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.computer-card .modern-subject-icon {
    background-color: rgba(52, 73, 94, 0.1);
    color: #34495e;
}

.art-card .modern-subject-icon {
    background-color: rgba(233, 30, 99, 0.1);
    color: #e91e63;
}

.pe-card .modern-subject-icon {
    background-color: rgba(26, 188, 156, 0.1);
    color: #1abc9c;
}

.modern-subject-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modern-subject-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.modern-subject-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: transparent;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid;
}

.math-card .modern-subject-btn {
    color: #3498db;
    border-color: #3498db;
}

.math-card .modern-subject-btn:hover {
    background: #3498db;
    color: white;
}

.science-card .modern-subject-btn {
    color: #2ecc71;
    border-color: #2ecc71;
}

.science-card .modern-subject-btn:hover {
    background: #2ecc71;
    color: white;
}

.english-card .modern-subject-btn {
    color: #9b59b6;
    border-color: #9b59b6;
}

.english-card .modern-subject-btn:hover {
    background: #9b59b6;
    color: white;
}

.hindi-card .modern-subject-btn {
    color: #f1c40f;
    border-color: #f1c40f;
}

.hindi-card .modern-subject-btn:hover {
    background: #f1c40f;
    color: white;
}

.social-card .modern-subject-btn {
    color: #e74c3c;
    border-color: #e74c3c;
}

.social-card .modern-subject-btn:hover {
    background: #e74c3c;
    color: white;
}

.computer-card .modern-subject-btn {
    color: #34495e;
    border-color: #34495e;
}

.computer-card .modern-subject-btn:hover {
    background: #34495e;
    color: white;
}

.art-card .modern-subject-btn {
    color: #e91e63;
    border-color: #e91e63;
}

.art-card .modern-subject-btn:hover {
    background: #e91e63;
    color: white;
}

.pe-card .modern-subject-btn {
    color: #1abc9c;
    border-color: #1abc9c;
}

.pe-card .modern-subject-btn:hover {
    background: #1abc9c;
    color: white;
}

@media (max-width: 768px) {
    .modern-subjects-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    .modern-subjects-header h2 {
        font-size: 2rem;
    }
    
    .modern-subjects-grid {
        grid-template-columns: 1fr;
    }
}




/* -----------------------------------Modern Study Materials Section CSS - ------------------------------- */
.modern-materials-section {
    background-color: #f8fafc;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.modern-materials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-materials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modern-materials-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.modern-materials-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.modern-materials-tabs {
    margin-top: 2rem;
}

.modern-tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.modern-tab-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: transparent;
    border: none;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.modern-tab-btn svg {
    width: 20px;
    height: 20px;
}

.modern-tab-btn:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.modern-tab-btn.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.modern-tab-content {
    display: none;
}

.modern-tab-content.active {
    display: block;
}

.modern-materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.modern-material-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.modern-material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modern-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.modern-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modern-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.modern-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-material-card:hover .modern-image-container img {
    transform: scale(1.05);
}

.modern-file-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modern-card-body {
    padding: 1.5rem;
}

.modern-card-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.modern-card-body p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.modern-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.modern-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.math-badge {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.science-badge {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.hindi-badge {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.modern-duration, .modern-pages {
    color: #95a5a6;
    font-size: 0.85rem;
    font-weight: 500;
}

.modern-download-btn, .modern-details-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-download-btn {
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.modern-download-btn:hover {
    background: #3498db;
    color: white;
}

.modern-details-btn {
    background: transparent;
    color: #7f8c8d;
    border: 1px solid #bdc3c7;
}

.modern-details-btn:hover {
    background: #ecf0f1;
    border-color: #95a5a6;
}

.modern-view-all {
    text-align: center;
    margin-top: 3rem;
}

.modern-view-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: #3498db;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.modern-view-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

@media (max-width: 768px) {
    .modern-materials-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modern-tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-materials-header h2 {
        font-size: 2rem;
    }
    
    .modern-card-body {
        padding: 1.25rem;
    }
}


/*-------------------------------------------------- Courses Playlist Section - -------------------------------- */
.ath-courses-section {
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ath-courses-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ath-courses-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    color: #0096a5;;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.ath-courses-subtitle:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #06eaff;;
}

.ath-courses-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0.5rem 0 1rem;
    font-weight: 700;
}

.ath-courses-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4e73e0, #8e44ad);
    margin: 0 auto;
    border-radius: 2px;
}

/* HORIZONTAL SCROLL STYLE */
.ath-courses-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.ath-courses-grid::-webkit-scrollbar {
    height: 8px;
}

.ath-courses-grid::-webkit-scrollbar-track {
    background: transparent;
}

.ath-courses-grid::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.ath-course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 0 0 auto;
    width: 320px;
}

.ath-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.ath-course-thumb-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ath-course-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ath-course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: white;
    opacity: 1;
}

.ath-course-lessons {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.ath-course-lessons i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.ath-course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ath-course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.ath-course-category {
    background: #e8f0fe;
    color: #4e73e0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.ath-course-date {
    color: #7f8c8d;
    display: flex;
    align-items: center;
}

.ath-course-date i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.ath-course-name {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin: 0 0 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    flex: 1;
}

.ath-course-desc {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.ath-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.ath-course-tutor {
    display: flex;
    align-items: center;
}

.ath-tutor-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.8rem;
    border: 2px solid #e6e9f0;
}

.ath-tutor-name {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
}

.ath-course-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #4e73e0;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(78, 115, 224, 0.3);
}

.ath-course-btn:hover {
    background: #3a5bc7;
    transform: translateX(3px);
}

.ath-courses-empty {
    text-align: center;
    color: #7f8c8d;
    padding: 3rem;
    font-size: 1.1rem;
}

.ath-courses-more {
    text-align: center;
    margin-top: 2rem;
}

.ath-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(to right, #4e73e0, #8e44ad);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(78, 115, 224, 0.3);
}

.ath-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.ath-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 115, 224, 0.4);
}

.ath-more-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ath-courses-section {
        padding: 5rem 2rem;
    }

    .ath-courses-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .ath-courses-section {
        padding: 4rem 1.5rem;
    }

    .ath-courses-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .ath-courses-section {
        padding: 3rem 1rem;
    }

    .ath-courses-title {
        font-size: 1.8rem;
    }

    .ath-course-thumb-container {
        height: 180px;
    }
}



/*--------------------------------------- this is slider CSs -------------------------------------------------- */


/* Self-contained CSS with edu- prefix to avoid conflicts */
.edu-hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  max-height: 800px;
  overflow: hidden;
}

.edu-hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.edu-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
  transform: scale(1.02);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.edu-active-slide {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.edu-hero-content {
  max-width: 800px;
  color: white;
  padding: 0 20px;
  transform: translateY(20px);
  transition: transform 0.8s ease;
}

.edu-active-slide .edu-hero-content {
  transform: translateY(0);
}

.edu-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.edu-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.edu-cta-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #4a6bff;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(74, 107, 255, 0.4);
}

.edu-cta-btn:hover {
  background: #3a5bef;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 107, 255, 0.6);
}

.edu-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.edu-slider-nav:hover {
  background: rgba(255,255,255,0.3);
}

.edu-prev-slide {
  left: 30px;
}

.edu-next-slide {
  right: 30px;
}

.edu-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.edu-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.edu-active-dot {
  background: white;
  transform: scale(1.2);
}

/* Animations */
.animate-fadeInUp {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .edu-title {
    font-size: 2.5rem;
  }
  
  .edu-subtitle {
    font-size: 1.2rem;
  }
  
  .edu-slider-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .edu-prev-slide {
    left: 15px;
  }
  
  .edu-next-slide {
    right: 15px;
  }
}




.detail {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
  max-width: 500px;
  margin: auto;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.detail h2 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.detail span {
  display: inline-block;
  background: #eaf5ff;
  color: #007bff;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.detail p {
  color: #555;
  font-size: 15px;
  margin: 6px 0;
  line-height: 1.6;
}

.detail .icons {
  margin: 15px 0;
}

.detail .icons i {
  font-size: 20px;
  color: #007bff;
  margin: 0 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.detail .icons i:hover {
  color: #0056b3;
}

.detail a {
  display: inline-block;
  margin: 8px 6px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: color 0.3s ease;
}

.detail a i {
  color: #007bff;
  margin-right: 5px;
}

.detail a:hover {
  color: #007bff;
}
@media (max-width: 768px) {
.detail {
    width: 90%;
    padding: 8px;
    font-size: 14px;
  }

  .detail h2 {
    font-size: 20px;
  }

  .detail span {
    font-size: 13px;
  }

  .detail p {
    font-size: 14px;
  }

  .detail a {
    font-size: 14px;
  }

  .detail .icons i {
    font-size: 18px;
    margin: 0 5px;
  }
}




/* --------------- this is COurese CSS ----------------------------------------------------- */

  /* Courses Section Styles */
  .courses {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    font-weight: 600;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  }
  
  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
  }
  
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .card:hover img {
    transform: scale(1.05);
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0000;
    font-weight: 800;
  }
  
  .card-content h4 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .card-content p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  /* Animation for card entrance */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
  }
  
  .card:nth-child(1) { animation-delay: 0.1s; }
  .card:nth-child(2) { animation-delay: 0.2s; }
  .card:nth-child(3) { animation-delay: 0.3s; }
  .card:nth-child(4) { animation-delay: 0.4s; }


  /* ------------------------this is Hero section CSS-------------------------------------- */

   
/* Hero */
.hero {
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  background: linear-gradient(135deg , #8132ffff , #9cabffff, #b2ebf2);
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
}

.hero h1 {
  font-size: 40px;
  color: #ffffffff;
  margin-bottom: 15px;
}

.hero p {
    color: white;
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}


/* Responsive Hero Section for Small Screens */
@media only screen and (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 60vh;
    padding: 40px 20px;
    align-items: flex-start;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    border-radius: 8px;
    background:none;
    box-sizing: border-box;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
  }
}

/* For very small screens (e.g., phones in portrait) */
@media only screen and (max-width: 480px) {
  .hero {
    min-height: 50vh;
    padding: 30px 15px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }
}


/* ----------------this is Pricing CSS ------------------------------------ */

.pricing-section {
  padding: 2rem 0;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.pricing-container {
  width: 95%;
  max-width: 1100px;
  margin: auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.heading_pric {
  width: 100%;
  border-radius: 20px;
  padding: 9px;
  background: #72bbff;
}

.pricing-header h2 {
  font-size: 1.8rem;
  color: #0096a5;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pricing-header p {
  font-size: 0.95rem;
  color: #7f8c8d;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pricing-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-3px);
}

.pricing-card.popular {
  border: 2px solid #3498db;
}

.popular-badge {
  position: absolute;
  top: 10px;
  right: -25px;
  background: #3498db;
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 1rem;
  transform: rotate(45deg);
  width: 100px;
  text-align: center;
}

.card-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content h3 {
  font-size: 1.9rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}

.card-content h2 {
  font-size: 1rem;
  text-align: center;
  margin: 0.5rem 0;
  color: #2c3e50;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3498db;
  margin: 0.5rem 0;
  text-align: center;
}

.price span {
  font-size: 0.85rem;
  color: #7f8c8d;
}

.features-list {
  margin: 1rem 0;
  flex-grow: 1;
  font-size: 0.9rem;
  padding-left: 1rem;
}

.features-list li {
  padding: 0.35rem 0;
  display: flex;
  align-items: start;
  color: #555;
  word-break: break-word;
}

.features-list i {
  color: #2ecc71;
  margin-right: 0.6rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.enroll-btn {
  display: block;
  padding: 0.5rem;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.75rem;
  transition: 0.3s ease;
}

.enroll-btn.primary {
  background: #51b9ff;
  color: white;
  border: 2px solid #3498db;
}

.enroll-btn.primary:hover {
  background: #115685;
  border-color: #2980b9;
}

.enroll-btn.outline {
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}

.enroll-btn.outline:hover {
  background: #3498db;
  color: white;
}

.pricing-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.pricing-footer p {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.download-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: var(--primary-300);
  color: white;
  border: 2px solid #bdc3c7;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #25adff;
  border-color: #95a5a6;
}

/* Responsive Design */
@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-card.popular {
    transform: scale(1.02);
  }

  .pricing-card.popular:hover {
    transform: scale(1.02) translateY(-3px);
  }
}

@media (max-width: 767px) {
  .pricing-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    margin: 0 -1rem;
    padding: 0 1rem 1rem;
    margin-left: 10px;
  }
.ath-card-title a {
    
 font-size: 1.9rem;   
}


.ath-badge  {
font-size: 1.5rem;    
    
}

  .pricing-card {
    max-width: 85%;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  
  .card-content {
    padding: 1.9rem;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  .features-list {
    font-size: 1.85rem;
  }
  
  .enroll-btn {
    font-size: 1.5rem;
  }
  
  .pricing-header h1 {
    font-size: 1.9rem;
  }
  
  .features-list li {
    padding: 0.5rem 0;
  }
  
  .card-content b p {
    font-size: 1.4rem;
    margin: 0.25rem 0;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    min-width: 70%;
  }
  .heading_pric h3{
      font-size:1.5rem;
  }
  .features-list {
    padding-left: 0.5rem;
  }
  
  .card-content h3 {
    font-size: 1.1rem;
  }
  
  .card-content h2 {
    font-size: 1.5rem;
  }
}

/* -------------------------WhatsApp  CSS ------------------------*/




 .whatsapp-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: transparent;
      color: white;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 30px;
      z-index: 999;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .whatsapp-btn:hover {
      transform: scale(1.1);
      /*box-shadow: 0 6px 16px rgba(0,0,0,0.3);*/
    }

    .whatsapp-chat {
      position: fixed;
      bottom: 100px;
      right: 30px;
      width: 300px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      z-index: 999;
      display: none;
      overflow: hidden;
    }

    .chat-header {
      background: #25D366;
      color: white;
      padding: 10px 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .chat-header h3 {
      margin: 0;
      font-size: 16px;
    }

    .close-chat {
      cursor: pointer;
      font-size: 18px;
    }

    .chat-body {
      padding: 15px;
      height: 300px;
      overflow-y: auto;
    }

    .whatsappmessage {
      margin-bottom: 15px;
      padding: 8px 12px;
      border-radius: 8px;
      max-width: 80%;
      word-wrap: break-word;
    }

    .received {
      background: #f1f1f1;
      margin-right: auto;
    }

    .sent {
      background: #DCF8C6;
      margin-left: auto;
    }

    .chat-footer {
      padding: 10px;
      border-top: 1px solid #eee;
      display: flex;
    }

    .chat-footer input {
      flex: 1;
      padding: 8px;
      border: 1px solid #ddd;
      border-radius: 20px;
      outline: none;
    }

    .chat-footer button {
      background: #25D366;
      color: white;
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      margin-left: 10px;
      cursor: pointer;
    }
/*-------------------------- login From -----------------------*/

/* Base Styles */
.auth-card {
    max-width: 450px;
    margin: 2rem auto;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    background: var(--white);
    border: var(--border);
}

.auth-header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-title {
    font-size: 1.8rem;
    color: var(--primary-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.form-title {
    font-size: 1.3rem;
    color: var(--primary-600);
    text-align: center;
    margin-bottom: 1.8rem;
    font-weight: 500;
}

/* Form Elements */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-label {
    font-size: 0.95rem;
    color: var(--primary-700);
    font-weight: 500;
}

.required {
    color: var(--red);
}

.form-input {
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--primary-100);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--light-bg);
    color: var(--black);
}

.form-input::placeholder {
    color: var(--primary-300);
    opacity: 0.8;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-300);
    box-shadow: 0 0 0 3px var(--primary-opacity-20);
    background-color: var(--white);
}

/* Button Styles */
.primary-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

.primary-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-opacity-30);
}

/* Footer Links */
.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--primary-600);
    margin-top: 1.5rem;
}

.auth-link {
    color: var(--primary-500);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-card {
        margin: 1rem;
        padding: 1.8rem;
        border: none;
        box-shadow: 0 2px 8px var(--primary-opacity-10);
    }
    
    .auth-title {
        font-size: 2.6rem;
    }
    
    .form-input {
        font-size: 1.4rem;
        padding: 0.8rem 1rem;
    }
    
    .primary-btn {
        padding: 0.9rem;
    }
}

/*-----------------------------------THis is Registration from CSS --------------------------------*/


    /* Registration Form - Isolated Styles */
.reg-auth-card {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    background: var(--white);
    border: var(--border);
}

.reg-auth-header {
    margin-bottom: 1.8rem;
    text-align: center;
}

.reg-auth-title {
    font-size: 1.8rem;
    color: var(--primary-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reg-form-title {
    font-size: 1.3rem;
    color: var(--primary-600);
    text-align: center;
    margin-bottom: 1.8rem;
    font-weight: 500;
}

.reg-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.reg-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reg-input-label {
    font-size: 0.9rem;
    color: var(--primary-700);
    font-weight: 500;
}

.reg-required {
    color: var(--red);
}

.reg-form-input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--primary-100);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: var(--light-bg);
    width: 100%;
}

.reg-form-input:focus {
    outline: none;
    border-color: var(--primary-300);
    box-shadow: 0 0 0 3px var(--primary-opacity-20);
    background-color: var(--white);
}

.reg-file-upload {
    position: relative;
}

.reg-file-upload .reg-form-input {
    padding: 0.7rem 1rem;
    cursor: pointer;
}

.reg-file-upload::before {
       /*content: 'Choose file';*/
    position: absolute;
    left: 1.0rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-100);
    color: var(--primary-700);
    padding: .3rem 1.3rem;
    border-radius: 4px;
    font-size: 0.85rem;
    pointer-events: none;
}

.reg-file-upload:hover::before {
    background: var(--primary-200);
}

.reg-primary-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.reg-primary-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-opacity-30);
}

.reg-auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--primary-600);
    margin-top: 1rem;
}

.reg-auth-link {
    color: var(--primary-500);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.reg-auth-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .reg-auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .reg-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .reg-auth-title {
        font-size: 2.6rem;
    }
    
    .reg-form-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .reg-form-input {
        font-size: 1.9rem;
        padding: 0.7rem 0.9rem;
    }
    
    .reg-primary-btn {
        padding: 0.9rem;
    }
    
    .reg-file-upload::before {
        font-size: 0.8rem;
        padding: 1.2rem 4.19rem;
    }
}
    
    @media screen and (max-width: 767px) {
.form-titl{
    font-size: 2.3rem;
}
        .input-label ,.auth-footer ,.primary-btn, .reg-input-label {
            font-size: 1.95rem;
        }
        .reg-input-group {
        
            font-size: 1.5rem;
            margin-top: 8px;
        }
        .card-content p {
         font-size: 1.5rem;   
        }
    }
    
    /*----------------------------------COurese CSS --------------------------------------------*/



/* Course Listing Specific Styles - Won't affect your main CSS */

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #e53e3e;
    background-color: #fff5f5;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #fed7d7;
}
.course-listing-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.course-header {
    text-align: center;
    margin-bottom: 3rem;
}

.course-subtitle {
    display: inline-block;
    color: #6c63ff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.course-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2d3748;
    margin: 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.course-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.course-content {
    padding: 1.5rem;
}

.course-instructor {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.instructor-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
}

.instructor-info span {
    font-size: 0.85rem;
    color: #718096;
}

.course-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.view-course-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6c63ff 0%, #4a42e8 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.view-course-btn:hover {
    background: linear-gradient(135deg, #5a52e0 0%, #3a32d8 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.loading-spinner p {
    margin-top: 1rem;
    color: #718096;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(108, 99, 255, 0.2);
    border-radius: 50%;
    border-top-color: #6c63ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #718096;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .course-listing-section {
        padding: 3rem 1.5rem;
    }
    
    .course-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .course-listing-section {
        padding: 2rem 1rem;
    }
    
    .course-title {
        font-size: 1.75rem;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    .about-text {
            flex: none;
        }
}



        /* Modern Coaching Theme Styles */
        .coaching-badge {
            background: var(--accent);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .coaching-highlight {
            position: relative;
            display: inline-block;
            z-index: 1;
        }
        
        .coaching-highlight:after {
            content: '';
            position: absolute;
            width: 110%;
            height: 10px;
            background: rgba(52, 152, 219, 0.3);
            bottom: 5px;
            left: -5%;
            z-index: -1;
            border-radius: 3px;
        }
        
        /* Previous CSS remains the same, adding new styles for teacher modal */
        

        /* Additional CSS for new sections */
        .section {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 36px;
            margin-bottom: 15px;
            color: var(--secondary);
            position: relative;
            display: inline-block;
            font-weight: 700;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background: var(--primary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title p {
            color: #7f8c8d;
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .coaching-details {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
        }
        
        .coaching-card {
            flex: 1 1 300px;
            background: #fff;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border-top: 3px solid var(--primary);
        }
        
        .coaching-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 100%);
            z-index: 0;
        }
        
        .coaching-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
        .coaching-card i {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        
        .coaching-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--secondary);
            position: relative;
            z-index: 1;
        }
        
        .coaching-card p {
            color: #7f8c8d;
            position: relative;
            z-index: 1;
            line-height: 1.6;
        }
        
        .teachers-container {
            /* display: grid;
            grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
            gap: 30px;
            margin:auto; */
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            justify-content: center;
            text-align: center;
            margin: 0 auto; 
            cursor: pointer;
        }
        
        .teacher-card {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .teacher-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .teacher-img {
            height: 250px;
            overflow: hidden;
            position: relative;
        }
        
        .teacher-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .teacher-card:hover .teacher-img img {
            transform: scale(1.1);
        }
        
        .teacher-info {
            padding: 20px;
            text-align: center;
            background: white;
        }
        
        .teacher-info h3 {
            margin-bottom: 5px;
            color: var(--secondary);
            font-size: 20px;
        }
        
        .teacher-info p {
            color: #7f8c8d;
            margin-bottom: 15px;
            font-size: 14px;
        }
        
        .teacher-info p:first-of-type {
            color: var(--primary);
            font-weight: 600;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        
        .social-links a {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: #f1f1f1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-3px);
        }
        
        .inquiry-section {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
            position: relative;
            overflow: hidden;
        }
        
        .inquiry-section:before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 200px;
            height: 200px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 50%;
        }
        
        .inquiry-section:after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: -100px;
            width: 300px;
            height: 300px;
            background: rgba(46, 204, 113, 0.1);
            border-radius: 50%;
        }
        
        .inquiry-form {
            max-width: 800px;
            margin: 0 auto;
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--secondary);
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(52,152,219,0.2);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 12px 30px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .submit-btn:hover {
            /*background: var(--dark);*/
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .submit-btn i {
            transition: transform 0.3s ease;
        }
        
        .submit-btn:hover i {
            transform: translateX(5px);
        }
        
        .map-container {
            height: 400px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            position: relative;
            border: 1px solid #eee;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        /* Lottie Animation Containers */
        .lottie-container {
            width: 100px;
            height: 100px;
            margin: 0 auto 20px;
        }
        
        .coaching-lottie {
            position: absolute;
            width: 150px;
            height: 150px;
            z-index: 0;
            opacity: 0.8;
        }
        
        .lottie-1 {
            top: 10%;
            left: 5%;
            animation: float 6s ease-in-out infinite;
        }
        
        .lottie-2 {
            bottom: 10%;
            right: 5%;
            animation: float 8s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        /* Responsive styles */
        @media (max-width: 768px) {
            .coaching-details {
                flex-direction: column;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .inquiry-form {
                padding: 20px;
            }
            
            .coaching-lottie {
                display: none;
            }
        }
    
        /* Teacher Modal Styles */
        .teacher-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
            box-sizing: border-box;
        }
        
        .modal-content {
            background: #fff;
            max-width: 900px;
            margin: 50px auto;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
            animation: modalFadeIn 0.4s ease;
        }
        
        @keyframes modalFadeIn {
            from { opacity: 0; transform: translateY(-50px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .modal-header {
            padding: 20px;
            background: var(--primary);
            color: #fff;
            position: relative;
        }
        
        .modal-header h2 {
            margin: 0;
            font-size: 28px;
        }
        
        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 24px;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .close-modal:hover {
            transform: rotate(90deg);
        }
        
        .modal-body {
            display: flex;
            flex-wrap: wrap;
            padding: 30px;
        }
        
        .modal-img {
            flex: 0 0 300px;
            max-width: 300px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .modal-img img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .modal-info {
            flex: 1;
            padding-left: 30px;
        }
        
        .teacher-details {
            margin-bottom: 20px;
        }
        
        .teacher-details h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--secondary);
            border-bottom: 2px solid var(--primary);
            padding-bottom: 5px;
            display: inline-block;
        }
        
        .detail-item {
            margin-bottom: 10px;
            display: flex;
        }
        
        .detail-label {
            font-weight: 600;
            color: var(--secondary);
            min-width: 150px;
        }
        
        .detail-value {
            color: #7f8c8d;
        }
        
        .teacher-bio {
            margin-top: 30px;
        }
        
        .teacher-bio p {
            line-height: 1.6;
            color: #555;
        }
        
        .teacher-achievements {
            margin-top: 30px;
        }
        
        .achievement-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .achievement-list li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 8px;
        }
        
        .achievement-list li:before {
            content: "\f00c";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--primary);
        }
        
        @media (max-width: 768px) {
            .modal-body {
                flex-direction: column;
            }
            
            .modal-img {
                flex: 0 0 auto;
                max-width: 100%;
                margin-bottom: 20px;
            }
            
            .modal-info {
                padding-left: 0;
            }
            
            .detail-item {
                flex-direction: column;
            }
            
            .detail-label {
                margin-bottom: 5px;
            }
            
        }

/*--------------------------------------------About PAge CSS ---------------------------------- */
/* Base Styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: -0;
    box-sizing: border-box;
}

/* About Section - Mobile Responsive */
.about-section {
    padding: 40px 15px;
    background: linear-gradient(to right, #f8f9ff, #eef1fc);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.about-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    position: relative;
}

.about-section h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #4a6cf7;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Teachers Section - Mobile Responsive */
.section {
    padding: 40px 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.coaching-badge {
    display: inline-block;
    background: #4a6cf7;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 0.95rem;
    color: #666;
}

.teachers-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.teacher-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.teacher-img img {
    width: 100%;
    height: auto;
    display: block;
}

.teacher-info {
    padding: 15px;
}

.teacher-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.teacher-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    color: #4a6cf7;
    font-size: 0.9rem;
}

/* Inquiry Section - Mobile Responsive */
.inquiry-section {
    background: white;
}

.inquiry-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

textarea.form-control {
    min-height: 100px;
}

.submit-btn {
    background: #4a6cf7;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Teacher Modal - Mobile Responsive */
.teacher-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 20px auto;
    width: 95%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    padding: 15px;
    background: #4a6cf7;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.3rem;
    margin: 0;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 15px;
}

.modal-img {
    text-align: center;
    margin-bottom: 15px;
}

.modal-img img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.teacher-details {
    margin-bottom: 20px;
}

.teacher-details h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #4a6cf7;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.detail-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.detail-label {
    font-weight: bold;
    width: 100px;
    color: #555;
}

.detail-value {
    flex: 1;
}

.teacher-bio h3,
.teacher-achievements h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #4a6cf7;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.teacher-bio p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.achievement-list {
    padding-left: 20px;
}

.achievement-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

@media (max-width: 768px) {
  .tab-content {
        grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));

  }
  .card-content h4 {
      font-size: 2.2rem;
  }
  
  
  
   .primary-text h2{
    font-size: 2.4rem;
}  


.feature-text h3 ,.section-header p , .pricing-footer p {
    font-size: 1.5rem;
}



.feature-text span{
    font-size: 1rem;
}

.section-header h2 {
    font-size: 3rem;
}


  .primary-text p{
      
      font-size: 2rem;
  }
    
}
/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }
    
    .about-section h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: row;
        align-items: center;
    }
    
    .about-text {
        flex: 1;
        font-size: 1rem;
    }
    
    .about-image {
        flex: 1;
    }
    
    .teachers-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .inquiry-form {
        padding: 30px;
    }
}

@media (min-width: 992px) {
    .teachers-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-content {
        width: 80%;
        max-width: 800px;
    }
    
    .modal-body {
        display: flex;
    }
    
    .modal-img {
        flex: 0 0 200px;
        margin-right: 20px;
        margin-bottom: 0;
    }
    
    .modal-info {
        flex: 1;
    }
}

/*----------------------------------------------------------------------STudent CSS---------------------------------------------------------------------------------------------*/

  /* Students Section Styles */
  .students-section {
    padding: 1rem 2rem;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .students-heading {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .students-heading span {
    color: #4a6bff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
  }
  
  .students-heading h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    position: relative;
    display: inline-block;
  }
  
  .students-heading h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4a6bff;
    border-radius: 3px;
  }
  
  .students-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }
  
  .students-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
  }
  
  .students-tab-item {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    filter: grayscale(50%);
  }
  
  .students-tab-item:hover {
    transform: translateY(-5px);
    filter: grayscale(0%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .students-tab-item.active {
    border-color: #4a6bff;
    filter: grayscale(0%);
    transform: scale(1.1);
  }
  
  .students-content {
    display: none;
    animation: fadeIn 0.5s ease;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
  }
  
  .students-content.active {
    display: block;
  }
  
  .students-content-inner {
    display: flex;
    flex-direction: column;
  }
  
  .students-profile-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 3px solid #4a6bff;
  }
  
  .students-detail {
    padding: 2rem;
  }
  
  .students-detail h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
  }
  
  .students-detail span {
    display: inline-block;
    background: #4a6bff;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .students-detail p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .students-detail p i {
    margin-right: 5px;
    color: #4a6bff;
  }
  
  .students-social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
  }
  
  .students-social-icons i {
    font-size: 1.5rem;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .students-social-icons i:hover {
    color: #4a6bff;
    transform: translateY(-3px);
  }
  
  .students-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .students-contact a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .students-contact a:hover {
    color: #4a6bff;
  }
  
  .students-contact a i {
    margin-right: 10px;
    font-size: 1.2rem;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive Design */
  @media (min-width: 768px) {
    .students-content-inner {
      flex-direction: row;
    }
  
    
    .students-profile-img {
      width: 300px;
      height: auto;
      border-bottom: none;
      border-right: 3px solid #4a6bff;
    }
    
    .students-detail {
      width: 60%;
    }
    
    .students-tab-item {
      width: 80px;
      height: 80px;
    }
  }
  
  @media (max-width: 480px) {
    .students-heading h1 {
      font-size: 2rem;
    }
    
    .students-tab-item {
      width: 60px;
      height: 60px;
      margin-left:10px ;
    }
    
    .students-detail h2 {
      font-size: 1.5rem;
    }
      .students-tabs{
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
        flex-wrap: nowrap;
        justify-content: space-between;
        
        
    }
  }
  
  
  @media (max-width: 768px) {
  .students-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
  }

  .students-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .students-profile-img {
    width: 170px;
    height: 190px;
    /*border-radius: 50%;*/
    object-fit: cover;
    border: 3px solid #007bff;
    margin-bottom: 12px;
  }

  .students-detail h2 {
    font-size: 18px;
    margin: 5px 0;
    color: #222;
    font-weight: 600;
  }

  .students-detail span {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    display: block;
  }

  .students-detail p {
    font-size: 13px;
    color: #444;
    margin: 6px 0;
    line-height: 1.4;
  }

  .students-detail i {
    margin-right: 5px;
    color: #007bff;
    vertical-align: middle;
  }
  .students-detail {
      padding: 0px;;
  }
}

  /*----------------------------Message CSS ------------------------------*/
    
        /* Message Styling */
        .message {
            position: fixed;
            top: 122px;
            right: 20px;
            background-color: var(--white);
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: var(--box-shadow);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1000;
            animation: slideIn 0.3s ease-out;
            border-left: 4px solid var(--primary-500);
        }

        @keyframes slideIn {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }

        .message i {
            cursor: pointer;
            color: var(--primary-700);
        }
        
        
        
        
        
        
        /*----------------Coures CSS --------------------------------*/
        
        
        /* Modern Base Styles */
:root {
    --primary-color: #4361ee;
    --primary-light: #e0e7ff;
    --secondary-color: #3f37c9;
    --dark-color: #1e1e24;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Main Section Styles */
.ath-edu-section {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    color: var(--dark-color);
}

/* Header Styles */
.ath-edu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ath-edu-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ath-edu-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.ath-edu-description {
    font-size: 1.125rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Tabs Navigation */
.ath-edu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ath-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background-color: var(--light-color);
    color: var(--gray-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.ath-tab i {
    font-size: 1rem;
}

.ath-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.ath-tab:not(.active):hover {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

/* Content Containers */
.ath-edu-content {
    display: none;
    flex-direction: column;
}

.ath-edu-content.active {
    display: flex;
}

.ath-resources-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Resource Card Styles */
.ath-resource-card {
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: calc(33.333% - 1rem);
    max-width: 360px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.ath-resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ath-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.ath-media-link {
    display: block;
    height: 100%;
    position: relative;
}

.ath-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ath-resource-card:hover .ath-card-image {
    transform: scale(1.05);
}

.ath-media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 0.75rem;
    display: flex;
    justify-content: flex-end;
}

.ath-badge {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ath-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    z-index: 1;
}

.ath-card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ath-card-meta {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ath-meta-item {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ath-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.4;
    color: var(--dark-color);
}

.ath-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ath-card-title a:hover {
    color: var(--primary-color);
}

.ath-card-text {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.ath-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.ath-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ath-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ath-author-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-color);
}

.ath-tag {
    font-size: 0.8rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ath-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.ath-action-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Empty State */
.ath-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-color);
}

.ath-empty-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.ath-empty-state p {
    font-size: 1rem;
    margin: 0;
}

/* View All Button */
.ath-view-all {
    text-align: center;
    margin-top: 1rem;
}

.ath-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.ath-view-all-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .ath-resource-card {
        width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .ath-edu-section {
        padding: 3rem 1rem;
    }
    
    /*.ath-edu-title {*/
    /*    font-size: 1.75rem;*/
    /*}*/
    
    .ath-edu-description {
        font-size: 1.8rem !important;
    }
    
    .ath-edu-tabs {
        justify-content: flex-start;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .ath-edu-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .ath-tab {
        flex: 0 0 auto;
      
    padding: 0.95rem 2.5rem;
    }
    
    .ath-resources-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 0.5rem 1rem 1.5rem;
        margin: 0 -1rem;
        margin-left: 12px;
        scrollbar-width: thin;
    }
    
    .ath-resources-container::-webkit-scrollbar {
        height: 4px;
    }
    
    .ath-resources-container::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
    }
    
    .ath-resources-container::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 4px;
    }
    
    .ath-resource-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        margin-right: 0;
        width: auto;
        min-width: 0;
    }
    
    .ath-card-media {
        height: 160px;
    }
    
    .ath-card-text{
        font-size: 1.5rem;
    }
}


@media (max-width: 767px) {
    .ath-badge {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ath-edu-section {
        padding: 2rem 1rem;
    }
    
    /*.ath-edu-title {*/
    /*    font-size: 1.9rem;*/
    /*}*/
    
    .ath-resource-card {
        flex: 0 0 90%;
    }
    
    .ath-card-body {
        padding: 1rem;
    }
    
    .ath-view-all-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ath-edu-content.active .ath-resource-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.ath-edu-content.active .ath-resource-card:nth-child(1) { animation-delay: 0.1s; }
.ath-edu-content.active .ath-resource-card:nth-child(2) { animation-delay: 0.2s; }
.ath-edu-content.active .ath-resource-card:nth-child(3) { animation-delay: 0.3s; }
.ath-edu-content.active .ath-resource-card:nth-child(4) { animation-delay: 0.4s; }
.ath-edu-content.active .ath-resource-card:nth-child(5) { animation-delay: 0.5s; }
.ath-edu-content.active .ath-resource-card:nth-child(6) { animation-delay: 0.6s; }
