:root {
    --primary-color: #0b4594;
    --secondary-color: #f7941d;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-auto { margin-top: auto; }

/* Typography & Buttons */
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem;}
h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem;}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 700;
    cursor: pointer; border: none; transition: var(--transition);
    font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--secondary-color), #f97316);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4);
}

.btn-outline-sm {
    background: transparent; border: 2px solid var(--primary-color);
    color: var(--primary-color); padding: 0.6rem 1rem; border-radius: 8px;
    font-size: 0.95rem; font-weight: 600; text-transform: none;
}
.btn-outline-sm:hover {
    background: var(--primary-color); color: var(--white);
}

/* Updated Header: Logo on Left, CTA on Right */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-nav {
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}
.logo img { display: block; height: auto; max-height: 60px;}

/* Hero Section with Image */

.hero {
    position: relative; padding: 6rem 0; overflow: hidden;
}
.hero-bg-glow {
    position: absolute; top: 0%; left: 0%; 
    width: 100%; height: 100%; background: radial-gradient(circle at 10% 20%, rgba(11,69,148,0.05) 0%, rgba(255,255,255,0) 50%);
    z-index: -1;
}
.hero-content {
    display: flex; align-items: center; gap: 3rem;
}
.hero-text { flex: 1; }
.hero-image { flex: 1; text-align: right;}
.rounded-img { border-radius: 16px; object-fit: cover; }

.hero-text p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 2.5rem; }
.trust-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; background: var(--bg-light);
    padding: 0.5rem 1rem; border-radius: 50px; margin-bottom: 2rem;
    font-weight: 600; box-shadow: var(--shadow-md); font-size: 0.9rem;
}
.stars { color: var(--secondary-color); }

/* Courses Grid */
.courses-section { padding: 6rem 0; }
.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 4rem; max-width: 600px; margin-inline: auto;}

/* ==========================================
   IICE-Style Course Cards (DYNAMIC UPGRADE)
   ========================================== */
.iice-course-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2rem;
}

.iice-card {
    background: var(--white); 
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); 
    /* Upgraded to a bouncy, fluid transition */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: flex; 
    flex-direction: column; 
    border: 1px solid #e2e8f0;
    position: relative; /* Required for the shine effect */
}

/* 1. The Glass Shine Sweep Effect */
.iice-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    z-index: 10;
    pointer-events: none; /* Crucial: Prevents the shine from blocking clicks! */
}

/* Card Hover State */
.iice-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(11, 69, 148, 0.12); /* Adds a premium blue tint to the shadow */
    border-color: var(--primary-color);
}

/* Triggers the shine sweep on hover */
.iice-card:hover::after {
    left: 125%; 
}

/* 2. Cinematic Image Zoom */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden; /* Keeps the zooming image locked inside the box */
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
    transition: transform 0.6s ease; /* Smooth GPU-accelerated scaling */
    will-change: transform; /* Tells the browser to prep the GPU */
}

.iice-card:hover .card-image-wrapper img {
    transform: scale(1.08); /* Zooms the image in by 8% */
}

/* Image Badges (Unchanged) */
.badge {
    position: absolute; top: 15px; padding: 6px 12px; border-radius: 4px;
    font-size: 0.75rem; font-weight: 700; color: var(--white);
    letter-spacing: 0.5px; text-transform: uppercase; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}
.tag-badge { left: 15px; }
.duration-badge { right: 15px; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); }

