/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important; /* CRITICAL: Hides the side overflow */
    margin: 0;
    padding: 0;
}

/* ================= NAVIGATION BAR ================= */
.sc-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent; /* Starts transparent */
    padding: 20px 0;
}

/* State when scrolled down (Added via JS) */
.sc-navbar.sc-scrolled {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.sc-nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================= LOGO STYLING ================= */
.sc-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    
    /* INITIAL STATE (Transparent/Blue Header) */
    /* Text and Icon are WHITE */
    color: #ffffff !important; 
    fill: #ffffff !important;
}

/* INITIAL STATE IMAGE (If using an image tag) */
.sc-logo img {
    height: 80px;
    width: auto;
    /* Ensure image renders naturally initially */
    filter: none; 
}


/* ================= SCROLLED STATE (White Header) ================= */

/* 1. Change Text & Icon Color to Navy Blue */
.sc-navbar.sc-scrolled .sc-logo {
    color: #003366 !important; /* Forces Text Dark */
}

.sc-navbar.sc-scrolled .sc-logo i {
    color: #003366 !important; /* Forces FontAwesome Icon Dark */
}



/* Menu Links */
.sc-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.sc-nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
    padding-bottom: 5px;
}

.sc-navbar.sc-scrolled .sc-nav-link {
    color: var(--dark);
}

/* Link Underline Animation */
.sc-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease-in-out;
}

.sc-nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.sc-dropdown {
    position: relative;
}

.sc-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.sc-dropdown:hover .sc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sc-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.sc-dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Action Button */
.sc-nav-btn {
    background: red;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.sc-nav-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Mobile Hamburger */
.sc-hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

.sc-navbar.sc-scrolled .bar {
    background-color: var(--dark);
}

/* Mobile Menu Overlay */
.sc-mobile-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.sc-mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* ================= MOBILE DROPDOWN STYLES ================= */
.mobile-link {
    display: block;
    padding: 15px 30px;
    color: var(--dark);
    font-weight: 600;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.mobile-dropdown-group {
    border-bottom: 1px solid #eee;
}

.mobile-drop-btn {
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
}

/* Arrow rotation when active */
.mobile-drop-btn.active i {
    transform: rotate(180deg);
    color: var(--accent);
}
.mobile-drop-btn.active {
    color: var(--primary);
}

/* The sub-menu content (Hidden by default) */
.mobile-drop-content {
    display: none;
    background-color: #f9f9f9;
}

/* Show when active */
.mobile-drop-content.active {
    display: block;
}

.mobile-drop-content a {
    display: block;
    padding: 12px 30px 12px 50px; /* Indented */
    font-size: 0.95rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-drop-content a:hover {
    color: var(--accent);
    background: #fff;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .sc-nav-menu, .sc-nav-btn { display: none; }
    .sc-hamburger { display: block; }
    .sc-mobile-menu.active { display: flex; }

    /* ... existing mobile styles ... */

/* Default State (Transparent Header): White Bars */
.bar {
    background-color: #ffffff !important;
}

/* Scrolled State (White Header): Black Bars */
.sc-navbar.sc-scrolled .bar {
    background-color: #000000 !important; /* Forces black on scroll */
}

/* Menu Open State: Black Bars (so you can see them against the white menu) */
.sc-mobile-menu.active ~ .sc-nav-container .bar {
    background-color: #000000 !important;
}
}

/* ================= CREATIVE FOOTER ================= */
.creative-footer {
    position: relative;
    background-color: #0b1120; /* Very Dark Navy (Almost Black) */
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin-top: 100px; /* Space for the floating card */
}

/* --- 1. FLOATING CTA CARD --- */
.footer-cta-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    top: -50px; /* Pulls the card UP to overlap */
    z-index: 10;
}

.footer-cta-card {
    background: linear-gradient(135deg, #e60000 0%, #b30000 100%); /* Your Brand Red */
    border-radius: 15px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(230, 0, 0, 0.3); /* Red Glow Shadow */
    color: white;
}

.cta-text h3 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    color: white;
    font-weight: 700;
}

.cta-text p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* White Button inside Red Card */
.cta-btn-white {
    background: white;
    color: #cc0000;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: #003366; /* Changes to Blue on hover */
}

/* --- 2. MAIN FOOTER STYLES --- */
.footer-main {
    padding-top: 20px; /* Space inside dark area */
    padding-bottom: 20px;
    background-image: radial-gradient(circle at top right, #1a253a 0%, transparent 40%); /* Subtle light glow */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
}

/* The Glowing Box Container */
.brand-icon {
    width: 60px;  /* Fixed size square */
    height: 60px;
    background: linear-gradient(135deg, #003366, #00509e); /* Navy Gradient */
    border-radius: 12px; /* Rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.5); /* Glow effect */
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* The Logo Image Itself */
.brand-icon img {
    width: 70%; /* Size inside the box */
    height: auto;
    object-fit: contain;
    
    /* CRITICAL: Turns your BLACK logo WHITE */
    filter: invert(1) brightness(2); 
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.brand-desc {
    color: #94a3b8; /* Slate Grey */
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 350px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-link:hover {
    background: #e60000;
    border-color: #e60000;
    transform: translateY(-3px);
}

/* --- 3. LINKS & CONTACT --- */
.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #e60000;
    border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px); /* Slide effect */
    color: #e60000;
}

/* Contact Info */
.contact-info { list-style: none; padding: 0; }
.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #94a3b8;
    align-items: flex-start;
}

.contact-info i {
    color: #e60000;
    font-size: 1.1rem;
    margin-top: 5px;
}

/* --- 4. BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    margin-top: 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    padding: 0 20px !important;
    align-items: center;
}

.bottom-flex p { color: #64748b; font-size: 0.9rem; }

.legal-links a {
    color: #64748b;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.legal-links a:hover { color: white; }

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 900px) {
    .footer-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .cta-text { margin-bottom: 20px; }
    
    .footer-container {
        grid-template-columns: 1fr; /* Stack Everything */
        gap: 40px;
    }
    
    .bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* Base Styles */
  

  .hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    color: white;
    padding: 0 5%;
    overflow: hidden;
  }

  /* Background Elements & Overlay */
  .grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: black;
    z-index: 0;
  }

  /* Content Styles */
  .content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    opacity: 0;
    padding-top: 50px;
    transform: translateX(-50px);
    animation: slideIn 1s forwards 0.5s;
  }

  h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.4;
  }

  .enroll-btn {
    background-color: red;
    color: white;
    padding: 15px 40px;
    border: none;
    margin-top: 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
  }

  .enroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
  }

  /* Creative Background Graphics & Image */
  .creative-graphics {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
  }

  .hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
    opacity: 0;
    transform: scale(1.1);
    animation: zoomIn 1.2s forwards 0.8s;
  }

  .shape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    opacity: 0;
    transform: translateX(100px) rotate(10deg);
  }

  .shape-blue {
    background-color: #1a2e5a;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 40% 0);
    z-index: 0;
    animation: shapeSlideIn 1.2s forwards 0.2s;
  }

  .shape-red {
    background-color: #e60000;
    clip-path: polygon(100% 0, 100% 100%, 50% 100%, 100% 50%);
    z-index: 2;
    animation: shapeSlideIn 1.2s forwards 0.4s;
  }

  /* Animations */
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes shapeSlideIn {
    to {
      opacity: 1;
      transform: translateX(0) rotate(0);
    }
  }

  @keyframes zoomIn {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }


