

    /* RESET & BASE STYLES */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
      scroll-behavior: smooth;
    }
    body {
      background-color: #f8f7f2;
      color:#ffffff ;
      overflow-x: hidden;
    }
    /* MAIN RESPONSIVE CONTAINER */
    .container ,.container1{
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
      flex-direction: column;
      box-sizing: border-box;
    }
    /* 3D NAVIGATION BAR WRAPPER position: sticky;*/
    .header-wrapper {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    perspective: 1000px; /* Enable 3D Depth */
    }
    .navbar {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
      display:flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0px;
      background:#ffd84d (3,38,94,0.782);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(154, 214, 225, 0.221);
      border-radius: 20px;
      /* 3D Effects */
      transform-style: preserve-3d;
      transform: rotateX(8deg);
      box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .navbar:hover {
      transform: rotateX(0deg) translateY(-2px);
      box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 8px 25px rgba(101, 142, 245, 0.3);
    }
    /* LOGO */
    .logo {
      font-size: 1.2rem;
      font-weight: bold;
      color: #3d096e ;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo span {
      color: #ffffff;
    }
    /* NAV LINKS (DESKTOP) */
    .nav-links {
      display: flex;
      list-style: none;
      gap: 25px;
      margin: 0;
      padding: 0;
      align-items: center;
    }
    .nav-link {
      display: inline-block;
      padding: 10px 22px;
      color: black;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      border-radius: 12px;
      background: #ffd84d(140, 221, 242, 0.725);
      border: 1px solid rgba(51, 17, 220, 0.745);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 4px 6px rgba(1, 1, 20, 0.838);
    }
    /* 3D NAV LINK HOVER EFFECT */
    .nav-link:hover, .nav-link.active {
      color: #ffffff;
      background: linear-gradient(135deg, #7357d8, #4437f7);
      transform: translateZ(15px) scale(1.05);
      box-shadow: 
        0 10px 20px rgba(59, 130, 246, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.3);
      border-color: rgba(255, 255, 255, 0.2);
      display: flex;
    }
    /* MOBILE HAMBURGER MENU TOGGLE */
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.05);
      padding: 10px;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .menu-toggle span {
      width: 25px;
      height: 3px;
      background-color: #ffffff;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
/* Mobile Responsive Media Query */
  @media screen and (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }
  }
    /* SECTIONS STYLES */
    section {
      padding: 140px 0 80px 0;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .section-box{
      /*background:  #315c4c;*/
     background: linear-gradient(135deg,#0a2150,#4437f7);
     border-color: rgba(255, 255, 255, 0.2);
      border-radius: 20px;
      padding: 40px;
      width: 100%;
      text-align: center;
      backdrop-filter: blur(3px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
      box-sizing: border-box;
      position: relative;
    }
    .section-box1 {
     padding: 16px 8px;
     text-align: center;
     padding: 0 15px;
}
    .section-box2{
      background: #0a2150;
       border-color: rgba(255, 255, 255, 0.2);
      border-radius: 20px;
      padding: 40px;
      width: 100%;
      text-align: center;
      backdrop-filter: blur(3px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
   .section-title  {
      font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
      font-size: 2.0rem;
      margin-top: 15px;
      margin-bottom: 15px; 
      padding: 8px 16px;            
      border-radius: 6px;
    }
    h2{
        font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
     color: #325ae9;
    }
    h3{
     
      margin-top: 15px;
      margin-bottom: 15px;
      color:#D3D3D3 ;
    }
    h4{
      display: inline-block;   
      background-color: #7357D8;  
      color: #ffffff;           
      padding: 8px 16px;      
      border-radius: 6px;   
      font-family: sans-serif;
      margin-top: 15px;
      margin-bottom: 15px;
    }
  .section-title {
    font-size: 1.02 rem !important;
    line-height: 1.04 !important;
  }

  .section-box1 h3 {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }
  .section-box1 h4 {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

     .ba{
      color: #ffffff;
   }
   .section-title2{
     font-size: 2.2rem;
      color: #0a2150;
      font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
      font-size: 2.2rem;
      padding: 8px 16px;            
   }
    .section-desc {
      background-color: #7b7e83;
      color: #0a2150;
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }
    /* GRID FOR COURSES */
    .courses-grid {
      display: grid;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      margin: 30px 0;
      width: 100%;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      
    }
    .course-card {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 25px;
      border-radius: 16px;
      transition: transform 0.3s ease;
      box-sizing: border-box;
      margin-bottom: 30px;
      width: 100%;
    }
    .course-card img{
      max-width: 100%;
     height: auto;
     display: block;
     margin: 0 auto 15px auto;
    }
    .course-card:hover {
      transform: translateY(-8px);
      border-color: #3b82f6;
    }
    /* RESPONSIVE BREAKPOINTS (LAPTOP, TABLET, MOBILE) */
    @media (max-width: 768px) {
      .header-wrapper {
        top: 10px;
      }
      .navbar {
        padding: 12px 20px;
        transform: rotateX(0deg); /* Disable rotate angle for mobile */
      }
      .menu-toggle {
        display: flex;
      }
      /* MOBILE MENU DRAWER */
      .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 20px;
        flex-direction: column;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
      }
      .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }
      .nav-link {
        display: block;
        text-align: center;
      }
    }
/* Logo Alignment */
.logo-container {
  display: inline-block;
  align-items: center;
  max-width: 180px;
  width: 100%;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
/* Logo Image Styling */
.logo-img {
  display:block;
  object-fit: contain;
  border-radius: 50%;
 border: 4px solid #402b89; 
box-shadow: 0 4px 10px #ffffff;
max-width: 100%;
  height: auto;
  width: 180px;
  margin: 0 auto 15px auto;
}
@media(max-width:768px){
  .logo-container{
    max-width: 130px;
  }
}
/* Brand Name Styling */
.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
}
/* Perspective Setup */
.book-container {
  display: flex;
  justify-content: center;
  align-items: center;

  transform: scale(0.7);
  margin: 10px auto;
    perspective: 1200px;
  float: right;
}

/* Book 3D Styling */
.book {
    width: 180px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateBook 6s infinite linear;
}
.book > div {
    position: absolute;
    box-shadow: 0 10px 30px #ffd84d(0, 0, 0, 0.3);
}
/* Front Cover */
.front {
    width: 180px;
    height: 250px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family:  Arial, sans-serif;
    font-weight: bold;
    font-size: 22px;
    border-radius: 0 8px 8px 0;
    transform: translateZ(20px);
    border: 2px solid #ffd700;
}
/* Back Cover */
.back {
    width: 180px;
    height: 250px;
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    border-radius: 8px 0 0 8px;
    transform: rotateY(180deg) translateZ(20px);
}
/* Spine */
.left {
    width: 40px;
    height: 250px;
    background: #0a2150;
    left: -20px;
    transform: rotateY(-90deg);
}
/* Right Pages */
.right {
    width: 40px;
    height: 240px;
    background: #fff8dc;
    right: -20px;
    top: 5px;
    transform: rotateY(90deg);
    border-left: 2px solid #ddd;
}
/* Top Pages */
.top {
    width: 170px;
    height: 40px;
    background: #f4e8c1;
    top: -20px;
    left: 5px;
    transform: rotateX(90deg);
}
/* Bottom Pages */
.bottom {
    width: 170px;
    height: 40px;
    background: #f4e8c1;
    bottom: -20px;
    left: 5px;
    transform: rotateX(-90deg);
}
/* Continuous 3D Rotation Animation */
@keyframes rotateBook {
    0% {
        transform: rotateY(0deg) rotateX(15deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(15deg);
    }
}
 #photo1{
    background-image:  /*linear-gradient(rgba(32, 53, 210, 0.4), rgba(29, 141, 185, 0.8)),*/
                        url('photo/bharathidhasan1.webp');
     /* background-size: cover;*/
      background-position: center;
}
#photoo{
    background-image:  /*linear-gradient(rgba(32, 53, 210, 0.4), rgba(29, 141, 185, 0.8)),*/
                        url('photo/alagappa1.webp');
     /* background-size: cover;*/
      background-position: center;
}
.homephoto{
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
    background-image:  url('photo/home\ page2.webp');
     background-size: cover;
      background-position: center;
}

@media screen and (max-width: 768px) {
  .homephoto {
    padding: 30px 10px;
  }
}
#dipphoto{
    background-image:  
                        url('photo/dipl.webp');
      background-size: cover;
      background-position: center;
}
  .container1 {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
      flex-direction: column;
 
      display: flex;             /* X-Axis-ல் ஒரே வரிசையில் கொண்டு வர */
      flex-direction: row;       /* Horizontal alignment */
      justify-content: center;   /* Center alignment */
      align-items: stretch;      /* Y-Axis equal height இருக்க */
      gap: 20px;                 /* இரண்டு div-களுக்கும் இடையே உள்ள இடைவெளி */
      max-width: 900px;
      width: 100%;
   }
.boxx {
      flex: 1;                   /* இரண்டிற்கும் சம அளவு அகலம் (Equal width) */
      padding: 20px;
      background: linear-gradient(135deg,#0a2150,#4437f7);
      border: 2px solid black;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      /* --- Scroll செய்ய தேவையான மாற்றங்கள் --- */
      max-height: 280px;         /* Box-ன் அதிகபட்ச உயரம் (இதற்கு மேல் போனால் Scroll வரும்) */
      overflow-y: auto;          /* உள்ளடக்கங்கள் அதிகமானால் Vertical Scroll Bar தோன்றும் */
      width: 100%;
      overflow-x: hidden;
    }
    /* Scrollbar Design (Optional - பார்க்க அழகாக இருக்க) */
    .boxx::-webkit-scrollbar {
      width: 6px;
    }
    .boxx::-webkit-scrollbar-thumb {
      background: #CBD5E1;
      border-radius: 10px;
    }
    /* 3. Heading Style */
    .course-header {
      text-align: center;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid #F3F4F6;
    }
    .course-header h2 {
      color: #1F2937;
      font-size: 24px;
      font-weight: 700;
    }
    .course-header p {
      color: #6B7280;
      font-size: 14px;
      margin-top: 4px;
    } 
    /* 4. Scrollable List Area for 15 Courses */
    .course-list {
      list-style: none;
      overflow-y: auto; /* 15 கோர்ஸ்கள் இருப்பதால் உள்ளேயே Scroll ஆகும் */
      padding-right: 5px;
      padding: 0;
     margin: 0;
    text-align: left;
    }
    /* Scrollbar Design */
    .course-list::-webkit-scrollbar {
      width: 2px;
    }
    .course-list::-webkit-scrollbar-thumb {
      background: #CBD5E1;
      border-radius: 2px;
    }
    /* 5. Course Item Default Style */
    .course-item {
      padding: 10px 12px;
      margin-bottom: 10px;
      background-color: #F9FAFB;
      color: #374151;
      font-size: 0.80rem ;
      font-weight: 600;
      border: 2px solid #E5E7EB;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.25s ease-in-out;
      user-select: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #eee;
      word-break: break-word;
    }

    @media screen and (max-width: 768px) {
  #courses {
    padding: 20px 10px;
  }

  .section-title, .section-box2 h1 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

 .section-box2 h2 {
    font-size: 1.1rem !important;
  }

  .course-card, .card {
    padding: 15px !important;
    margin-bottom: 20px !important;
  }

  .course-header h2 {
    font-size: 1.2rem !important;
  }

  .course-header h3 {
    font-size: 1rem !important;
  }

  .course-header p, .course-card p {
    font-size: 0.85rem !important;
  }

  .course-item {
  font-size: 0.85rem !important;
    padding: 8px 5px !important;
  }
}
    /* Mouse Hover Effect */
    .course-item:hover:not(.active) {
      background-color: #FFFDF0;
      border-color: #FFD84D;
      transform: translateX(4px);
    }
    /* 6. Active / Touch Highlight Style (டச் செய்யும்போது மாறும்) */
    .course-item.active {
      background-color:#0a2150;
      color: #FFFFFF;
      border-color:#ffffff;
      box-shadow: 0 4px 14px rgba(115, 87, 216, 0.35);
      transform: scale(1.01);
    }
   .course-item.active .badge {
      background-color: #FFD84D;
      color: #1F2937;
    }
    .contact p {
  font-size: 1rem;
  margin: 10px 0;
word-break: break-word;
}
/* WhatsApp Floating Button Wrapper */
    .whatsapp-widget {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 9999;
    }
    /* Pulse Ripple Effect */
    .whatsapp-btn {
      position: relative;
      width: 60px;
      height: 60px;
      background-color: #25D366;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
      cursor: pointer;
      text-decoration: none;
      animation: bounce 2s infinite;
      transition: transform 0.3s ease;
    }
    .whatsapp-btn:hover {
      transform: scale(1.1);
    }
    /* Outer Ripple Animation */
    .whatsapp-btn::before,
    .whatsapp-btn::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background-color: #25D366;
      opacity: 0.7;
      z-index: -1;
      animation: pulse 2s infinite ease-out;
    }
    .whatsapp-btn::after {
      animation-delay: 1s;
    }
    /* WhatsApp Icon */
    .whatsapp-btn svg {
      width: 35px;
      height: 35px;
      fill: #ffffff;
    }
    /* Notification Badge */
    .badge {
      position: absolute;
      top: -2px;
      right: -2px;
      background-color: #ff3b30;
      color: #ffffff;
      font-size: 11px;
      font-weight: bold;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 2px solid #ffffff;
    }
    /* Tooltip */
    .whatsapp-tooltip {
      position: absolute;
      right: 75px;
      top: 50%;
      transform: translateY(-50%);
      background-color: #1e293b;
      color: #ffffff;
      padding: 8px 14px;
      border-radius: 8px;
      font-size: 13px;
      white-space: nowrap;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .whatsapp-widget:hover .whatsapp-tooltip {
      opacity: 1;
      transform: translateY(-50%) translateX(-5px);
    }
    /* Animations */
    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 0.7;
      }
      100% {
        transform: scale(1.6);
        opacity: 0;
      }
    }
    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
      }
      40% {
        transform: translateY(-8px);
      }
      60% {
        transform: translateY(-4px);
      }
    }
    /*call  Floating Call Widget Wrapper */
    .call-widget {
      position: fixed;
      bottom: 30px;
      left: 30px; /* இடது பக்கத்தில் வைத்திருக்க மாற்றியமைக்கப்பட்டுள்ளது */
      z-index: 9999;
    }
    /* Pulse Ripple Effect */
    .call-btn {
      position: relative;
      width: 60px;
      height: 60px;
      background-color: #10b981; /* Call-க்கான பச்சை நிறம் */
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
      cursor: pointer;
      text-decoration: none;
      animation: phone-shake 1.5s infinite ease-in-out;
      transition: transform 0.3s ease;
    }
    .call-btn:hover {
      transform: scale(1.1);
    }
    /* Outer Ripple Animation */
    .call-btn::before,
    .call-btn::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background-color: #10b981;
      opacity: 0.7;
      z-index: -1;
      animation: pulse 2s infinite ease-out;
    }
    .call-btn::after {
      animation-delay: 1s;
    }
    /* Phone Icon */
    .call-btn svg {
      width: 28px;
      height: 28px;
      fill: #ffffff;
    }
    /* Tooltip */
    .call-tooltip {
      position: absolute;
      left: 75px;
      top: 50%;
      transform: translateY(-50%);
      background-color: #1e293b;
      color: #ffffff;
      padding: 8px 14px;
      border-radius: 8px;
      font-size: 13px;
      white-space: nowrap;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .call-widget:hover .call-tooltip {
      opacity: 1;
      transform: translateY(-50%) translateX(5px);
    }
    /* Animations */
    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 0.7;
      }
      100% {
        transform: scale(1.6);
        opacity: 0;
      }
    }
    /* Call Ringing Vibration Animation */
    @keyframes phone-shake {
      0% { transform: rotate(0deg) scale(1); }
      10% { transform: rotate(-15deg) scale(1.05); }
      20% { transform: rotate(15deg) scale(1.05); }
      30% { transform: rotate(-15deg) scale(1.05); }
      40% { transform: rotate(15deg) scale(1.05); }
      50% { transform: rotate(0deg) scale(1); }
      100% { transform: rotate(0deg) scale(1); }
    }