.bg-red { background: #e11d48; } .bg-orange { background: #ea580c; }
.bg-blue { background: #2563eb; } .bg-green { background: #16a34a; }
.bg-purple { background: #9333ea; } .bg-teal { background: #0d9488; }

/* Card Body */
.card-content { padding: 1.8rem; display: flex; flex-direction: column; flex-grow: 1; position: relative; z-index: 2;}

.card-content h3 { 
    font-size: 1.4rem; color: var(--primary-color); margin-bottom: 0.5rem; 
    font-weight: 800; transition: color 0.3s ease;
}

/* Hover effect on title */
.iice-card:hover .card-content h3 { color: var(--secondary-color); }

.course-skills { font-size: 0.9rem; color: var(--text-dark); font-weight: 600; margin-bottom: 1.2rem; border-bottom: 1px solid #f1f5f9; padding-bottom: 1.2rem; }

/* 3. Staggered Feature Slide */
.course-features { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }

.course-features li {
    position: relative; padding-left: 1.8rem; margin-bottom: 0.8rem;
    font-size: 0.95rem; color: var(--text-light); font-weight: 500;
    transition: transform 0.3s ease, color 0.3s ease;
}

.course-features li::before {
    content: '✔'; position: absolute; left: 0;
    color: #10b981; font-size: 1.1rem; font-weight: bold;
}

/* The Slide Action */
.iice-card:hover .course-features li {
    transform: translateX(6px); /* Nudges text right */
    color: var(--text-dark); /* Darkens text slightly */
}

/* The Stagger Delay (Makes them move one after the other) */
.iice-card:hover .course-features li:nth-child(1) { transition-delay: 0.05s; }
.iice-card:hover .course-features li:nth-child(2) { transition-delay: 0.10s; }
.iice-card:hover .course-features li:nth-child(3) { transition-delay: 0.15s; }
.iice-card:hover .course-features li:nth-child(4) { transition-delay: 0.20s; }
/*/* ==========================================
   Hero Inline Form Styles (UPDATED)
   ========================================== */
.hero-form-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-form-card {
    background: var(--white);
    /* Optimized padding for cleaner look */
    padding: 3rem 2.5rem 2.5rem; 
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: left;
    /* Added subtle border accent */
    border: 1px solid rgba(11, 69, 148, 0.08);
    position: relative; /* REQUIRED for positioning the cross */
    z-index: 10;
    width: 100%;
    max-width: 450px;
    background: linear-gradient(to bottom, #ffffff, #f9fafc);
}

/* THE NEW CROSS (CLOSE BUTTON) STYLES */
.hero-form-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    color: #94a3b8; /* Subtle Slate Gray */
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
    font-weight: 300;
}

.hero-form-close:hover {
    color: #e11d48; /* Red hover color to indicate dismiss action */
    transform: rotate(90deg); /* Modern hover rotation */
}

.hero-form-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.hero-form-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Responsive updates for the new padding */
@media (max-width: 900px) {
    .hero-form-container {
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    .hero-form-card {
        padding: 2.5rem 1.5rem 2rem;
    }
}

/* Ensure mobile layout stacks correctly */
@media (max-width: 900px) {
    .hero-form-container {
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    .hero-form-card {
        padding: 2rem 1.5rem;
    }
}
.category-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--primary-color);
}

.cat-header {
    font-size: 1.25rem; font-weight: 800; margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9; color: var(--primary-color);
}
.course-list {
    list-style: none; margin-bottom: 2rem;
}
.course-list li {
    position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--text-light); font-weight: 500;
}
.course-list li::before {
    content: '✓'; position: absolute; left: 0; color: var(--secondary-color); font-weight: bold;
}

/* ==========================================
   Testimonials: Infinite CSS Auto-Slider
   ========================================== */
.testimonials-section { padding: 6rem 0; overflow: hidden; }

/* The container that hides the overflow and adds the fade effect */
.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
}

/* Optional: Fade gradients on the left and right edges for a premium look */
.testimonial-slider-container::before,
.testimonial-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Allows users to click cards underneath the fade */
}
.testimonial-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}
.testimonial-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

/* The sliding track */
.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* 35s controls the speed. linear keeps it constant. */
    animation: scroll-testimonials 35s linear infinite;
    /* Hardware acceleration for buttery smooth performance */
    will-change: transform; 
}

/* Pause the slider when a user hovers over it so they can read */
.testimonial-track:hover {
    animation-play-state: paused; 
}

/* Individual Review Cards */
.testimonial-card {
    width: 380px; /* Fixed width so they slide evenly */
    flex-shrink: 0;
    background: var(--white); 
    border-radius: 16px; 
    padding: 2.5rem;
    display: flex; 
    flex-direction: column; 
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.student-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.student-pic { border-radius: 50%; border: 3px solid var(--white); box-shadow: var(--shadow-md); object-fit: cover;}
.student-info h4 { font-weight: 700; color: var(--text-dark); margin-bottom: 0;}
.student-info span { color: var(--primary-color); font-size: 0.85rem; font-weight: 700; text-transform: uppercase;}
.testimonial-card p { color: var(--text-light); font-style: italic; font-size: 0.95rem; line-height: 1.7;}

/* The actual animation moving the track left */
@keyframes scroll-testimonials {
    0% { transform: translateX(0); }
    /* Moves the track exactly 50% of its width (the length of the original 4 cards + gaps) */
    100% { transform: translateX(calc(-50% - 1rem)); } 
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .testimonial-card { width: 300px; padding: 1.5rem; }
    .testimonial-slider-container::before,
    .testimonial-slider-container::after { width: 40px; }
}

/* ==========================================
   Premium Modal (Pop-up) UI/UX
   ========================================== */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal.active { opacity: 1; visibility: visible; }

.modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(6px);
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    width: 95%;
    max-width: 850px; /* Widened to accommodate the split layout */
    position: relative;
    z-index: 1001;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Keeps the inner backgrounds within the rounded corners */
}
.modal.active .modal-content { transform: translateY(0) scale(1); }