/* Section Styling */
.welcome-section {
    padding: 80px 20px;
    background: #fff;
    position: relative;
    /* Creative slanted bottom edge */
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

/* Text Column */
.text-col {
    flex: 1;
    min-width: 300px;
}

.sub-heading {
    color: #003366; /* Deep Blue */
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.main-heading {
    color: #003366;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.2;
}

.content-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.inline-link {
    color: #e63946; /* Red */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    transition: color 0.3s;
}

.inline-link:hover {
    color: #b30000;
    text-decoration: underline;
}

/* Button */
.btn-red {
    background-color: #e63946;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn-red:hover {
    background-color: #d62828;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.5);
}

/* Image Column */
.img-col {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.main-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

/* Decorative Blob behind image */
.blob-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.1); /* Light Blue */
    border-radius: 10px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .main-img {
    transform: translate(-10px, -10px);
}

.image-wrapper:hover .blob-bg {
    transform: translate(10px, 10px);
}

/* --- Animations --- */

/* Initial hidden states */
.hidden-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.hidden-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

/* Active class added by JS */
.show {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    .main-heading {
        font-size: 2rem;
    }
    .welcome-section {
        clip-path: none; /* Remove slant on mobile for better spacing */
    }
}


/* --- Section Container --- */
.split-tuition-section {
    display: flex;
    height: 400px; /* Tall section */
    width: 100%;
    overflow: hidden;
    position: relative;
    font-family: 'Segoe UI', sans-serif;
}

/* --- Common Panel Styles --- */
.split-panel {
    position: relative;
    flex: 1; /* Both start at 50% width */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth 'Ease Out' animation */
    cursor: pointer;
    overflow: hidden;
}

/* Background Images */
.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
    z-index: 0;
}

/* IB Specifics */
.ib-panel .panel-bg {
    background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}
.ib-panel .panel-overlay {
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.4)); /* Navy Gradient */
}

/* IGCSE Specifics */
.igcse-panel .panel-bg {
    background-image: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
}
.igcse-panel .panel-overlay {
    background: linear-gradient(to top, rgba(204, 0, 0, 0.9), rgba(204, 0, 0, 0.4)); /* Red Gradient */
}

/* Overlay to darken images */
.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- Content Styling --- */
.panel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 500px;
    transition: transform 0.5s ease;
}