@media screen and (max-width: 768px) {
  .contact {
  padding: 30px 10px;
  }

  .section-box {
    padding: 20px 15px !important;
    width: 100% !important;
  }

  .section-title {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }

  .contact p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .call-btn, .whatsapp-btn {
    width: 45px !important;
    height: 45px !important;
  }

  .call-btn svg, .whatsapp-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  .call-widget {
    left: 15px;
    bottom: 15px;
  }

  .whatsapp-widget {
    right: 15px;
    bottom: 15px;
  }
}

    /* Card Box */
    .card {
  margin-top:20px ;
  border-radius: 16px;
   border: 1px solid rgba(255, 255, 255, 0.08)f;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 25px;
  margin-bottom: 30px;
   width:100%;
  box-sizing: border-box;
 background: #ffffff;
   transition: transform 0.3s ease
    }
    /* Hover Animation (Mela thookki shadow varum) */
    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
      border-color: #3b82f6;
    }
    /* Icon Styling */
    .card-icon {
      width: 50px;
      height: 50px;
      background-color: #eff6ff;
      color: #3b82f6;
      border-radius: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 22px;
      margin-bottom: 16px;
      transition: all 0.3s ease;
    }
    /* Hover panna Icon color maarum */
    .card:hover .card-icon {
      background-color: #3b82f6;
      color: #ffffff;
      transform: scale(1.05);
    }
    /* Text Styling */
    .compose{
    width: 100%;
    padding: 50px 0;
   box-sizing: border-box;
    }
