:root{
  --bg:#ffffff;
  --muted:#58606b;
  --text:#0f1724;
  --accent:#f7a600;
  --accent-2:#00c2a8;
  --card:#ffffff;
  --glass: rgba(15,23,36,0.04);
  --maxw:1200px;
}
*{box-sizing:border-box}
html,body{height:100%;}
body{
  margin:0; font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  background: linear-gradient(180deg,#fbfdff 0%, #f6f9ff 100%);
  color:var(--text); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden; line-height:1.45; padding-bottom:40px;
}
.container{max-width:var(--maxw); margin:0 auto; padding:0 20px; overflow: visible;}

/* NAV */
nav.navbar{display:flex; align-items:center; justify-content:space-between; padding:18px 0}
.brand{display:flex; gap:12px; align-items:center}
.logo{width:56px; height:56px; border-radius:12px; background:linear-gradient(135deg,var(--accent), #ffb84d); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(247,166,0,0.07)}
.brand h1{font-family:'Playfair Display', serif; font-size:18px; margin:0}
.nav-links{display:flex; gap:18px; align-items:center}
.nav-links a{color:var(--muted); text-decoration:none; font-weight:600}
.nav-cta{background:linear-gradient(90deg,var(--accent), #ff944d); padding:10px 18px; border-radius:999px; color:#072020; font-weight:700; text-decoration:none}

/* HERO */
header.hero{padding:56px 0 36px; position:relative; overflow:visible}
.hero-grid{display:grid; grid-template-columns:1fr 560px; gap:48px; align-items:center}
.kicker{color:var(--accent); font-weight:700; letter-spacing:0.8px}
.hero-title{font-family:'Playfair Display', serif; font-size:44px; margin:10px 0}
.hero-lead{color:var(--muted); font-size:18px; max-width:720px}
.hero-actions{display:flex; gap:14px; align-items:center; margin-top:20px}
.btn-primary{background:linear-gradient(90deg,var(--accent), #ff944d); color:#072020; padding:12px 22px; border-radius:999px; font-weight:700; text-decoration:none; display:inline-flex; align-items:center; gap:10px}
.btn-ghost{border:1px solid rgba(12,18,26,0.06); padding:10px 18px; border-radius:999px; color:var(--muted); text-decoration:none}

/* HERO VISUAL */
.hero-card{position:relative; height:520px; border-radius:20px; overflow:hidden; display:flex; align-items:center; justify-content:center}
.hero-card .visual{position:relative; width:96%; height:92%; display:flex; align-items:center; justify-content:center}
.hero-card img.main{width:100%; height:100%; object-fit:cover; border-radius:12px}

/* DECORATIVE LAYERS */
.decor-container{position:absolute; inset:0; pointer-events:none; z-index:6}
.decor{position:absolute; will-change:transform,opacity; opacity:0.35}
.decor.feather{filter: drop-shadow(0 6px 20px rgba(0,0,0,0.08));}
.decor.bubble{filter: blur(10px); opacity:0.22}
.decor.flower{filter: drop-shadow(0 8px 26px rgba(0,0,0,0.06)); opacity:0.28}

/* Wobble animation */
@keyframes wobble-hor-bottom {
  0%,100%{transform:translate(0,0) rotate(0deg)}
  20%{transform:translate(-10px,6px) rotate(-4deg)}
  50%{transform:translate(12px,-12px) rotate(6deg)}
  80%{transform:translate(-6px,8px) rotate(-3deg)}
}
.wobble { animation: wobble-hor-bottom 7s ease-in-out infinite; }

/* BUBBLE FLOAT (slower) */
@keyframes bubbleFloat {
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-54px) scale(1.04)}
}
@keyframes moving{
  0%,100%{transform:translateX(0) scale(1)}
  50%{transform:translateX(-54px) scale(1.04)}
}
.bubbleFloat { animation: bubbleFloat 5s ease-in-out infinite; }
.moving { animation: moving 10s ease-in-out infinite; }

/* SECTIONS */
section{padding:72px 0}
h2.section-title{font-size:26px; margin:0 0 12px}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.card-pro{background:var(--card); border-radius:12px; padding:18px; border:1px solid rgba(12,18,26,0.04); box-shadow:0 6px 18px rgba(12,18,26,0.03); transition:transform .28s ease}
.card-pro:hover{transform:translateY(-8px); box-shadow:0 20px 50px rgba(12,18,26,0.06)}
.card-pro .icon{width:56px;height:56px;border-radius:12px;background:linear-gradient(180deg,#fff,#fff);display:flex;align-items:center;justify-content:center}
.card-pro h5{margin:10px 0 6px}
.card-pro p{margin:0; color:var(--muted)}

.courses-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.course-tile{background:linear-gradient(180deg,#fff,#fbfdff); padding:14px; border-radius:12px; border:1px solid rgba(12,18,26,0.04); transition:transform .28s}

.testimonials{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.quote{background:#fff; border-radius:12px; padding:18px; box-shadow:0 6px 18px rgba(12,18,26,0.04)}

.faq-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.faq-item{background:transparent; border-radius:10px; padding:18px; border:1px solid rgba(12,18,26,0.03)}

footer{padding:36px 0; border-top:1px solid rgba(12,18,26,0.03); color:var(--muted)}

/* reveal */
.reveal{opacity:0; transform:translateY(28px);}
.reveal.visible{opacity:1; transform:none; transition: all 0.8s cubic-bezier(.2,.9,.28,1);}

/* Tilt */
.tilt{transform-style:preserve-3d}

/* Responsive */
@media (max-width:1100px){ .hero-grid{grid-template-columns:1fr} .hero-card{height:420px} .grid-3{grid-template-columns:repeat(2,1fr)} .courses-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .courses-grid{grid-template-columns:1fr} .hero-title{font-size:28px} .hero-card{height:320px} }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){ *{transition:none!important; animation:none!important} }

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.icon2{
  width:64px;
  height:64px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 64px;
  background: linear-gradient(135deg,#fff6eb,#ffd9b2); box-shadow:0 8px 30px rgba(247,166,0,0.06);
  font-size:26px;
}

.meta { display:flex; gap:10px; align-items:center; color:var(--muted); font-size:13px; margin-bottom:10px; }
.date { font-size:13px; color:gray; }
.pill { font-size:12px; padding:6px 10px; border-radius:999px; display:inline-block; font-weight:700; margin-top:10px;}
.pill.active { background: rgba(6,200,120,0.08); color:#046642; }

/* ========================================
   BLOG SLIDER STYLES - HORIZONTAL LAYOUT
   ======================================== */

#quizzes {
    position: relative;
    overflow: visible;
}

#quizzes .container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.blog-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 80px 40px 80px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.blog-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

/* Slider Navigation Buttons - Positioned within blog section */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent), #ff944d);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(247, 166, 0, 0.4);
    font-size: 22px;
    z-index: 100;
    font-weight: bold;
}

.slider-btn-left {
    left: 10px;
}

.slider-btn-right {
    right: 10px;
}

.slider-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff944d, #ffb84d);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(247, 166, 0, 0.5);
}

.slider-btn:active:not(:disabled) {
    transform: translateY(-50%) scale(0.98);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: linear-gradient(135deg, #cccccc, #aaaaaa);
}

/* ========================================
   BLOG CARD STYLES - OPTIMIZED
   ======================================== */

.blog-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

/* Icon Section */
.blog-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.blog-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Content Section */
.blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e2a3b;
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.blog-desc {
    color: #5d6570;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    margin-bottom: 10px;
    word-wrap: break-word;
    word-break: break-word;
}

.blog-date {
    font-size: 0.85rem;
    color: #848e99;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    padding-top: 10px;
}

.blog-date::before {
    content: '📅';
    font-size: 0.9em;
}

/* Link Button */
.blog-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(90deg, var(--accent), #ff944d);
    border-radius: 10px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(247, 166, 0, 0.2);
    flex-shrink: 0;
}

.blog-link:hover {
    background: linear-gradient(90deg, #ff944d, var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 166, 0, 0.3);
    color: white;
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* ========================================
   ENHANCED RESPONSIVE SYSTEM
   ======================================== */

/* 1. Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    :root { --maxw: 960px; }
    
    .hero-grid {
        grid-template-columns: 1fr; /* Stack hero content */
        text-align: center;
        gap: 40px;
    }

    .hero-lead { margin: 0 auto; }
    
    .hero-actions { 
        justify-content: center; 
    }

    .hero-card {
        height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }

    .grid-3, .testimonials, .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

/* 2. Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
    nav.navbar {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .nav-links {
        font-size: 14px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 22px;
        text-align: center;
    }

    .grid-3, .testimonials, .faq-grid, .courses-grid {
        grid-template-columns: 1fr; /* Full width on mobile */
    }

    .blog-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .blog-slider-wrapper {
        padding: 20px 50px 40px 50px; /* Shrink side padding for buttons */
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-card {
        height: 320px;
    }
    
    .decor {
        display: none; /* Hide floating decors on mobile to prevent overflow & clutter */
    }
}

/* 3. Small Phones (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .blog-slider-wrapper {
        padding: 20px 10px 40px 10px; /* Move buttons or hide them if using touch swipe */
    }

    .slider-btn {
        display: none; /* Usually better to allow touch-swipe on very small screens */
    }
    
    .blog-slider {
        gap: 10px;
        overflow-x: auto; /* Allow natural touch scrolling */
        -webkit-overflow-scrolling: touch;
    }

    .blog-card {
        min-height: auto;
        padding: 20px;
    }

    .logo {
        width: 48px;
        height: 48px;
    }
}

/* 4. Utilities for smooth experience */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Fix for potential horizontal scroll from decorative elements */
header.hero {
    overflow-x: hidden;
}
/* --- FIX: About Section Clipping & Scrollbar --- */
#about {
    overflow: visible !important; /* Allow badges to bleed out */
    padding-top: 80px !important; /* Space for the top badge */
    padding-bottom: 80px !important; /* Space for the bottom floating image */
}

#about .container {
    overflow: visible !important;
}

/* Ensure the main image doesn't get cut off */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Adjust the absolute images for smaller screens */
@media (max-width: 991px) {
    #about .position-absolute {
        /* Scale down or hide the decorative overflow on small tablets */
        transform: scale(0.8); 
    }
    
    .hero-grid {
        grid-template-columns: 1fr !important; /* Stack hero */
        text-align: center;
        padding-top: 40px;
    }

    .hero-card {
        height: auto !important;
        margin-top: 30px;
    }

    .hero-card .main {
        height: 40vh !important; /* Shorter image on mobile */
    }
}

@media (max-width: 576px) {
    /*#about .position-absolute {*/
        position: relative !important; /* Stop floating on tiny screens */
    /*    left: -10% !important;*/
    /*    bottom: 10% !important;*/
    /*    margin-bottom: 0px;*/
    /*    width: 40% !important;*/
    /*}*/
    
    /*#about .secondImg {*/
        position: relative !important; /* Stop floating on tiny screens */
    /*    left: -10% !important;*/
    /*    top: -10% !important;*/
    /*    margin-bottom: 0px;*/
    /*    width: 40% !important;*/
    /*}*/
    
    #about .bg-warning {
        display: inline-block;
        width: auto;
    }

    .hero-title {
        font-size: 24px !important;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions a {
        width: 100%;
        text-align: center;
    }
}

/* --- FIX: Global Hero Scrollbar --- */
.hero-grid {
    overflow: visible !important; /* Crucial: removes the internal scrollbar */
    min-height: auto !important; /* Allows height to grow with content */
}


/* ========================================
   CONTACT SECTION RESPONSIVE ENHANCEMENTS
   ======================================== */

/* Contact cards hover effect */
.contact-card {
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(12,18,26,0.08) !important;
}

/* Proprietor card responsive */
.proprietor-card {
  overflow-x: auto;
}

/* Form inputs focus state */
#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 166, 0, 0.1);
}

/* ========================================
   MEDIA QUERIES - TABLET (max-width: 991px)
   ======================================== */
@media (max-width: 991px) {
  /* Contact section spacing */
  #contact .container {
    padding: 0 20px;
  }
  
  /* Contact form on tablets - full width below lg */
  #contactForm {
    margin-top: 30px;
  }
  
  /* Action buttons stack on tablet */
  .hero-actions,
  #contact .btn-primary,
  #contact .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   MEDIA QUERIES - MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  /* Contact section title */
  #contact h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  /* Proprietor card padding */
  .proprietor-card {
    padding: 18px !important;
  }
  
  /* Contact cards - stack icon and text better on mobile */
  .contact-card {
    padding: 14px !important;
  }
  
  .contact-card > div:first-child {
    min-width: 45px !important;
    width: 45px !important;
    height: 45px !important;
  }
  
  .contact-card i {
    font-size: 18px !important;
  }
  
  /* Form inputs spacing */
  #contactForm > div {
    gap: 10px !important;
  }
  
  /* Map height adjustment for mobile */
  #contact iframe {
    height: 300px !important;
  }
  
  /* Remove margin from form message on mobile */
  #formMessage {
    font-size: 0.9rem;
  }
}