.icon-badge {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.split-panel h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.panel-desc {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Details Section (Hidden initially) */
.panel-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s ease;
    transform: translateY(20px);
}

.subject-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.subject-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.subject-list i {
    margin-right: 10px;
}

/* Button */
.btn-panel {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-panel:hover {
    background: white;
    color: #333;
}

/* --- Hover Effects / Interaction --- */

/* 1. Expand the hovered panel */
.split-panel:hover {
    flex: 3; /* Expands to take 75% (3 parts vs 1 part) */
}

/* 2. Zoom background image */
.split-panel:hover .panel-bg {
    transform: scale(1.1);
}

/* 3. Reveal details */
.split-panel:hover .panel-details {
    max-height: 500px; /* Arbitrary large height */
    opacity: 1;
    transform: translateY(0);
}

/* 4. Optional: Dim the non-hovered panel (requires hovering the parent section) */
.split-tuition-section:hover .split-panel:not(:hover) {
    opacity: 0.6; /* Dims the inactive side */
}

/* ================= MOBILE RESPONSIVE FIX ================= */
@media (max-width: 768px) {
    
    .split-tuition-section {
        flex-direction: column; /* Stack panels vertically */
        height: auto; /* Let height grow with content */
    }
    
    .split-panel {
        width: 100%;
        min-height: 450px; /* Ensure enough space for content */
        flex: none !important; /* CRITICAL: Stops the 'Hover' expansion on touch */
    }

    /* Disable the Hover Zoom on Mobile */
    .split-panel:hover .panel-bg {
        transform: none; 
    }

    /* Make Text Smaller for Phone */
    .split-panel h2 {
        font-size: 2.2rem; /* Reduced from 3rem */
    }
    
    .icon-badge {
        font-size: 2.5rem;
    }

    /* Force Details to be VISIBLE always (No hover needed) */
    .panel-details {
        max-height: 1000px !important; /* Allow full height */
        opacity: 1 !important;
        transform: translateY(0) !important;
        margin-top: 15px;
    }

    /* Adjust padding for mobile */
    .panel-content {
        padding: 40px 20px;
    }
    
    /* Hide the "Dimming" effect on mobile */
    .split-tuition-section:hover .split-panel:not(:hover) {
        opacity: 1 !important;
    }
}


/* Section Container */
.courses-section {
    padding: 80px 20px;
    background-color: #f8f9fa; /* Light grey background */
    width: 100%;
}

.section-title {
    text-align: center;
    color: #003366; /* Academic Blue */
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* --- CRITICAL TAB CSS --- */


/* 1. Force hide inactive tabs */
/* We use two classes (.courses-grid.tab-content) to make this rule stronger than the standard .courses-grid rule */
.courses-grid.tab-content {
    display: none;
}

/* 2. Show the active tab */
.courses-grid.tab-content.active {
    display: grid;
    animation: fadeIn 0.5s ease-in-out;
}

/* 3. Tab Buttons Styling */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #003366; /* Navy */
    color: #003366;
}

/* Active State for Buttons */
.tab-btn.active {
    background-color: #003366;
    color: white;
    border-color: #003366;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Reusing Your Existing Grid & Card CSS --- */
.courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img-wrapper {
    height: 180px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-btn {
    align-self: flex-start;
    background-color: #ff4757;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #e84118;
}


/* Section Background */
.creative-about-section {
    background-color: #111; /* Dark background like the original image */
    color: white;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

/* Container & Layout */
.about-wrapper {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

/* --- Left Column: Visuals --- */
.visual-col {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.creative-layers {
    position: relative;
    padding: 20px;
}

/* The Red Backdrop Box */
.layer-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    background-color: #e60000; /* Bright Red */
    border-radius: 4px;
    z-index: 0;
    transform: rotate(-3deg); /* Creative tilt */
    transition: transform 0.5s ease;
}

/* The Image on Top */
.layer-image {
    position: relative;
    z-index: 1;
    margin-left: 30px; /* Offset to show the red box behind */
    margin-top: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.layer-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Hover Interaction: Layers separate */
.visual-col:hover .layer-red {
    transform: rotate(-6deg) translateX(-10px);
}
.visual-col:hover .layer-image {
    transform: scale(1.02) translateY(-5px);
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: white;
    color: #333;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    font-weight: bold;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: #ffcc00; /* Yellow bulb */
    font-size: 1.2rem;
}

/* --- Right Column: Content --- */
.content-col {
    flex: 1;
}

.sub-title {
    color: #ccc;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.main-title {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 30px 0;
    font-weight: 700;
}

.description {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* --- Tour Button & Animation --- */
.tour-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    margin-top: 20px;
    
}

.play-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Play Button Circle */
.play-circle {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: transform 0.3s ease;
}

.play-circle i {
    color: #e60000;
    font-size: 1.2rem;
    margin-left: 3px; /* Visual center adjustment */
}

/* Pulse Ring Animation */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
    animation: pulse 2s infinite;
}

.tour-text {
    display: flex;
    flex-direction: column;
}

.tour-label {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.tour-sub {
    color: #888;
    font-size: 0.9rem;
}

/* Button Hover Effects */
.tour-cta:hover .play-circle {
    transform: scale(1.1);
    background-color: #e60000;
}
.tour-cta:hover .play-circle i {
    color: white;
}

/* Animations Keyframes */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .main-title {
        font-size: 2rem;
    }
    .layer-image {
        margin: 15px 0 0 15px;
    }
}


/* --- Section Base --- */
.expert-geo-section {
    padding: 100px 20px;
    background-color: #fff;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
}

.geo-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
}

/* --- Left: Typography --- */
.geo-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.accent-bar {
    width: 80px;
    height: 6px;
    background: #003366; /* Navy */
    margin-bottom: 30px;
    transform-origin: left;
    animation: growLine 1s ease-out forwards;
}

.sub-head {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.headline {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #003366;
    font-weight: 800; /* Extra bold */
    margin-bottom: 30px;
}

.highlight-red {
    color: #e60000; /* Brand Red */
    font-style: italic; /* Editorial touch */
    position: relative;
    display: inline-block;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    max-width: 90%;
}

/* --- Button: Box Slide Effect --- */
.btn-box {
    position: relative;
    display: inline-block;
    padding: 18px 40px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #003366;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #003366;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-box:hover {
    color: white;
}

.btn-box:hover .btn-bg {
    width: 100%;
}

/* --- Right: Geometric Visuals --- */
.geo-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 1. Main Image with Diagonal Clip */
.img-frame {
    position: relative;
    width: 100%;
    height: 100%;
    /* The sharp angle cut */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 0% 100%);
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.3s forwards;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.1); /* Hard shadow */
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-frame:hover img {
    transform: scale(1.05); /* Subtle Zoom */
}

/* 2. Stripes Pattern Background */
.pattern-stripes {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    /* Creating diagonal stripes with CSS gradients */
    background: repeating-linear-gradient(
        45deg,
        #f0f0f0,
        #f0f0f0 10px,
        #e60000 10px,
        #e60000 12px
    );
    z-index: -1;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

/* 3. Floating Badge */
.info-badge {
    position: absolute;
    bottom: 50px;
    left: -30px;
    background-color: white;
    padding: 20px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 5px solid #e60000;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out 1s forwards;
}

.big-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #003366;
    line-height: 1;
}

.small-txt {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Animations --- */
@keyframes growLine {
    from { width: 0; }
    to { width: 80px; }
}

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .geo-wrapper {
        flex-direction: column;
    }
    .headline {
        font-size: 2.5rem;
    }
    .geo-visual {
        width: 100%;
        height: 400px;
    }
    .info-badge {
        left: 0;
        bottom: 20px;
    }
}


/* --- Stats Section Layout --- */
.stats-section {
    background-color: #003366; /* Brand Navy Blue */
    padding: 80px 20px;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.stats-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

/* --- Left Column: Title --- */
.stats-intro {
    flex: 1;
    max-width: 300px;
}

.stats-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.highlight-word {
    color: transparent;
    -webkit-text-stroke: 2px white; /* Outline text effect */
    opacity: 0.8;
}

.decorative-line {
    width: 80px;
    height: 6px;
    background-color: #ff3333; /* Brand Red */
    border-radius: 3px;
    margin-top: 15px;
}

/* --- Right Column: Grid --- */
.stats-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

/* --- Stat Cards --- */
.stat-card {
    background: rgba(255, 255, 255, 0.05); /* Glassy transparent background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #ff3333; /* Glow red on border */
}

/* Icons */
.icon-box {
    font-size: 2rem;
    color: #ff3333;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.stat-card:hover .icon-box {
    transform: scale(1.2);
    color: white;
}

/* Numbers */
.counter-num {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
}

/* Adds the "+" after the number automatically */
.counter-num::after {
    content: '+';
    color: #ff3333;
    font-size: 2rem;
    vertical-align: super;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .stats-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-intro {
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .decorative-line {
        margin: 15px auto;
    }
}




/* --- Base Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* --- 1. Hero Section (Renamed) --- */
.ab-hero-section {
    position: relative;
    height: 60vh;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.ab-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.85); /* Navy Overlay */
    z-index: 1;
}

.ab-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.ab-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ab-highlight-red {
    color: #fd2e2e;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ab-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.ab-hero-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 150px 300px;
    border-color: transparent transparent #e60000 transparent;
    z-index: 2;
}

@media (max-width: 900px) {
    .ab-hero-section {
        height: 70vh;

    }
}


/* --- 2. Who We Are Section (Renamed) --- */
.ab-story-section {
    padding: 100px 20px;
    background-color: #fff;
}

.ab-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ab-story-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.ab-story-text {
    flex: 1;
}

.ab-sub-head {
    color: #e60000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.ab-section-heading {
    font-size: 2.8rem;
    color: #003366;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ab-red-divider {
    width: 60px;
    height: 4px;
    background: #e60000;
    margin-bottom: 30px;
}

.ab-story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.ab-stat-badge {
    display: inline-block;
    background: #f4f8fb;
    padding: 15px 30px;
    border-left: 5px solid #003366;
    margin-top: 10px;
}

.ab-stat-badge .count {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #003366;
}

.ab-stat-badge .label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

/* Visual Composition */
.ab-story-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.ab-visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.ab-main-img {
    width: 80%;
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ab-accent-img {
    width: 60%;
    border-radius: 10px;
    border: 5px solid white;
    position: absolute;
    bottom: 20px;
    left: 0;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.ab-visual-frame {
    position: absolute;
    top: 40px;
    right: -20px;
    width: 80%;
    height: 90%;
    border: 3px solid #e60000;
    z-index: 1;
    border-radius: 10px;
}

/* --- 3. What We Do Section (Renamed) --- */
.ab-services-section {
    padding: 100px 20px;
    background-color: #003366;
    position: relative;
    color: white;
}

.ab-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.ab-center-text {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.ab-white-heading {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.ab-white-sub {
    font-size: 1.2rem;
    color: #ccc;
}

.ab-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Feature Card */
.ab-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ab-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e60000;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.ab-feature-card:hover {
    background: white;
    transform: translateY(-10px);
}

.ab-feature-card:hover::before {
    transform: scaleY(1);
}

.ab-feature-card:hover h3 {
    color: #003366;
}

.ab-feature-card:hover p {
    color: #555;
}

.ab-icon-wrapper {
    font-size: 2.5rem;
    color: #e60000;
    margin-bottom: 25px;
    display: inline-block;
}

.ab-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.ab-feature-card p {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Animations --- */
.ab-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.ab-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .ab-story-layout {
        flex-direction: column;
    }
    .ab-hero-title {
        font-size: 2.5rem;
    }
    .ab-hero-shape {
        display: none;
    }
}

/* --- Testimonials --- */
.ab-reviews-section {
    padding: 100px 20px;
    background-color: #f9f9f9;
}

.ab-reviews-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 40px;
    scroll-behavior: smooth;
}

.ab-reviews-wrapper::-webkit-scrollbar {
    height: 8px;
}
.ab-reviews-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.ab-review-card {
    min-width: 350px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-top: 5px solid transparent;
}

.ab-review-card:hover {
    transform: translateY(-10px);
    border-top-color: #e60000;
}

.ab-quote-icon {
    font-size: 2rem;
    color: #e60000;
    margin-bottom: 20px;
    opacity: 0.3;
}

.ab-review-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.ab-user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ab-user-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #003366;
}

.ab-user-info h4 {
    margin: 0;
    color: #003366;
    font-size: 1rem;
}

.ab-user-info span {
    font-size: 0.85rem;
    color: #888;
}

/* --- Methodology --- */
.ab-method-section {
    padding: 100px 20px;
    background-color: white;
}

.ab-timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.ab-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.ab-timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
}

.ab-timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.ab-timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.ab-timeline-dot {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    background: #003366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 0 5px white;
}

.ab-timeline-item:nth-child(odd) .ab-timeline-dot {
    right: -20px;
}
.ab-timeline-item:nth-child(even) .ab-timeline-dot {
    left: -20px;
}

.ab-timeline-content {
    background: #f4f8fb;
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.ab-timeline-content:hover {
    transform: scale(1.05);
    background: #e6f0ff;
}

.ab-timeline-content h3 {
    color: #e60000;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .ab-timeline::before {
        left: 20px;
    }
    .ab-timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .ab-timeline-item:nth-child(odd) .ab-timeline-dot,
    .ab-timeline-item:nth-child(even) .ab-timeline-dot {
        left: 0;
    }
}

/* --- Contact Section --- */
.ab-contact-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #003366 0%, #001f3f 100%);
}

.ab-contact-box {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.ab-contact-info {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80') center/cover;
    position: relative;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ab-contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.85);
    z-index: 1;
}

.ab-contact-info h3, .ab-contact-info p, .ab-contact-info ul {
    position: relative;
    z-index: 2;
}

.ab-info-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.ab-info-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ab-form-wrapper {
    flex: 1;
    padding: 50px;
}

.ab-form-group {
    margin-bottom: 20px;
}

.ab-form-group input, .ab-form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    outline: none;
    transition: border 0.3s;
}

.ab-form-group input:focus, .ab-form-group select:focus {
    border-color: #003366;
    background: white;
}

.ab-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #e60000;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.ab-submit-btn:hover {
    background-color: #cc0000;
}

@media (max-width: 768px) {
    .ab-contact-box {
        flex-direction: column;
    }
}


/* --- Base Settings --- */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    overflow-x: hidden;
}

/* --- 1. Creative Header --- */
.contact-header {
    position: relative;
    height: 60vh; /* Tall header to allow overlap */
    background: linear-gradient(135deg, #003366 0%, #001f3f 100%); /* Brand Navy */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center content */
    text-align: center;
    overflow: hidden;
    padding-bottom: 50px; /* Push text up slightly */
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    padding-top: 50px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.header-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

/* Background Shapes Animation */
.shape-circle {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatShape 6s infinite ease-in-out;
}

.shape-triangle {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 150px solid rgba(230, 0, 0, 0.1); /* Brand Red tint */
    animation: floatShape 8s infinite ease-in-out reverse;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}



/* --- 2. Floating Contact Card --- */
.contact-wrapper {
    margin-top: -100px; /* Pulls the card UP into the header */
    padding-bottom: 50px;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-height: 550px;
}

/* --- Left Side: Info Panel --- */
.info-panel {
    flex: 2;
    background-color: #003366;
    color: white;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* Decorative pattern overlay */
.info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.info-panel h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.info-sub {
    color: #aabdd1;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: #ff3333; /* Brand Red */
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-item:hover .icon-circle {
    transform: scale(1.1);
    background: white;
}

.details span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #aabdd1;
    margin-bottom: 5px;
    font-weight: 600;
}

.details p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.social-links {
    margin-top: 50px;
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ff3333;
    border-color: #ff3333;
    transform: translateY(-3px);
}

/* --- Right Side: Form Panel --- */
.form-panel {
    flex: 3;
    padding: 50px;
    background: white;
}

.form-panel h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.creative-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Animated Input Group */
.input-group {
    position: relative;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #333;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    background: transparent;
    transition: border-bottom-color 0.3s;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Focus State Animations */
.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.85rem;
    color: #003366;
    font-weight: bold;
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: #e60000;
    transition: all 0.4s ease;
}

.input-group input:focus ~ .underline,
.input-group textarea:focus ~ .underline {
    width: 100%;
}

/* Submit Button */
.send-btn {
    padding: 15px 30px;
    background-color: #e60000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3);
}

.send-btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(230, 0, 0, 0.4);
}

.send-btn i {
    transition: transform 0.3s;
}

.send-btn:hover i {
    transform: translateX(5px) rotate(-10deg);
}

/* --- 3. Map Section --- */
.map-section {
    width: 100%;
    margin-bottom: -5px; /* Removes tiny white gap at bottom */
}

.google-map {
    filter: grayscale(20%) contrast(1.1); /* Subtle artistic filter for map */
    transition: filter 0.5s ease;
}

.google-map:hover {
    filter: grayscale(0%);
}

/* --- Animations --- */
.fade-in-down {
    animation: fadeInDown 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out 0.3s backwards; /* Delays start */
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .contact-card {
        flex-direction: column;
    }
    
    .contact-header {
        height: 70vh;
    }
    
    .contact-wrapper {
        margin-top: -50px;
    }
    
    .info-panel, .form-panel {
        padding: 30px;
    }
    
    .send-btn {
        width: 100%;
        justify-content: center;
    }
}



/* --- Base & Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

:root {
    --primary1: #003366; /* Navy */
    --accent1: #e60000;  /* Red */
    --light: #f4f8fb;
    --dark1: #0a192f;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: #333;
    overflow-x: hidden;
}

/* --- 1. Hero Section (Renamed) --- */
.ib-hero-section {
    position: relative;
    height: 60vh;
    background: linear-gradient(135deg, var(--dark1) 0%, var(--primary1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.ib-hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    animation: float 10s infinite ease-in-out;
}
.c1 { width: 300px; height: 300px; top: -50px; left: -100px; }
.c2 { width: 500px; height: 500px; bottom: -150px; right: -100px; animation-delay: 2s; }
.c3 { width: 100px; height: 100px; top: 20%; right: 20%; animation-delay: 4s; }

.ib-hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.ib-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.ib-hero-sub {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
}

.ib-btn-pulse {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent1);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7);
    animation: pulse-red 2s infinite;
    transition: transform 0.3s;
}

.ib-btn-pulse:hover {
    transform: translateY(-3px);
}

/* --- 2. Courses Grid (Renamed) --- */
.ib-courses-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ib-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ib-section-header h2 {
    font-size: 2.5rem;
    color: var(--primary1);
    position: relative;
    display: inline-block;
}

.ib-section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent1);
    margin: 10px auto 0;
}

.ib-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.ib-course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.ib-course-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.ib-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.ib-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ib-course-card:hover .ib-card-image img {
    transform: scale(1.1);
}

.ib-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0.6;
}

.ib-card-content {
    padding: 25px;
    position: relative;
}

.ib-card-icon {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(230,0,0,0.4);
}

.ib-course-card h3 {
    color: var(--primary1);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.ib-btn-link {
    color: var(--accent1);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.ib-btn-link:hover {
    gap: 10px;
}

/* --- 3. Testimonials (Renamed) --- */
.ib-testimonials-section {
    background: var(--primary1);
    padding: 80px 0;
    overflow: hidden;
    color: white;
}

.ib-marquee-wrapper {
    display: flex;
    width: 200%;
    animation: marquee 20s linear infinite;
}

.ib-testimonial-item {
    flex: 0 0 400px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    margin: 0 20px;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--accent1);
}

.ib-quote-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.ib-student-name {
    font-weight: 700;
    color: var(--accent1);
}

.ib-student-role {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* --- 4. Enquiry Form (Renamed) --- */
.ib-enquiry-section {
    padding: 100px 20px;
    background: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover fixed;
    position: relative;
}

.ib-form-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.ib-form-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    text-align: center;
}

.ib-form-container h2 {
    color: var(--primary1);
    margin-bottom: 30px;
}

.ib-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.ib-form-group input, .ib-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    transition: border 0.3s;
}

.ib-form-group input:focus, .ib-form-group textarea:focus {
    border-color: var(--primary1);
    outline: none;
}

.ib-btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary1);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.ib-btn-submit:hover {
    background: var(--accent1);
}

