:root {
    --primary-color: #002147; /* Navy Blue */
    --accent-color: #d81f26; /* Logo Red */
    --accent-hover: #b71a20;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --bg-light: #ffffff;
    --bg-alt: #f4f7f9;
    --bg-dark: #001529;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-subtle: 0 2px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 6px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-outline-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 100px;
    border: 2px solid var(--accent-color);
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    background: transparent;
    cursor: default;
}

.cta-outline-box i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.cta-outline-box-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    letter-spacing: 0.5px;
    font-weight: 700;
    text-transform: none;
    background: transparent;
    transition: var(--transition);
}

.cta-outline-box-sm:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(216, 31, 38, 0.2);
}

.cta-outline-box-sm i {
    font-size: 1rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

section {
    padding: 100px 0; /* More whitespace between sections */
}

.section-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Header & Navigation */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 2000; /* Above overlay */
    padding: 15px 0;
    transition: all 0.4s ease; /* Smooth transition */
    border-bottom: 2.5px solid var(--accent-color); /* Decorative red strip */
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast; 
    transition: all 0.4s ease;
}

.scrolled .logo img {
    height: 60px;
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .mobile-only {
        display: block;
    }
    
    .nav-links li.mobile-only {
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-top: 10px;
        margin-top: 10px;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 150px;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links > li > a:hover::after {
    width: 100%;
}

.nav-links > li > a i {
    font-size: 0.7rem;
}

/* MEGA MENU STYLES */
.nav-links li {
    position: relative;
    list-style: none;
}

.mega-menu, .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -200px;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 21, 41, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    padding: 30px;
    border-top: 3px solid var(--accent-color);
}

.dropdown-menu {
    left: 0;
    min-width: 250px;
    padding: 15px 0;
}

.mega-menu.mini-mega {
    left: -100px;
}

.has-mega-menu:hover .mega-menu,
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: flex;
    gap: 40px;
    width: max-content;
    max-width: 80vw;
}

.mini-mega .mega-menu-grid {
    width: max-content;
}

.mega-col {
    min-width: 200px;
}

.mega-col h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.mega-col h4 i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.mega-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    background: var(--light-gray);
    padding: 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.mega-card:hover {
    background: #e9ecef;
}

.mega-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.mega-card h5 {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.mega-card a {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    display: inline-block;
}

.mega-col ul {
    list-style: none;
    padding: 0;
}

.mega-col ul li {
    margin-bottom: 12px;
}

.mega-col ul li a {
    color: var(--text-main);
    font-size: 0.9rem;
}

.mega-col ul li a i {
    width: 20px;
    color: var(--accent-color);
}

.people-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.person-card {
    background: rgba(0, 33, 71, 0.05);
    padding: 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    text-align: center;
    transition: var(--transition);
}

.person-card:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

.news-feed a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-main);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.news-feed a:hover {
    color: var(--accent-color);
}

.contact-mini li {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: block;
}
.dropdown-menu li a:hover {
    background: var(--light-gray);
}