.compose .container > div:first-child {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 20px;
}

    .card-title1 {
      font-size: 1.75rem;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 15px;
    }
    .card-title {
      font-size: 1.50rem;
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 15px;
    }
   .card-text1 {
      font-size: 1.05rem;
      color: #6353c3;
      line-height: 1.5;
      margin-bottom: 20px;
    }
    .card-text {
      font-size: 0.9rem;
      color: #aaafe5;
      line-height: 1.5;
      margin-bottom: 20px;
    }
@media screen and (max-width: 768px) {
  .compose {
    padding: 30px 10px;
  }

  .compose .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 10px;
  }
  .card-title1 {
    font-size: 1.5rem !important;
  }
  .card-text1 {
    font-size: 0.9rem !important;
  }

  .card1 {
    padding: 18px !important;
    margin: 0 !important;
    width: 100% !important;
  }
.card-title {
    font-size: 1.1rem !important;
  }

  .card-text {
    font-size: 0.85rem !important;
  }
}

    /*road map */
    .roadmap-section {
      width: 100%;
      max-width: 1000px;
      text-align: center;
    }
.section-title2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 5px;
}
    .section-subtitle {
      text-align: center;
      color: #94a3b8;
      font-size: 1rem;
      margin-bottom: 50px;
    }
    /* Roadmap Container */
    .roadmap-container {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
    }
    /* Connecting Road Line in Background */
    .roadmap-container::before {
      content: '';
      position: absolute;
      top: 40px;
      left: 10%;
      width: 80%;
      height: 4px;
      background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981);
      z-index: 1;
      border-radius: 2px;
    }
    /* Individual Roadmap Step Item */
    .roadmap-step {
      position: relative;
      z-index: 2;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
   box-sizing: border-box;
   width: 100%;
   margin-bottom: 25px;
    }
    /* Animated Step Circle Node */
    .step-node {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: #1e293b;
      border: 4px solid #3b82f6;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 28px;
      color: #3b82f6;
      box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
      transition: all 0.4s ease;
      position: relative;
      background-clip: padding-box;
      box-sizing: border-box;
    }
    /* Step Number Badge */
    .step-number {
      position: absolute;
      top: -6px;
      right: -6px;
      width: 26px;
      height: 26px;
      background: #3b82f6;
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: bold;
      font-size: 1.1rem;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
    /* Different Colors for Each Step */
    .roadmap-step:nth-child(1) .step-node {
      border-color: #3b82f6;
      color: #3b82f6;
    }
    .roadmap-step:nth-child(1) .step-number { 
      background: #3b82f6; }
    .roadmap-step:nth-child(2) .step-node {
      border-color: #8b5cf6;
      color: #8b5cf6;
    }
    .roadmap-step:nth-child(2) .step-number{
      background: #8b5cf6; }
    .roadmap-step:nth-child(3) .step-node {
      border-color: #10b981;
      color: #10b981;
    }
    .roadmap-step:nth-child(3) .step-number { background: #10b981; }
    /* Content Card */
    .step-card {
      margin-top: 24px;
      background: rgba(30, 41, 59, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 20px;
      color: #ffffff;
      backdrop-filter: blur(10px);
      transition: all 0.4s ease;
      width: 100%;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      box-sizing: border-box;
      width: 100%;
    }
    .step-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .step-desc {
      font-size: 0.85rem;
      color: #94a3b8;
      line-height: 1.5;
    }
    /* Hover Animations */
    .roadmap-step:hover .step-node {
      transform: scale(1.15) translateY(-5px);
      box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    }
    .roadmap-step:nth-child(2):hover .step-node {
      box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    }
    .roadmap-step:nth-child(3):hover .step-node {
      box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    }
    .roadmap-step:hover .step-card {
      transform: translateY(-8px);
      border-color: rgba(255, 255, 255, 0.3);
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
    }
    /* Responsive Design for Mobile Devices */
    @media (max-width: 768px) {
      .roadmap-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
      }
      .roadmap-container::before {
        top: 10%;
        left: 40px;
        width: 4px;
        height: 80%;
      }
      .roadmap-step {
        flex-direction: row;
        width: 100%;
        gap: 20px;
        align-items: flex-start;
       }
      .step-card {
        margin-top: 0;
        text-align: left;
      }
    }
/*why choose us */
.card1 {
      margin-top:20px ;
      background:#0a2150 ;
      border: 1px solid rgba(255, 255, 255, 0.08)f;
      padding: 25px;
      border-radius: 16px;
      box-sizing: border-box;
      width: 100%;
      transition: transform 0.3s ease
     }
    /* Hover Animation (Mela thookki shadow varum) */
    .card1:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
      border-color: #3b82f6;
    }
.cul{
  background-color: #0a2150;
  border-color: #1e293b;
}
.institute-footer {
    position: relative;
    width: 100%;
    background:#0a2150;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 40px 20px 20px;
    margin-top: auto;
    box-sizing: border-box;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
  box-sizing: border-box;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  box-sizing: border-box;
}

.footer-col {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.institute-footer h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.institute-footer p {
  font-size: 0.95rem;
  color: #bbb;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .institute-footer {
    padding: 30px 10px 15px 10px !important;
  }

  .footer-container {
    width: 100% !important;
    padding: 0 10px !important;
  }

  .footer-col h3 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  .institute-footer p, .footer-bottom p {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  .footer-bottom {
    margin-top: 25px !important;
    padding-top: 12px !important;
  }
  }
    /* Counter Section Styling */
    .stats-section {
      width: 100%;
      padding: 50px 0;
      box-sizing: border-box;
      padding: 60px 20px;
      background-color: #ffffff;
      text-align: center;
    }
    .stats-section h2 {
      font-size: 28px;
      color: #333;
      margin-bottom: 40px;
    }
   .stats-container {
      display:flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      max-width: 1000px;
      margin: 0 auto;
      gap: 20px;
      box-sizing: border-box;
      width: 100%;
    }
  .stat-card {
      background: #ffffff;
      padding: 30px 20px;
      border-radius: 12px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
      flex: 1;
      min-width: 220px;
      transition: transform 0.3s ease;
       box-sizing: border-box;
      width: 100%;
    }
   .stat-card:hover {
      transform: translateY(-5px);
    }
   .stat-number {
      font-size: 48px;
      font-weight: bold;
      color: #4a90e2;
      margin-bottom: 10px;
    }
   .stat-label {
      font-size: 18px;
      color: #666;
      font-weight: 500;
    }

    @media screen and (max-width: 768px) {
  .stats-section {
    padding: 30px 10px;
  }

  .stats-section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr); /* <u>2 columns on tablets/large phones</u> */
    gap: 15px;
    width: 100%;
    padding: 0 10px;
  }

  .stat-card {
    padding: 15px 10px !important;
  }

  .stat-number {
    font-size: 1.6rem !important;
  }

  .stat-label {
    font-size: 0.85rem !important;
  }
}
 /* map borders*/
    .mapp{
  width: 100%;
  padding: 50px 0;
  box-sizing: border-box;
    text-align: center;
    }

    .map-container {
  width:90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
#mapSection iframe {
  width: 100%;
  height: 450px;
  display: block;
  border-radius: 6px;
}
@media screen and (max-width: 768px) {
  .mapp {
    padding: 30px 10px;
  }

  .map-container {
    width: 100%;
    padding: 0 10px;
  }

  .section-box {
    padding: 10px !important;
    width: 100% !important;
  }

  #mapSection iframe {
    height: 300px !important;/* <u>Reduced height for mobile screens</u> */
  }
}
    .contact{
    text-align: center;
    width: 100%;
  padding: 50px 0;
  box-sizing: border-box;
  position: relative;
    }
    .cul{
    width: 100%;
    padding: 50px 0;
    box-sizing: border-box;
    text-align: center;
    }
    .cul p {
  font-size: 1rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 15px;
  word-break: break-word;
}
    .aboutsec{
      font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
  word-break: break-word;
      color: #0a2150;
    }
    @media screen and (max-width: 768px) {
  .cul {
    padding: 30px 10px;
  }
  .section-box {
    padding: 20px 15px !important;
    width: 100% !important;
  }
.section-title {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }

  .aboutsec {
    font-size: 1.1rem !important;
    margin-top: 15px !important;
  }

  .cul p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
}
/* General Mobile Base Settings */
@media screen and (max-width: 768px) {
  /* Home Section Padding Adjustment */
  #home.homephoto {
    padding: 30px 15px !important;
    overflow-x: hidden; /* Screen-ku veliya poratha thadukkum */
  }
  /* Main Box / Hero Content Area */
  #home .section-box1 {
    padding: 20px 15px !important;
    margin: 0 auto 20px auto !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  /* Logo Size Control on Mobile */
  #home .logo-img {
    max-width: 90px !important;
    height: auto !important;
  }
  /* Main Title Font Size (Mobile friendly) */
  #home .section-title {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
  }
  /* Subtitle & Description text sizing for mobile readability */
  #home h3 {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    margin-top: 10px;
  }
  #home h4 {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    margin-top: 10px;
  }
  /* 3D Book Container Scaling for Mobile Screens */
  #home .book-container {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 10px 0 !important;
    transform: scale(0.85); 
  }
}