/* The Split Layout Container */
.modal-split {
    display: flex;
    width: 100%;
}

/* Left Side: Blue Brand Panel */
.modal-info {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), #0f172a);
    color: var(--white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.modal-info h2 { color: var(--white); margin-bottom: 1rem; font-size: 2.2rem; font-weight: 800;}
.modal-info p { color: #cbd5e1; margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.6;}
.modal-benefits { list-style: none; }
.modal-benefits li { margin-bottom: 1.2rem; font-weight: 600; display: flex; align-items: center; font-size: 1.05rem;}

/* Right Side: The Form Panel */
.modal-form-section {
    flex: 1.2;
    padding: 3rem;
    background: var(--white);
}
.modal-form-section h3 { font-size: 1.7rem; color: var(--text-dark); margin-bottom: 0.2rem; font-weight: 800;}
.modal-form-section .subtitle { color: var(--text-light); margin-bottom: 2rem; font-size: 0.95rem;}

/* Refined Close Button */
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: #f1f5f9; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 1.5rem; color: var(--text-dark);
    cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.modal-close:hover {
    background: #e11d48; color: var(--white);
    transform: rotate(90deg);
}

/* Upgraded Form Inputs */
.form-group { margin-bottom: 1.2rem; }
.form-group input, .form-group select {
    width: 100%; padding: 1rem 1.2rem; 
    border: 2px solid #e2e8f0; border-radius: 10px;
    font-family: inherit; font-size: 1rem; 
    transition: var(--transition); background: #f8fafc;
}
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--primary-color); background: var(--white);
    box-shadow: 0 0 0 4px rgba(11, 69, 148, 0.1); /* Smooth focus ring */
}

/* Trust Microcopy */
.privacy-note {
    text-align: center; font-size: 0.8rem !important; color: #94a3b8 !important;
    margin-top: 1rem !important; margin-bottom: 0 !important; font-weight: 500;
}

/* Responsive Rules for the Modal */
@media (max-width: 768px) {
    .modal-info { display: none; /* Hides the left panel on mobile to prioritize the form */ }
    .modal-content { max-width: 95%; border-radius: 16px; }
    .modal-form-section { padding: 2.5rem 1.5rem; }
    .modal-form-section h3 { font-size: 1.5rem; }
}

.form-group { margin-bottom: 1.2rem; }
.form-group input, .form-group select {
    width: 100%; padding: 1rem; border: 2px solid #e2e8f0; border-radius: 10px;
    font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--primary-color); background: #f8fafc;
}

/* ==========================================
   Upgraded Footer Styles
   ========================================== */
.site-footer {
    background-color: #0f172a; /* Deep premium slate */
    color: #94a3b8;
    padding: 5rem 0 0 0; /* Top padding, bottom handled by the copyright bar */
    margin-top: 4rem;
    border-top: 4px solid var(--secondary-color); /* Brand accent line at the top */
}

.footer-grid {
    display: grid;
    /* 3 Columns: Brand gets more space, links and contact share the rest */
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-brand span {
    color: var(--secondary-color);
}

.footer-brand p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-brand .mt-3 {
    margin-top: 1rem;
}

.site-footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Small orange accent line under the headings */
.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-links ul, .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
}

/* Small slide-right animation on hover */
.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px); 
}

.contact-list li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
    line-height: 1.5;
}

.contact-list a {
    color: #94a3b8;
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--white);
}

/* The dark bar at the very bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    background-color: #0b1120; 
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive constraints for Tablets and Mobile */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-content { flex-direction: column; text-align: center; gap: 2rem;}
    .hero-text { order: 2; }
    .hero-image { order: 1; text-align: center; width: 80%; margin-inline: auto;}
}
@media (max-width: 600px) {
    .site-header { position: relative; }
    .header-nav { height: auto; padding: 1rem 0; flex-direction: column; gap: 1rem; }
    .logo img { max-height: 50px; }
}
/* ==========================================
   Video Section & Lite YouTube Facade
   ========================================== */
.video-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.video-wrapper {
    max-width: 800px; /* Keeps the video at a nice, cinematic width */
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.05);
}