.dropdown-header {
    padding: 10px 20px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-divider {
    height: 1px;
    background-color: rgba(0,0,0,0.05);
    margin: 5px 0;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Sidebar / Off-Canvas - Straight Edge Design */
.search-sidebar {
    position: fixed;
    top: 0;
    left: -400px; /* Hidden off the left */
    width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #002147 0%, #001529 100%);
    z-index: 3000;
    transition: all 0.4s ease;
    box-shadow: 15px 0 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.search-sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 60px 40px 30px; /* More top padding for curve */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-logo span {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--white);
    letter-spacing: 1px;
}

.close-sidebar {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.close-sidebar:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.sidebar-search-box {
    padding: 30px 40px;
}

.sidebar-search-box {
    padding: 30px;
    position: relative;
}

.sidebar-search-box input {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sidebar-search-box button {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1rem;
    cursor: pointer;
}

.sidebar-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.sidebar-nav {
    padding: 0 30px 30px;
}

.nav-section-label {
    color: rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-sub-nav {
    list-style: none;
    padding-left: 20px;
    margin: 5px 0 15px 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-sub-nav li a {
    font-size: 0.8rem !important;
    padding: 6px 0 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 400 !important;
    display: block;
}

.sidebar-sub-nav li a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px !important;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0; /* Reduced padding */
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.sidebar-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.sidebar-footer {
    padding: 30px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer p {
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
/* Hero Section with Cinematic Ken Burns Effect */
.hero {
    min-height: 80vh; /* Increased to show more image content */
    height: clamp(700px, 90vh, 1200px); /* Larger boundaries for a taller, more immersive view */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align container to the left */
    color: var(--white);
    overflow: hidden;
    border-bottom: 2.5px solid var(--accent-color); /* Matching decorative strip */
}

/* Background image on pseudo-element for independent scaling */
/* Hero Slideshow */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%; /* Balanced positioning to show faces and middle content */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

/* Hide old pseudo-element */
.hero::before { display: none; }

/* Hero Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--white);
    border-color: var(--accent-color);
    transform: scale(1.2);
}


@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15); /* Slow zoom in */
    }
}

/* Removed Flag Styles */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 33, 71, 0.95) 0%, rgba(0, 33, 71, 0.7) 40%, rgba(0, 33, 71, 0) 100%);
    z-index: 1; /* Above the background image */
}

/* Floating Menu Styles */
.hero-floating-menu {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 300px; /* Wider to allow for a smooth fade */
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Push items to the right */
    background: linear-gradient(-90deg, rgba(0, 21, 41, 0.95) 0%, rgba(0, 21, 41, 0.5) 50%, rgba(0, 21, 41, 0) 100%);
    padding-right: 20px; /* Minimal padding from the edge */
    border: none;
    box-shadow: none;
    animation: fadeInRightPermanent 1s ease-out 1.2s forwards;
    opacity: 0;
}

@keyframes fadeInRightPermanent {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-item {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px; /* Slightly wider for better text fit */
    color: var(--white);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.08); /* Elevated background */
    backdrop-filter: blur(8px); /* Increased blur for softness */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0; /* No space between */
    box-shadow: none;
    border-radius: 0; /* Sharp edges */
    cursor: pointer;
    text-decoration: none;
}

.floating-item:last-child {
    margin-bottom: 0;
}

.floating-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.floating-item.red {
    background: var(--accent-color);
}

.floating-item.red i, .floating-item.red span {
    color: white;
}

.floating-item.red:hover {
    background: var(--accent-hover);
}

.floating-item i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7); /* Dull white */
}

/* Interior Page Hero Styles */
.page-hero {
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center top; /* Keeps top content visible and avoids zooming into the center */
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.6));
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-separator {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 25px;
}

.floating-item span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    margin-left: 0; /* Align to the far left */
    max-width: 100%; /* Allow it to span the whole width */
    padding-left: 5%; /* Add a small, elegant gap from the edge */
}

.hero-content {
    max-width: 650px;
    text-align: left;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards;
}