/* --- Animations --- */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ib-hero-title { font-size: 2.5rem; }
    .ib-marquee-wrapper { animation-duration: 10s; }
    .ib-testimonial-item { flex: 0 0 300px; }
}

/* --- 5. Features Section (Renamed) --- */
.ib-features-section {
    padding: 80px 20px;
    background: white;
}

.ib-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ib-feature-box {
    background: var(--light);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ib-feature-box:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary1);
    transform: translateY(-5px);
}

.ib-f-icon {
    font-size: 2.5rem;
    color: var(--accent1);
    margin-bottom: 20px;
    height: 70px;
    width: 70px;
    line-height: 70px;
    background: rgba(230, 0, 0, 0.1);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s;
}

.ib-feature-box:hover .ib-f-icon {
    background: var(--accent1);
    color: white;
    transform: rotateY(180deg);
}

.ib-feature-box h3 {
    color: var(--primary1);
    margin-bottom: 15px;
}

/* --- 6. Process Section (Renamed) --- */
.ib-process-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(0,51,102,0.9), rgba(0,51,102,0.9)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80') center/cover fixed;
    text-align: center;
    color: white;
}

.ib-timeline-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ib-process-step {
    flex: 1;
    min-width: 200px;
    position: relative;
    padding: 20px;
}