/* ========================================
   MEDIA QUERIES - SMALL MOBILE (max-width: 576px)
   ======================================== */
@media (max-width: 576px) {
    #about .position-absolute {
        position: relative !important;
    }
    #about .secondImg {
        position: relative !important;
    }
  #contact .row {
    margin-bottom: 30px !important;
  }
  
  /* Proprietor section */
  #contact h4 {
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
  }
  
  .proprietor-card p {
    font-size: 0.85rem !important;
    margin-bottom: 10px !important;
  }
  
  /* Contact cards compact mode */
  .contact-card {
    padding: 12px !important;
    gap: 12px !important;
  }
  
  .contact-card > div:first-child {
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
  }
  
  .contact-card i {
    font-size: 16px !important;
  }
  
  /* Form spacing */
  #contactForm {
    padding: 16px !important;
  }
  
  #contactForm h5 {
    font-size: 1rem !important;
    margin-bottom: 15px !important;
  }
  
  #contactForm input,
  #contactForm textarea {
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
  }
  
  #contactForm textarea {
    rows: 4;
    min-height: 100px;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-ghost {
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
  }
  
  /* Map on small screens */
  #contact iframe {
    height: 250px !important;
    border-radius: 12px;
  }
  
  /* Map heading */
  #contact h4 i {
    display: block;
    margin: 0 auto 8px !important;
  }
}