/* The Lite Embed Container */
.lite-youtube {
    background-color: #000;
    position: relative;
    display: block;
    contain: content;
    cursor: pointer;
    /* 16:9 Aspect Ratio calculation */
    width: 100%;
    padding-bottom: 56.25%; 
}

/* The Thumbnail Image */
.youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Hover Effect: Darkens thumbnail slightly when hovering */
.lite-youtube:hover .youtube-thumbnail {
    opacity: 0.85;
}

/* CSS Drawn YouTube Play Button */
.lite-playbtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: #212121;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* The white triangle inside the button */
.lite-playbtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
}

/* Turns the play button Red on hover (like YouTube) */
.lite-youtube:hover .lite-playbtn {
    background-color: #f00;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Makes sure the iframe sits perfectly when injected */
.lite-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}/* ==========================================
   Promotional Announcement Bar (Hello Bar)
   ========================================== */
.promo-banner {
    background: linear-gradient(90deg, #0c35ea, #f97316); /* Vibrant Orange Gradient */
    color: var(--white);
    padding: 0.6rem 0;
    position: relative;
    z-index: 90; /* Sits just below the sticky header's z-index */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease, margin-top 0.3s ease;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
    font-size: 0.95rem;
    padding: 0 2.5rem; /* Leaves room for the close button */
}

.promo-content p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Pulsing Urgency Indicator */
.promo-pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Internal Banner Button */
.btn-promo-text {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-promo-text:hover {
    background: var(--white);
    color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Close Button (X) */
.promo-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.2rem;
}

.promo-close:hover {
    color: var(--white);
}

/* Responsive constraints for Mobile */
@media (max-width: 650px) {
    .promo-content { 
        gap: 0.5rem; 
        flex-direction: column; 
        padding: 0.2rem 2rem;
    }
    .promo-pulse { display: none; /* Hide pulse on tiny screens to save space */ }
    .promo-close { top: 0.5rem; transform: none; }
}
/* ==========================================
   Floating WhatsApp Button (Bottom-Left)
   ========================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px; /* Positions it in the bottom-left corner */
    background-color: #25d366; /* Official WhatsApp Green */
    border-radius: 50%;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000; /* Ensures it stays above all other content */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    /* Small adjustment to visually center the icon */
    transform: translateX(1px) translateY(-1px);
}

/* Hover Interaction */
.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
    animation-play-state: paused; /* Pauses the pulse when hovered */
}

/* CSS-Only Pulsing Animation (Zero JS overhead) */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ==============================
   🔥 MOBILE UX + GOOGLE ADS FIX
   ============================== */
@media (max-width: 768px) {

    /* Container */
    .container {
        width: 92%;
    }

    /* HERO SECTION */
    .hero {
        padding: 2rem 0 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 1.2rem;
        text-align: left;
    }

    /* TEXT FIRST */
    .hero-text {
        order: 1;
    }

    /* FORM SECOND */
    .hero-form-container {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    /* HEADING FIX */
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 0.8rem;
    }

    /* PARAGRAPH */
    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    /* TRUST BADGE */
    .trust-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    /* ICON ROW */
    .trust-icons-row {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    /* FORM CARD */
    .hero-form-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    .hero-form-card h3 {
        font-size: 1.2rem;
    }

    .hero-form-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    /* INPUTS */
    .form-group input,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    /* BUTTON */
    .btn-gradient {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    /* HEADER */
    .header-nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.6rem 0;
    }

    .logo img {
        max-height: 45px;
    }

    /* PROMO BAR */
    .promo-content {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.3rem 2rem;
    }

    .promo-content p {
        font-size: 0.75rem;
    }

    .btn-promo-text {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    /* COURSE GRID */
    .iice-course-grid {
        grid-template-columns: 1fr;
    }

    /* TESTIMONIAL */
    .testimonial-card {
        width: 280px;
        padding: 1.5rem;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* ==============================
   🔥 EXTRA SMALL DEVICES (≤420px)
   ============================== */
@media (max-width: 420px) {

    .hero {
        padding: 1.5rem 0 1rem;
    }

    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.85rem;
    }

    .hero-form-card {
        padding: 1.2rem 1rem;
    }

    .hero-form-card h3 {
        font-size: 1rem;
    }

    .hero-form-card p {
        font-size: 0.75rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.65rem;
        font-size: 0.85rem;
    }

    .btn-gradient {
        font-size: 0.8rem;
        padding: 0.7rem;
    }

    .promo-content p {
        font-size: 0.7rem;
    }
}