/* Connecting Line (Desktop Only) */
@media (min-width: 900px) {
    .ib-process-step::after {
        content: '';
        position: absolute;
        top: 40px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: rgba(255,255,255,0.3);
        z-index: -1;
    }
    .ib-process-step:last-child::after {
        display: none;
    }
}

.ib-step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.ib-process-step:hover .ib-step-num {
    color: var(--accent1);
}

.ib-process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- 7. FAQ Section (Renamed) --- */
.ib-faq-section {
    padding: 80px 20px;
    background: var(--light);
}

.ib-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.ib-faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ib-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.ib-faq-question:hover {
    background: #f9f9f9;
}

.ib-faq-question i {
    transition: transform 0.3s;
    color: var(--accent1);
}

/* Active State for FAQ */
.ib-faq-question.active i {
    transform: rotate(45deg);
}

.ib-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
    padding: 0 20px;
}

.ib-faq-answer p {
    margin: 20px 0;
    color: #666;
    line-height: 1.6;
}


/* --- Base Variables --- */
:root {
    --navy: #003366;
    --teal: #008080;  /* The main theme color from your image */
    --green: #32CD32; /* The button color from your image */
    --light-teal: #e0f2f1;
    --text: #333;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fdfdfd;
    overflow-x: hidden;
}