/* ========================================
   MEDIA QUERIES - EXTRA SMALL (max-width: 375px)
   ======================================== */
@media (max-width: 375px) {
  /* Ultra compact for small phones */
  .contact-card {
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left;
  }
  
  .contact-card > div:first-child {
    margin-bottom: 10px;
  }
  
  /* Form button full width */
  #contactForm button[type="submit"] {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  /* Reduce map height further */
  #contact iframe {
    height: 200px !important;
  }
}

/* ========================================
   LANDSCAPE MODE FIXES
   ======================================== */
@media (max-height: 600px) and (orientation: landscape) {
  /* Reduce vertical spacing in landscape */
  #contact {
    padding: 40px 0 !important;
  }
  
  .proprietor-card,
  #contactForm {
    padding: 15px !important;
  }
  
  #contact iframe {
    height: 250px !important;
  }
}

/* ========================================
   ACCESSIBILITY & FOCUS STATES
   ======================================== */

/* Focus visible for keyboard navigation */
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
#contactForm input:focus-visible,
#contactForm textarea:focus-visible,
#contactForm button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Active/tap states for mobile */
.contact-card:active {
  transform: scale(0.98);
}

.btn-primary:active,
.btn-ghost:active {
  transform: scale(0.96);
}

/* Prevent text selection on buttons */
.btn-primary,
.btn-ghost,
.contact-popup-button {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .contact-popup-overlay,
  #contactForm,
  .btn-primary,
  .btn-ghost {
    display: none !important;
  }
  
  .proprietor-card,
  .contact-card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}