.hero-separator {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.45s forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-text-slider {
    min-height: 230px; /* Prevent button jumping */
}

.text-slide {
    display: none;
}

.text-slide.active {
    display: block;
}

.hero-btns {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.9s forwards;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.dot.active {
    background-color: var(--accent-color);
    width: 25px;
    border-radius: 10px;
}

/* About Section */
.about-brief {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2.5fr; /* Give more width to the icons on the right */
    gap: 50px;
    align-items: stretch; /* Make it match the height of the text column */
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    height: 100%;
}

.feature-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 10%;
    height: 80%;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.feature-item.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

/* Icon Colors */
.feature-icon.icon-blue { color: var(--primary-color); border-bottom: 4px solid var(--primary-color); }
.feature-icon.icon-green { color: #2e7d32; border-bottom: 4px solid #2e7d32; }
.feature-icon.icon-yellow { color: #f9a825; border-bottom: 4px solid #f9a825; }
.feature-icon.icon-red { color: var(--accent-color); border-bottom: 4px solid var(--accent-color); }

.feature-item:hover .feature-icon {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.feature-icon.icon-blue:hover { background-color: var(--primary-color); color: var(--white); }
.feature-icon.icon-green:hover { background-color: #2e7d32; color: var(--white); }
.feature-icon.icon-yellow:hover { background-color: #f9a825; color: var(--white); }
.feature-icon.icon-red:hover { background-color: var(--accent-color); color: var(--white); }

.feature-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Programme Section */
.bg-alt { background-color: var(--bg-alt); }

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.programme-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: perspective(1000px) rotateY(-30deg) translateY(50px);
    backface-visibility: hidden;
}

.programme-card.flip-active {
    opacity: 1;
    transform: perspective(1000px) rotateY(0) translateY(0);
}

.programme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 5;
}

.programme-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.programme-card:hover::before {
    transform: scaleX(1);
}

.programme-card:hover .card-img {
    transform: scale(1.1);
}

.card-img-wrapper {
    overflow: hidden;
    height: 180px;
    flex-shrink: 0;
}

.card-img {
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.learn-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.updates .learn-more {
    color: var(--white);
    font-weight: 800;
}

.learn-more i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Updates Section */
.updates {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.updates .section-title {
    color: var(--white);
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.research-list {
    margin-bottom: 30px;
}

.research-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 10px;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.research-item:last-child {
    border-bottom: none;
}

.research-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateX(10px);
}

.research-item img {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
}

.research-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--white);
    font-weight: 700;
}

.research-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.research-item i {
    margin-left: auto;
    font-size: 0.8rem;
    color: #ccc;
}

.view-all {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Events */
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-all-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.event-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.event-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.event-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: center 20%; /* Slightly higher to prioritize faces */
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.event-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-content .learn-more {
    margin-top: 15px;
}

/* CTA Bottom Redesign */
.cta-bottom.bg-dark {
    background: linear-gradient(135deg, #002147 0%, #001529 100%); /* Richer gradient */
    color: var(--white);
    padding: 80px 0 120px;
    border-top: 2.5px solid var(--accent-color); /* Top red strip */
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern effect */
.cta-bottom.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-main-title {
    text-align: left;
    font-size: 1.25rem;
    letter-spacing: 1px;
    margin-bottom: 50px;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
}

.cta-main-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-right: 5px;
}

.cta-main-title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* Remove gap to use borders as separators */
}

.cta-item {
    display: flex;
    align-items: flex-start; /* Align to top for better text layout */
    gap: 20px;
    padding: 10px 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-item:last-child {
    border-right: none;
}

.cta-icon-box {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.cta-item:hover .cta-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.circle-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.circle-gold {
    background: linear-gradient(135deg, #d81f26 0%, #b71a20 100%);
    box-shadow: 0 10px 20px rgba(216, 31, 38, 0.3);
}

.circle-green {
    background: linear-gradient(135deg, #1a5e2a 0%, #13461f 100%);
    box-shadow: 0 10px 20px rgba(26, 94, 42, 0.3);
}

.circle-outline-calendar {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.cta-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.cta-content p {
    font-size: 0.85rem;
    line-height: 1.3;
    opacity: 0.8;
    margin-bottom: 10px;
}

.cta-link {
    color: var(--accent-color) !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-link i {
    font-size: 0.75rem;
}

/* Footer Strip */
.footer-strip {
    background: linear-gradient(135deg, #002147 0%, #001529 100%);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
    border-top: 2.5px solid var(--accent-color); /* Top red strip */
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push left and right apart */
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-content p {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-right a:hover {
    color: var(--white);
}

.footer-bird-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-icon {
    font-size: 2.2rem; /* Significantly larger */
    opacity: 1;
    color: var(--white); /* White bird as requested */
}

.branch-icon {
    position: absolute;
    font-size: 0.9rem;
    color: #4CAF50; /* Green olive branch */
    top: 50%;
    right: -2px;
    transform: translateY(-50%) rotate(-45deg);
}

/* Courses Section */
.courses-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.course-icons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.course-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.course-icon-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.c-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.course-icon-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.academy-cta-card {
    display: flex;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.academy-text {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.academy-text h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

.academy-cta-card img {
    width: 200px;
    object-fit: cover;
}

/* Partners Section - Reference Image Inspired */
.partners {
    padding: 20px 0 40px; /* Reduced vertical space */
    background-color: var(--white);
    border-top: 1px solid #f0f0f0;
}

.partners h2.section-title {
    margin-bottom: 40px;
    display: inline-block;
}

.partners h2.section-title::after {
    width: 40px; /* Specific width from image */
    height: 4px;
    background-color: #f1b317; /* Gold color from image */
    bottom: -10px;
}

.partners-row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    width: max-content; /* Important for animation */
    animation: scroll 40s linear infinite; /* Automatic sliding */
}

.partners-row:hover {
    animation-play-state: paused; /* Pause on hover for interaction */
}

/* Container to hide the overflow and show only one row at a time */
.partners .container {
    overflow: hidden;
    position: relative;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move half the width (the first set) */
    }
}

/* For "Left to Right" specifically as requested */
/* To move left-to-right, we start at -50% and go to 0% */
.partners-row.scroll-right {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partner-item {
    flex: 0 0 300px; /* Matched to logo width to eliminate extra space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0; /* Zero horizontal padding to bring separators as close as possible */
    border-right: 2px solid rgba(0, 33, 71, 0.1);
    text-align: center;
}

.partner-item:last-child {
    border-right: none;
}

.partner-item img {
    width: 300px;
    height: 80px; /* More compact height */
    object-fit: contain;
    margin-bottom: 10px;
    transition: var(--transition);
}

.partner-item:hover img {
    transform: scale(1.05);
}

.partner-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    text-transform: uppercase;
}

.view-all-partners {
    color: #1a5e2a; /* Green from image */
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.view-all-partners:hover {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Enhancements */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }

    .hero-floating-menu {
        display: none;
    }

    .about-grid, .updates-grid, .courses-preview-grid, .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mobile Menu Logic */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px; /* Slightly narrower */
        height: 100vh;
        background: linear-gradient(135deg, #002147 0%, #001529 100%);
        flex-direction: column;
        padding: 20px; /* Reduced padding */
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 2100;
        display: flex;
        overflow-y: auto; /* Enable scrolling for long menus */
        gap: 0; /* Remove gap, use margin instead */
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px; /* Reduced margin */
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-menu-header span {
        color: var(--white);
        font-weight: 800;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        z-index: 1500;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }

    .nav-links > li {
        margin-bottom: 0;
        width: 100%;
    }

    .nav-links > li > a {
        font-size: 1rem; /* Smaller text */
        width: 100%;
        display: flex;
        justify-content: space-between;
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 12px 0; /* Tighter padding */
    }

    .nav-links > li > a:hover {
        color: var(--white);
        padding-left: 5px; /* Subtle hover indent */
    }

    /* MOBILE MEGA MENU OVERRIDES (Simplified & Compact) */
    .mega-menu, .dropdown-menu {
        position: static; /* Remove absolute positioning */
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        padding: 5px 0 10px 15px; /* Indent sub-items */
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Hide by default, act as accordion */
        background: transparent;
        border-top: none;
    }
    
    .has-mega-menu.open .mega-menu,
    .has-dropdown.open .dropdown-menu {
        display: block; /* Show on click */
    }
    
    .has-mega-menu:hover .mega-menu,
    .has-dropdown:hover .dropdown-menu {
        display: none; /* Prevent hover from triggering on mobile */
    }
    
    .has-mega-menu.open:hover .mega-menu,
    .has-dropdown.open:hover .dropdown-menu {
        display: block; /* Keep open if hovered while open */
    }

    .mega-menu-grid, .mini-mega .mega-menu-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important;
    }
    
    .mega-col {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* Style decorative/heavy elements to be responsive on mobile instead of hiding them */
    .people-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 5px;
    }

    .person-card {
        background: rgba(255, 255, 255, 0.05) !important;
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 8px !important;
        font-size: 0.75rem !important;
    }

    .person-card:hover {
        background: var(--accent-color) !important;
        color: var(--white) !important;
    }

    .mega-card {
        display: flex !important;
        gap: 12px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        padding: 8px !important;
        border-radius: 6px !important;
        margin-bottom: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        align-items: center;
    }

    .mega-card img {
        width: 50px !important;
        height: 50px !important;
        border-radius: 4px !important;
        object-fit: cover !important;
    }

    .mega-card h5 {
        font-size: 0.8rem !important;
        color: var(--white) !important;
        margin-bottom: 3px !important;
    }

    .mega-card a {
        font-size: 0.7rem !important;
        color: var(--accent-color) !important;
    }


    .mega-col h4 {
        margin-bottom: 5px;
        border-bottom: none;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mega-col h4 i {
        display: none; /* Remove right arrows */
    }

    .mega-col ul li {
        margin-bottom: 8px; /* Tighter spacing */
    }

    .mega-col ul li a, .dropdown-menu li a {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        border-bottom: none;
        padding: 2px 0;
    }
    
    .dropdown-menu li.dropdown-header {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
        padding: 5px 0 2px 0;
    }
    
    .dropdown-menu li.dropdown-divider {
        background-color: rgba(255, 255, 255, 0.1);
        margin: 5px 0;
    }
    
    .dropdown-menu li a:hover {
        background: transparent;
        color: var(--white);
        padding-left: 5px;
    }

    .news-feed a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.8rem;
        padding: 4px 0;
    }

    .contact-mini li {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.8rem;
    }

    .header-actions #btn-join, .header-actions .search-btn {
        display: none; /* Hide buttons on small mobile header */
    }

    /* Hero Responsive */
    .hero {
        height: auto;
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .hero-flag {
        display: none;
    }

    /* About features */
    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    /* CTA Bottom */
    .cta-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 0;
    }

    .cta-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .programme-grid, .events-grid {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 50px;
    }
    
    .cta-outline-box {
        font-size: 1rem;
        padding: 10px 25px;
        letter-spacing: 1px;
        gap: 8px;
    }
    
    .cta-outline-box i {
        font-size: 1.1rem;
    }
}
.cta-option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.cta-option-box i {
    font-size: 2rem;
    color: var(--accent-color);
}

.cta-option-box span {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.cta-option-box:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cta-option-box:hover i {
    color: var(--primary-color);
}

.footer-event-banner {
    margin-bottom: 60px;
    margin-top: -30px; /* Slight lift */
}

.footer-banner-link {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}

.footer-banner-link:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.f-banner-img {
    width: 400px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-banner-link:hover .f-banner-img {
    opacity: 1;
}

.f-banner-content {
    flex: 1;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.f-banner-tag {
    position: absolute;
    top: 0;
    left: 40px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 0 0 4px 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.f-banner-info h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.f-banner-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.f-banner-action {
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: var(--transition);
}

.footer-banner-link:hover .f-banner-action {
    background: var(--accent-color);
    color: var(--white);
}

@media (max-width: 992px) {
    .footer-banner-link {
        flex-direction: column;
    }
    .f-banner-img {
        width: 100%;
        height: 120px;
    }
    .f-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 30px;
    }
    .f-banner-tag {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #d11f26; /* Darker red */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center top; /* Align to the top to show the building */
    color: var(--white);
    text-align: left;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 33, 71, 0.95) 0%, rgba(0, 33, 71, 0.7) 50%, rgba(0, 33, 71, 0.2) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* About Sections Common */
.about-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8fafc;
}

.about-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.align-center {
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #d1b24d; /* Gold */
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 4px;
    margin-right: 15px;
    margin-bottom: 20px;
    float: left;
}

.about-page-wrapper .wwd-section-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 30px;
}

.about-page-wrapper .section-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 30px;
    padding-top: 3px;
    padding-bottom: 0; /* Remove padding from global style */
}

.about-page-wrapper .section-title::after {
    display: none; /* Hide the red underline */
}

.rounded-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.shadow-lg {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Row 1: Icon Features */
.icon-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.icon-feature {
    text-align: center;
    position: relative;
}

.icon-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10px;
    height: 80%;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.icon-circle.gold { background-color: #d1b24d; }
.icon-circle.green { background-color: #2b7a2b; }

.icon-feature p {
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Row 2: Mandate Graphics */
.mandate-graphics {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.mandate-target {
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.target-arrow-line {
    position: absolute;
    top: 50%;
    left: -15%;
    width: 130%; /* Longer than the container to pass through both ends */
    height: 8px;
    background-color: var(--primary-color); /* Dark blue primary color */
    transform: translateY(-50%) rotate(45deg); /* Angle downwards to the right (opposite direction) */
    z-index: 5;
    border-radius: 4px;
}

.target-arrow-line::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 25px solid var(--primary-color); /* Blue arrowhead */
}

.mandate-floating-icons i {
    position: absolute;
    font-size: 1.8rem;
    color: var(--primary-color);
    background: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.float-1 { top: 10%; left: 15%; }
.float-2 { top: 10%; right: 15%; color: #d1b24d !important; }
.float-3 { bottom: 10%; left: 15%; color: #2b7a2b !important; }
.float-4 { bottom: 10%; right: 15%; color: var(--accent-color) !important; }

.mandate-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px; /* Creates padding between text and list */
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
    font-weight: 500;
}

.mandate-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mandate-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mandate-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    background: rgba(0, 33, 71, 0.05);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mandate-item span {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    padding-top: 12px;
}

/* Row 3: Legal Identity */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.legal-box {
    position: relative;
    padding-right: 15px;
}

.legal-box:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 5%;
    right: 0;
    height: 90%;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.legal-box h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.legal-box p, .legal-box li {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.legal-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.styled-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Row 4: Our Approach */
.approach-premise {
    background: rgba(0, 33, 71, 0.05);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 30px;
}

.approach-premise p {
    margin-bottom: 5px;
    color: var(--text-muted);
}

.approach-premise strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.approach-item {
    text-align: center;
}

.a-icon {
    width: 50px;
    height: 50px;
    background: #2b7a2b; /* Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}

.approach-item h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.approach-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Row 5: Vision and Mission */
.vm-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vm-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.vm-icon.gold { background: #d1b24d; }

.vm-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.vm-text p {
    color: var(--text-color);
    margin: 0;
}

/* Row 6: What We Do */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wwd-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.wwd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.wwd-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.wwd-icon.gold { color: #d1b24d; }
.wwd-icon.green { color: #2b7a2b; }

.wwd-card h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    min-height: 40px; /* Aligns multiline headers */
}

.wwd-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Bottom Pillars Grid */
.bottom-pillars-section {
    padding-bottom: 80px; /* Above footer */
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* No gap, full bleed if preferred, or add gap. The UI shows slight gaps */
    gap: 15px;
    padding: 0 15px; /* Margin from edges */
    max-width: 1400px;
    margin: 0 auto;
}

.pillar-card {
    background-size: cover;
    background-position: center;
    padding: 40px 20px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pillar-card .section-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    margin: 0;
}

.pillar-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    margin-top: 10px;
}

.pillar-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.text-white { color: var(--white) !important; }
.text-light { color: rgba(255,255,255,0.8) !important; }

.pillar-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    flex: 1;
}

.pillar-list li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.pillar-list li span {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* List variants */
.list-checkmarks-gold li::before {
    content: "\f058"; /* fa-check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #d1b24d;
    margin-right: 8px;
}

.list-checkmarks-dark li::before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 8px;
}

.list-bullets li {
    position: relative;
    padding-left: 15px;
}
.list-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: inherit;
    font-weight: bold;
}

.list-icons li i {
    width: 20px;
    margin-right: 5px;
    text-align: center;
    color: rgba(255,255,255,0.9);
}

.pillar-footer {
    font-size: 0.8rem;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.pillar-card.dark-bg .pillar-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .wwd-grid, .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .about-grid-2 {
        grid-template-columns: 1fr;
    }
    .about-img-col {
        order: -1; /* Images on top in mobile */
    }
    .icon-features-row, .legal-grid, .approach-grid {
        grid-template-columns: 1fr;
    }
    .icon-feature::after, .legal-box::after, .feature-item::after {
        display: none;
    }
    .mandate-graphics {
        height: 200px;
    }
    .mandate-target {
        font-size: 8rem;
    }
}

@media (max-width: 768px) {
    .wwd-grid, .pillars-grid {
        grid-template-columns: 1fr;
    }
    .mandate-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   WHAT WE DO PAGE STYLES
   ========================================= */

.wwd-page-wrapper {
    background: var(--white);
}

.wwd-section-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mb-0 { margin-bottom: 0 !important; }
.justify-center { justify-content: center; }

.wwd-flex-align {
    display: flex;
    align-items: center;
}

.wwd-flex-align .section-badge {
    margin-bottom: 0;
}

/* 01 Overview */
.wwd-overview-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.overview-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.overview-title-col {
    display: flex;
    align-items: center;
    min-width: 200px;
}

.overview-title-col .section-badge {
    margin-bottom: 0;
}

.overview-text-col {
    flex: 1;
}

.overview-text-col p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.overview-icons-col {
    display: flex;
    gap: 20px;
    flex: 2;
}

.o-icon-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    position: relative;
}

.o-icon-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 10%;
    height: 80%;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.o-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.o-icon.green { background: #2b7a2b; }
.o-icon.gold { background: #d1b24d; }

.o-icon-item span {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

/* 02 Our Core Areas */
.wwd-core-areas {
    padding: 60px 0;
}

.core-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.core-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.core-card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.core-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    bottom: -25px;
    left: 20px;
    border: 3px solid white;
}
.core-card-icon.green { background: #2b7a2b; }
.core-card-icon.gold { background: #d1b24d; }

.core-card-content {
    padding: 40px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.core-card h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
    min-height: 45px;
}

.core-purpose {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.core-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    flex: 1;
}

.core-list li {
    font-size: 0.8rem;
    position: relative;
    padding-left: 12px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.core-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: bold;
}

.core-action {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.core-action a {
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
}
.core-action a.green-text { color: #2b7a2b; }
.core-action a.gold-text { color: #d1b24d; }

/* Row 3: 03, 04, 05 */
.wwd-triple-section {
    padding: 40px 0 80px;
}

.triple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.box-03 {
    grid-column: 1 / -1;
}

.triple-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.small-text {
    font-size: 0.85rem;
}

/* Box 03: Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 8px;
}

.p-step {
    text-align: center;
}

.p-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1rem;
}
.p-icon.green { background: #2b7a2b; }
.p-icon.gold { background: #d1b24d; }

.p-step span {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary-color);
}

.p-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

/* Box 04: Who We Work With */
.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
}

.who-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.who-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 10%;
    height: 80%;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.who-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.who-item span {
    font-size: 0.75rem;
    color: var(--text-color);
    line-height: 1.2;
}

.who-footer {
    background: rgba(0,0,0,0.05);
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Box 05: Results Focus */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
    flex: 1;
}

.results-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.results-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 10%;
    height: 80%;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.results-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.results-item span {
    font-size: 0.75rem;
    color: var(--text-color);
    line-height: 1.2;
}

/* 06 Engage Section */
.wwd-engage-section {
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    color: white;
}

.engage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.engage-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.e-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.e-icon.green { color: #2b7a2b; border-color: #2b7a2b; }
.e-icon.gold { color: #d1b24d; border-color: #d1b24d; }

.e-content h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 700;
}

.e-content p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    line-height: 1.4;
}

.e-content a {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
}
.e-content a.gold-text { color: #d1b24d; }

/* Closing Banner */
.closing-banner {
    padding: 30px 0;
    background: #f8fafc;
}

.closing-banner i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.closing-banner h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .core-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .triple-grid {
        grid-template-columns: 1fr;
    }
    .overview-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .overview-text-col {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid rgba(0,0,0,0.1);
        padding-top: 20px;
    }
    .overview-icons-col {
        flex-wrap: wrap;
    }
    .o-icon-item {
        min-width: calc(50% - 20px);
    }
    .o-icon-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 992px) {
    .engage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .core-areas-grid, .engage-grid {
        grid-template-columns: 1fr;
    }
    .o-icon-item {
        min-width: 100%;
    }
    .o-icon-item::after {
        display: none;
    }
    .who-grid, .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .who-item::after, .results-item::after {
        display: none;
    }
    .process-flow {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    .p-arrow {
        transform: rotate(90deg);
    }
}

/* Generalized Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 33, 71, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-search-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-search-overlay:hover {
    transform: rotate(90deg);
}

.search-overlay-content {
    width: 80%;
    max-width: 800px;
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
}

.search-overlay-content input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
}

.search-overlay-content input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-overlay-content .overlay-search-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-overlay-content .overlay-search-btn:hover {
    color: var(--accent-color);
}
@media (max-width: 768px) {
    .search-overlay-content input {
        font-size: 1.5rem;
    }
    .search-overlay-content .overlay-search-btn {
        font-size: 1.5rem;
    }
}

/* =========================================
   IPES ACADEMY PAGE STYLES
   ========================================= */

.academy-page-wrapper {
    background: var(--white);
}

.custom-check-list {
    list-style: none;
    padding-left: 0;
}

.custom-check-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-color);
}

.custom-check-list li i {
    margin-top: 4px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.course-item {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 6px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.course-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.1);
}

.course-icon {
    width: 65px;
    height: 65px;
    background: #f8fafc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.course-item:hover .course-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.course-item h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.course-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Theme Cluster Spacing */
.theme-cluster {
    margin-bottom: 80px;
}
.theme-cluster:last-child {
    margin-bottom: 0;
}

/* Course Border Colors */
.border-blue { border-top-color: var(--primary-color); }
.border-green { border-top-color: #2b7a2b; }
.border-gold { border-top-color: #d1b24d; }
.border-red { border-top-color: var(--accent-color); }
.border-purple { border-top-color: #6a1b9a; }
.border-brown { border-top-color: #795548; }
.border-orange { border-top-color: #ef6c00; }

/* Course Text Colors */
.blue-text { color: var(--primary-color); }
.green-text { color: #2b7a2b; }
.gold-text { color: #d1b24d; }
.red-text { color: var(--accent-color); }
.purple-text { color: #6a1b9a; }
.brown-text { color: #795548; }
.orange-text { color: #ef6c00; }

/* Detail Boxes */
.detail-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Universal Academy Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.course-item {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.course-icon {
    width: 50px;
    height: 50px;
    background: rgba(0,33,71,0.03);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.course-item h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.4;
    min-height: 45px;
}

.course-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.course-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* Border Color Variants */
.border-blue { border-top-color: var(--primary-color); }
.border-green { border-top-color: #2b7a2b; }
.border-gold { border-top-color: #d1b24d; }
.border-red { border-top-color: var(--accent-color); }
.border-purple { border-top-color: #6a1b9a; }
.border-brown { border-top-color: #795548; }
.border-orange { border-top-color: #ef6c00; }

@media (max-width: 1200px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .academy-intro-grid, .details-grid-wrapper, .approach-grid-split {
        grid-template-columns: 1fr;
    }
    .approach-delivery {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-top: 30px;
    }
    .approach-focus-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
    .delivery-modes {
        flex-direction: column;
        align-items: flex-start;
    }
}