h1, h2, h3, h5 { margin: 0; }

/* --- Base Variables (Scoped for Home Tutor Page) --- */
:root {
    --navy: #003366;
    --teal: #008080;  /* The main theme color from your image */
    --green: #32CD32; /* The button color from your image */
    --light-teal: #e0f2f1;
    --text: #333;
    --white: #ffffff;
}

/* --- 1. Hero Section (Renamed) --- */
.ht-hero-section {
    position: relative;
    height: 70vh;
    background: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.ht-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 128, 128, 0.8));
}

.ht-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: htFadeInDown 1s ease-out;
}

.ht-hero-tag {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ht-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 20px 0;
}

.ht-hero-sub {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.ht-btn-teal {
    display: inline-block;
    padding: 15px 40px;
    background: var(--teal);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.4);
}

.ht-btn-teal:hover {
    background: #006666;
    transform: translateY(-3px);
}

/* Wave Divider */
.ht-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.ht-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.ht-shape-fill { fill: #fdfdfd; }

/* --- 2. Intro Section (Renamed) --- */
.ht-intro-section {
    padding: 100px 20px;
}
.ht-container { max-width: 1200px; margin: 0 auto; }

.ht-intro-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ht-intro-text {
    flex: 1; /* Fixes layout issue */
    min-width: 300px;
}

.ht-sub-head { color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

.ht-intro-text h2 {
    font-size: 2.5rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 25px;
}

.ht-highlight-teal { color: var(--teal); }

.ht-intro-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ht-quote-box {
    border-left: 4px solid var(--teal);
    padding-left: 20px;
    margin-top: 30px;
    font-style: italic;
    color: #555;
}

.ht-intro-image {
    position: relative;
    flex: 1; /* Fixes layout issue */
    min-width: 300px;
}

.ht-img-frame-blob {
    overflow: hidden;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
    animation: htBlobAnim 8s ease-in-out infinite alternate;
}

.ht-img-frame-blob img { width: 100%; display: block; }

.ht-badge-float {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--teal);
}

/* --- 3. Elements Section (Renamed) --- */
.ht-elements-section {
    padding: 80px 20px;
    background: var(--light-teal);
}

.ht-center { text-align: center; margin-bottom: 50px; }

.ht-process-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.ht-process-card {
    background: white;
    padding: 30px 20px;
    width: 200px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 4px solid transparent;
}

.ht-process-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--teal);
}

.ht-step-icon {
    width: 60px; height: 60px;
    background: var(--light-teal);
    color: var(--teal);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.ht-process-card:hover .ht-step-icon {
    background: var(--teal);
    color: white;
}

.ht-process-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.ht-process-card p { font-size: 0.9rem; color: #666; }

/* --- 4. Perspective Section (Renamed) --- */
.ht-perspective-section {
    padding: 100px 20px;
    background: url('https://images.unsplash.com/photo-1577896851231-70ef18881754?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover fixed;
    position: relative;
    color: white;
    text-align: center;
}

.ht-perspective-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 51, 102, 0.85);
}

.ht-perspective-content {
    position: relative; z-index: 2; max-width: 800px; margin: 0 auto;
}

.ht-perspective-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.ht-perspective-content p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }

.ht-skills-tags {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.ht-skills-tags span {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
}

/* --- 5. Advantages Accordion (Renamed) --- */
.ht-advantages-section { padding: 100px 20px; }

.ht-accordion { max-width: 800px; margin: 0 auto; }

.ht-accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.ht-accordion-header {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.ht-accordion-header:hover { background: #f9f9f9; }

.ht-icon-box {
    width: 40px; height: 40px;
    background: var(--light-teal);
    color: var(--teal);
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 15px;
}

.ht-arrow { margin-left: auto; transition: transform 0.3s; }
.ht-accordion-header.active .ht-arrow { transform: rotate(180deg); }

.ht-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.ht-accordion-body p { padding: 20px; color: #666; margin: 0; border-top: 1px solid #eee; }

/* --- 6. Teal Contact Section (Renamed) --- */
.ht-contact-section {
    padding: 80px 20px;
    background-color: #0d5f66; /* Dark Teal Background */
    color: white;
}

.ht-contact-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.ht-contact-text { flex: 1; }

.ht-contact-text h2 { font-size: 1.2rem; margin-bottom: 5px; opacity: 0.9; }
.ht-contact-text h1 { font-size: 3rem; margin-bottom: 20px; }
.ht-contact-text p { margin-bottom: 30px; opacity: 0.8; }

.ht-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
}
.ht-btn-outline:hover { background: white; color: var(--teal); }

.ht-contact-form { flex: 1; }

.ht-contact-form form {
    display: flex; flex-direction: column; gap: 20px;
}

.ht-form-group label {
    display: block; font-size: 0.9rem; margin-bottom: 5px; font-weight: 600;
}

.ht-form-group input, .ht-form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
}

.ht-btn-green {
    padding: 15px;
    background: var(--green); /* Bright Green button */
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.ht-btn-green:hover { background: #2db32d; }

/* Mobile */
@media (max-width: 900px) {
    .ht-intro-grid, .ht-contact-grid { flex-direction: column; }
    .ht-hero-title { font-size: 2.5rem; }
}

@keyframes htBlobAnim {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

@keyframes htFadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Base Variables (Scoped for IB Courses Page) --- */
:root {
    --ibc-primary: #006064; /* Teal/Dark Cyan */
    --ibc-secondary: #003366; /* Navy */
    --ibc-accent: #e53935; /* Red */
    --ibc-bg: #f8f9fa;
    --ibc-white: #ffffff;
    --ibc-text: #333333;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--ibc-text);
    background-color: var(--ibc-bg);
    overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }

/* --- 1. Hero Section --- */
.ibc-hero-section {
    position: relative;
    height: 50vh;
    background: linear-gradient(135deg, #004d40 0%, #006064 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ibc-white);
    overflow: hidden;
}

/* Decorative Geometric Shapes */
.ibc-geo-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ibc-shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: ibcFloat 8s infinite ease-in-out;
}

.ibc-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    right: -20px;
    transform: rotate(45deg);
    border-radius: 20px;
    animation: ibcFloat 10s infinite reverse ease-in-out;
}

.ibc-hero-content {
    z-index: 2;
    animation: ibcSlideUp 1s ease-out;
}

.ibc-hero-tag {
    display: block;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.ibc-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ibc-hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* --- 2. Intro Section --- */
.ibc-intro-section {
    padding: 80px 20px;
    background: var(--ibc-white);
}

.ibc-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ibc-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.ibc-section-title h2 {
    font-size: 2.5rem;
    color: var(--ibc-secondary);
    margin-bottom: 15px;
}

.ibc-divider {
    width: 80px;
    height: 4px;
    background: var(--ibc-accent);
    margin: 0 auto;
    border-radius: 2px;
}

.ibc-lead-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* --- 3. Honeycomb Grid (Subject Groups) --- */
.ibc-groups-section {
    padding: 80px 20px;
    background: #e0f2f1; /* Light Teal */
}

.ibc-honeycomb-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.ibc-hex-card {
    width: 280px;
    height: 300px;
    /* Hexagon Clip Path */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--ibc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.4s ease, background 0.4s ease;
    margin-bottom: -50px; /* Overlap effect */
}

/* Alternate positioning for desktop */
@media (min-width: 992px) {
    .ibc-hex-card:nth-child(even) {
        margin-top: 80px;
    }
}

.ibc-hex-card:hover {
    transform: scale(1.05);
    background: var(--ibc-secondary);
    z-index: 10;
}

.ibc-hex-inner {
    padding: 20px;
}

.ibc-hex-icon {
    font-size: 2.5rem;
    color: var(--ibc-primary);
    margin-bottom: 15px;
    transition: color 0.4s;
}

.ibc-hex-card:hover .ibc-hex-icon {
    color: var(--ibc-white);
}

.ibc-hex-card h3 {
    font-size: 1.2rem;
    color: var(--ibc-secondary);
    margin-bottom: 5px;
    transition: color 0.4s;
}

.ibc-hex-card:hover h3 {
    color: var(--ibc-white);
}

.ibc-hex-card span {
    font-size: 0.9rem;
    color: #666;
    transition: color 0.4s;
}

.ibc-hex-card:hover span {
    color: rgba(255, 255, 255, 0.8);
}

/* --- 4. Tabs Section --- */
.ibc-tabs-section {
    padding: 100px 20px;
    background: var(--ibc-white);
}

.ibc-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.ibc-tabs-nav {
    display: flex;
    background: var(--ibc-secondary);
}

.ibc-tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.ibc-tab-btn:hover {
    color: var(--ibc-white);
    background: rgba(255, 255, 255, 0.1);
}

.ibc-tab-btn.active {
    color: var(--ibc-white);
    border-bottom-color: var(--ibc-accent);
    background: rgba(255, 255, 255, 0.15);
}

.ibc-tab-content {
    padding: 40px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: var(--ibc-white);
}

.ibc-tab-content.active {
    display: block; /* Fallback */
    opacity: 1;
}

.ibc-tab-content h3 {
    color: var(--ibc-secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.ibc-tab-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ibc-highlight-box {
    background: #e0f7fa;
    padding: 15px;
    border-left: 4px solid var(--ibc-primary);
    color: #006064;
    font-size: 0.95rem;
}

.ibc-list {
    list-style: none;
    padding: 0;
}

.ibc-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #444;
}

/* --- 5. Course Grid --- */
.ibc-courses-grid-section {
    padding: 80px 20px;
    background: var(--ibc-bg);
}

.ibc-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ibc-course-card {
    background: var(--ibc-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.ibc-course-card:hover {
    transform: translateY(-10px);
}

.ibc-card-img {
    height: 180px;
    overflow: hidden;
}

.ibc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ibc-course-card:hover .ibc-card-img img {
    transform: scale(1.1);
}

.ibc-card-body {
    padding: 25px;
    text-align: center;
}

.ibc-card-body h3 {
    font-size: 1.2rem;
    color: var(--ibc-secondary);
    margin-bottom: 20px;
}

.ibc-btn-read {
    display: inline-block;
    padding: 10px 30px;
    background: var(--ibc-accent);
    color: var(--ibc-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: background 0.3s;
}

.ibc-btn-read:hover {
    background: #c62828;
}

/* --- 6. Contact Section --- */
.ibc-contact-section {
    padding: 80px 20px;
    background: var(--ibc-white);
}

.ibc-contact-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--ibc-white);
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.ibc-contact-text {
    flex: 1;
}

.ibc-contact-text h2 {
    font-size: 2.5rem;
    color: var(--ibc-secondary);
    margin-bottom: 15px;
}

.ibc-contact-text p {
    color: #666;
    margin-bottom: 30px;
}

.ibc-btn-contact-trigger {
    padding: 12px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: default; /* Just a visual button here, functionality in form */
}

.ibc-contact-form-box {
    flex: 1;
    background: var(--ibc-primary);
    padding: 30px;
    border-radius: 15px;
    color: white;
}

.ibc-contact-form-box h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.ibc-form-row {
    display: flex;
    gap: 15px;
}

.ibc-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
}

.ibc-btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--green); /* Assuming green var exists, else hardcode */
    background-color: #32CD32;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.ibc-btn-submit:hover {
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .ibc-hex-card {
        width: 100%;
        max-width: 300px;
        clip-path: none;
        border-radius: 15px;
        height: auto;
        margin-bottom: 20px;
    }
    
    .ibc-tabs-nav {
        flex-direction: column;
    }
    
    .ibc-contact-layout {
        flex-direction: column;
    }
    
    .ibc-hero-title {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes ibcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes ibcSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Base Variables (Scoped for IGCSE Page) --- */
:root {
    --igc-primary: #800000; /* Maroon/Deep Red for Cambridge/IGCSE feel */
    --igc-secondary: #002147; /* Oxford Blue */
    --igc-accent: #ff4500; /* Bright Orange-Red */
    --igc-bg: #fdfdfd;
    --igc-white: #ffffff;
    --igc-text: #333333;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--igc-text);
    background-color: var(--igc-bg);
    overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }

/* --- 1. Hero Section --- */
.igc-hero-section {
    position: relative;
    height: 50vh;
    background: linear-gradient(135deg, #2c3e50 0%, #e74c3c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--igc-white);
    overflow: hidden;
}

/* Decorative Geometric Shapes */
.igc-geo-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.igc-shape-1 {
    width: 350px;
    height: 350px;
    top: -100px;
    right: -50px;
    border-radius: 50%;
    animation: igcFloat 9s infinite ease-in-out;
}

.igc-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 40px;
    left: 40px;
    transform: rotate(15deg);
    border-radius: 15px;
    animation: igcFloat 7s infinite reverse ease-in-out;
}

.igc-hero-content {
    z-index: 2;
    animation: igcSlideUp 1s ease-out;
}

.igc-hero-tag {
    display: block;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.igc-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.igc-hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* --- 2. Intro Section --- */
.igc-intro-section {
    padding: 80px 20px;
    background: var(--igc-white);
}

.igc-container {
    max-width: 1100px;
    margin: 0 auto;
}

.igc-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.igc-section-title h2 {
    font-size: 2.5rem;
    color: var(--igc-secondary);
    margin-bottom: 15px;
}

.igc-divider {
    width: 80px;
    height: 4px;
    background: var(--igc-accent);
    margin: 0 auto;
    border-radius: 2px;
}

.igc-lead-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* --- 3. Honeycomb Grid --- */
.igc-groups-section {
    padding: 80px 20px;
    background: #f4f8fb;
}

.igc-honeycomb-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.igc-hex-card {
    width: 280px;
    height: 300px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--igc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.4s ease, background 0.4s ease;
    margin-bottom: -50px; /* Overlap effect */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Only visible if clip-path allows, mostly subtle */
}

@media (min-width: 992px) {
    .igc-hex-card:nth-child(even) {
        margin-top: 80px;
    }
}

.igc-hex-card:hover {
    transform: scale(1.05);
    background: var(--igc-secondary);
    z-index: 10;
}

.igc-hex-inner {
    padding: 20px;
}

.igc-hex-icon {
    font-size: 2.5rem;
    color: var(--igc-primary);
    margin-bottom: 15px;
    transition: color 0.4s;
}

.igc-hex-card:hover .igc-hex-icon {
    color: var(--igc-white);
}

.igc-hex-card h3 {
    font-size: 1.2rem;
    color: var(--igc-secondary);
    margin-bottom: 5px;
    transition: color 0.4s;
}

.igc-hex-card:hover h3 {
    color: var(--igc-white);
}

.igc-hex-card span {
    font-size: 0.9rem;
    color: #666;
    transition: color 0.4s;
}

.igc-hex-card:hover span {
    color: rgba(255, 255, 255, 0.8);
}

/* --- 4. Tabs Section --- */
.igc-tabs-section {
    padding: 100px 20px;
    background: var(--igc-white);
}

.igc-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.igc-tabs-nav {
    display: flex;
    background: var(--igc-secondary);
}

.igc-tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.igc-tab-btn:hover {
    color: var(--igc-white);
    background: rgba(255, 255, 255, 0.1);
}

.igc-tab-btn.active {
    color: var(--igc-white);
    border-bottom-color: var(--igc-accent);
    background: rgba(255, 255, 255, 0.15);
}

.igc-tab-content {
    padding: 40px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: var(--igc-white);
}

.igc-tab-content.active {
    display: block;
    opacity: 1;
}

.igc-tab-content h3 {
    color: var(--igc-secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.igc-tab-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.igc-highlight-box {
    background: #fff3e0;
    padding: 15px;
    border-left: 4px solid var(--igc-accent);
    color: #d84315;
    font-size: 0.95rem;
}

.igc-list {
    list-style: none;
    padding: 0;
}

.igc-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #444;
}

/* --- 5. Course Grid --- */
.igc-courses-grid-section {
    padding: 80px 20px;
    background: var(--igc-bg);
}

.igc-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.igc-course-card {
    background: var(--igc-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.igc-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.igc-card-img {
    height: 180px;
    overflow: hidden;
}

.igc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.igc-course-card:hover .igc-card-img img {
    transform: scale(1.1);
}

.igc-card-body {
    padding: 25px;
    text-align: center;
}

.igc-card-body h3 {
    font-size: 1.2rem;
    color: var(--igc-secondary);
    margin-bottom: 10px;
}

.igc-card-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.igc-btn-read {
    display: inline-block;
    padding: 10px 30px;
    background: var(--igc-primary);
    color: var(--igc-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: background 0.3s;
}

.igc-btn-read:hover {
    background: var(--igc-accent);
}

/* --- 6. Contact Section --- */
.igc-contact-section {
    padding: 80px 20px;
    background: var(--igc-white);
}

.igc-contact-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--igc-white);
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.igc-contact-text {
    flex: 1;
}

.igc-contact-text h2 {
    font-size: 2.5rem;
    color: var(--igc-secondary);
    margin-bottom: 15px;
}

.igc-contact-text p {
    color: #666;
    margin-bottom: 30px;
}

.igc-btn-contact-trigger {
    padding: 12px 30px;
    background: var(--igc-secondary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: default;
}

.igc-contact-form-box {
    flex: 1;
    background: var(--igc-secondary);
    padding: 30px;
    border-radius: 15px;
    color: white;
}

.igc-contact-form-box h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.igc-form-row {
    display: flex;
    gap: 15px;
}

.igc-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
}

.igc-btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--igc-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.igc-btn-submit:hover {
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .igc-hex-card {
        width: 100%;
        max-width: 300px;
        clip-path: none;
        border-radius: 15px;
        height: auto;
        margin-bottom: 20px;
    }
    
    .igc-tabs-nav {
        flex-direction: column;
    }
    
    .igc-contact-layout {
        flex-direction: column;
    }
    
    .igc-hero-title {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes igcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes igcSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}