/* ========================================
   SUCCESS POPUP MODAL STYLES
   ======================================== */

/* Popup Overlay */
#successPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  display: none;
}

/* Popup Container */
#successPopup > div {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  padding: 2rem 2rem 1.5rem;
  animation: popupSlide 0.3s ease-out;
}

/* Success Icon Circle */
#successPopup .popup-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7cb342, #8bc34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -4rem auto 1.5rem;
  box-shadow: 0 8px 20px rgba(124, 179, 66, 0.3);
  animation: scaleIn 0.5s ease;
}

#successPopup .popup-icon svg {
  width: 50px;
  height: 50px;
}

/* Popup Title */
#successPopup h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

/* Popup Message */
#successPopup p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* OK Button */
#successPopup button {
  background: linear-gradient(135deg, #7cb342, #8bc34a);
  color: white;
  border: none;
  padding: 0.8rem 3rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
  width: 100%;
}

#successPopup button:hover {
  background: linear-gradient(135deg, #8bc34a, #7cb342);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

/* Popup Animations */
@keyframes popupSlide {
  from { 
    transform: translateY(-50px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInPopup {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Popup Responsive Styles */
@media (max-width: 480px) {
  #successPopup > div {
    width: 95%;
    padding: 1.5rem;
  }
  
  #successPopup .popup-icon {
    width: 70px;
    height: 70px;
    margin: -3.5rem auto 1.2rem;
  }
  
  #successPopup .popup-icon svg {
    width: 40px;
    height: 40px;
  }
  
  #successPopup h3 {
    font-size: 1.5rem;
  }
  
  #successPopup p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  #successPopup button {
    padding: 0.7rem 2.5rem;
    font-size: 0.95rem;
  }
}
/* ── ADVISORY BOARD ─────────────────────────────── */
#advisory {
  padding: 72px 0;
  background: #fff;
}