/* Extra Small Phones (Below 480px) */
@media screen and (max-width: 480px) {
  #home .section-title {
    font-size: 1.0rem !important;
  }
  
  #home h3 {
    font-size: 0.7rem !important;
  }

  #home h4 {
    font-size: 0.6rem !important;
  }

  /* Book scale down further for very small screens */
  #home .book-container {
    transform: scale(0.7);
  }
}
.lang-switch-li {
  display: flex;
  align-items: center;
  gap: 6px;
  
}
.circle{
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #08142c;
  font-size: 7px;
  font-weight: bold;
  width: 32px;  /* விட்டம் (Width) */
  height: 32px; /* உயரம் (Height) - Width-ம் Height-ம் சமமாக இருந்தால் மட்டுமே வட்டம் (Circle) வரும் */
  border-radius: 50%; /* முழுமையான வட்ட வடிவம் */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  
  /* ஸ்மூத் அனிமேஷன் */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.1);

  border-color: transparent;
  box-shadow: 0 0 12px rgba(2, 31, 61, 0.6);
}
    .circle:hover, .circle.active {
      color: #ffffff;
      background: linear-gradient(135deg, #7357d8, #4437f7);
      transform: translateZ(15px) scale(1.05);
      box-shadow: 
        0 10px 20px rgba(59, 130, 246, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.3);
      border-color: rgba(255, 255, 255, 0.2);
      display: flex;
    }