#advisory .container {
  overflow: visible !important;
}

.advisory-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 80px 40px 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.advisory-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.advisory-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
}

.advisory-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(12,18,26,0.05);
  box-shadow: 0 6px 18px rgba(12,18,26,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}

.advisory-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(12,18,26,0.08);
}

.advisory-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.advisory-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.advisory-card:hover .advisory-img-wrap img {
  transform: scale(1.04);
}

.advisory-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.advisory-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.advisory-designation {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.advisory-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── ADVISORY READ MORE BUTTON ──────────────────── */
.advisory-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 9px 18px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.advisory-read-more:hover {
  background: linear-gradient(90deg, var(--accent), #ff944d);
  color: #072020;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(247,166,0,0.3);
}

.advisory-read-more i {
  transition: transform 0.3s ease;
}

.advisory-read-more:hover i {
  transform: translateX(3px);
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .advisory-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .advisory-slider-wrapper {
    padding: 20px 50px 30px 50px;
  }
  .advisory-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
  #advisory h2 img {
    display: none;
  }
}

@media (max-width: 480px) {
  .advisory-slider-wrapper {
    padding: 20px 0 24px 15px;
    overflow: visible;
  }
  .advisory-slider {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 12px;
    transform: none !important;
    padding-right: 15px;
    scrollbar-width: none;
  }
  .advisory-slider::-webkit-scrollbar {
    display: none;
  }
  .advisory-slide {
    flex: 0 0 85%;
    min-width: 85%;
    scroll-snap-align: start;
  }
  .advisory-slider-wrapper .slider-btn {
    display: none;
  }
  .advisory-card {
    border-radius: 12px;
  }
  .advisory-name {
    font-size: 0.95rem;
  }
  .advisory-designation {
    font-size: 0.75rem;
  }
  .advisory-desc {
    font-size: 0.8rem;
  }
}