:root {
    --primary-color: #03224d;
    
    --secondary-color: #AB392C;
    --accent-color: #AB392C;
    --accent-color-rgb: 230, 126, 34;
    --success-color: #27ae60;
    --success-color-rgb: 39, 174, 96;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white: #ffffff;
    --border: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --primary: #03224d;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --brand-blue: #03224d;
    --brand-blue-strong: #03224d;
    --brand-blue-soft: #EEF4FF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Source Serif Pro', serif;
    font-weight: 700;
    line-height: 1.2;
}

/*=============================================================*/
/* Hero Section - Fixed Centered & Consistent Height */
/*=============================================================*/
.hero {
    position: relative;
    width: 100%;
     height: 100vh;
    min-height: 750px;
    max-height: 950px;
    overflow: hidden;
    
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Video Container */
.slide-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slide-video-container.is-video-ready .slide-video {
    opacity: 1;
}

/* Image slides */
.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: 1;
}

.hero-slide--facility .hero-slide-image {
    object-position: center 52%;
}

.hero-slide--community .hero-slide-image {
    object-position: center 32%;
}

/* Overlay - Hidden on mobile, visible on desktop */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 34, 77, 0.3);
    z-index: 2;
}

/* Content - Always centered */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 950px;
    color: #ffffff;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0 20px;
    text-align: center;
    pointer-events: auto;

}

.slide-title {
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.slide-text {
    font-size: clamp(0.95rem, 2vw, 1.4rem);
    font-weight: 500;
    opacity: 1;
    color: #ffffff;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.28);
    border-left: #03224d solid 4px;
    border-radius: 0 8px 8px 0;
    display: inline-block;
    max-width: 620px;
    text-align: center;
    margin-bottom: 18px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.slide-buttons {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    min-width: 170px;
    max-width: 250px;
}

.hero .btn-primary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.94);
    box-shadow: none;
    backdrop-filter: blur(3px);
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: none;
    border-color: #ffffff;
}

.hero .btn-primary i {
    margin-right: 5px;
}

.btn-outline {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: white;
}

.btn-primary {
    background: var(--brand-blue);
    color: white;
    border: 2px solid var(--brand-blue);
}

.btn-primary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-large {
    padding: 11px 30px;
    font-size: 0.9rem;
    min-width: 190px;
}

/* Slide Navigation */
.slide-nav {
    position: absolute;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    pointer-events: auto;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
    opacity: 0.95;
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

.slide-prev:hover,
.slide-next:hover {
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
}

.slide-dots {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Desktop - Keep overlay */
@media (min-width: 1025px) {
    .hero {
        height: 65vh;
        min-height: 500px;
        max-height: 600px;
    }

    .slide-video {
        filter: brightness(1.12) saturate(1.08) contrast(1.04);
    }

    .hero-slide-image {
        filter: brightness(1.12) saturate(1.08) contrast(1.04);
    }

    .slide-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.5) 100%);
    }
}

/* Laptop/Desktop 1366px */
@media (max-width: 1366px) and (min-width: 1025px) {
    .slide-content {
        max-width: 850px;
    }
    .slide-title {
        font-size: 2.8rem;
        margin-bottom: 12px;
    }
    .slide-text {
        font-size: 1.2rem;
        padding: 7px 18px;
        max-width: 580px;
        margin-bottom: 16px;
    }
    .btn {
        padding: 9px 22px;
        font-size: 0.85rem;
        min-width: 160px;
    }
    .btn-large {
        padding: 10px 28px;
        font-size: 0.85rem;
        min-width: 175px;
    }
    .slide-nav {
        inset: 0;
    }
    .slide-prev,
    .slide-next {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .slide-dots {
        bottom: 22px;
        gap: 16px;
    }
}

/* Large Desktop 1920px */
@media (min-width: 1920px) {
    .hero {
        height: 54vh;
        min-height: 460px;
        max-height: 560px;
    }
    .slide-content {
        max-width: 1100px;
    }
    .slide-title {
        font-size: 3.8rem;
        margin-bottom: 18px;
    }
    .slide-text {
        font-size: 1.6rem;
        padding: 10px 25px;
        max-width: 720px;
        margin-bottom: 20px;
    }
    .btn {
        padding: 12px 32px;
        font-size: 1rem;
        min-width: 190px;
    }
    .btn-large {
        padding: 13px 36px;
        font-size: 1rem;
        min-width: 210px;
    }
    .slide-nav {
        bottom: 35px;
        gap: 22px;
    }
    .slide-prev,
    .slide-next {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .dot {
        width: 12px;
        height: 12px;
    }
}

/* Ultra Wide 2560px+ */
@media (min-width: 2560px) {
    .hero {
        height: 52vh;
        min-height: 480px;
        max-height: 580px;
    }
    .slide-content {
        max-width: 1300px;
    }
    .slide-title {
        font-size: 4.2rem;
    }
    .slide-text {
        font-size: 1.8rem;
        max-width: 800px;
    }
    .btn {
        padding: 14px 38px;
        font-size: 1.1rem;
        min-width: 210px;
    }
    .btn-large {
        padding: 15px 40px;
        font-size: 1.1rem;
        min-width: 230px;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 700px;
        text-align: center;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-text {
        font-size: 1.15rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Remove overlay on tablet */
    .slide-overlay {
        background: transparent;
    }
}

/* Mobile (up to 768px) */
@media screen and (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 440px;
        max-height: 520px;
    }

    .slide-video,
    .hero-slide-image {
        object-position: center center;
    }

    /* Remove overlay completely on mobile */
    .slide-overlay {
        display: none;
    }

    /* Ensure content is perfectly centered on mobile */
    .hero .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        padding: 0 15px;
        text-align: center;
        margin: 0 auto;
    }
    
    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .slide-text {
        font-size: 1rem;
        padding: 10px 18px;
        margin-bottom: 20px;
        max-width: 100%;
        text-align: center;
        display: inline-block;
        border-left: #03224d solid 4px;
        border-radius: 0 8px 8px 0;
        background: rgba(0, 0, 0, 0.28);
    }
    
    .slide-buttons {
        justify-content: center;
        margin-top: 15px;
    }
    
    .btn {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .slide-nav {
        inset: 0;
    }
    
    .slide-prev,
    .slide-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slide-prev {
        left: -10px;
    }

    .slide-next {
        right: -22px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }

    .slide-dots {
        bottom: 20px;
        gap: 15px;
        max-width: calc(100% - 24px);
    }
}

/* Small Mobile (up to 576px) */
@media screen and (max-width: 576px) {
    .hero {
        height: 55vh;
        min-height: 400px;
        max-height: 460px;
    }

    .hero .slide-content {
        width: 92%;
        padding: 0 12px;
    }
    
    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .slide-text {
        font-size: 0.9rem;
        padding: 8px 12px;
        margin-bottom: 15px;
    }
    
    .btn {
        min-width: 140px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .slide-nav {
        inset: 0;
    }
    
    .slide-prev,
    .slide-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slide-prev {
        left: -10px;
    }

    .slide-next {
        right: -24px;
    }

    .slide-dots {
        bottom: 15px;
        gap: 12px;
        max-width: calc(100% - 20px);
    }
}

/* Extra Small Mobile (up to 375px) */
@media screen and (max-width: 375px) {
    .hero {
        height: 50vh;
        min-height: 360px;
        max-height: 420px;
    }
    
    .slide-title {
        font-size: 1.3rem;
    }
    
    .slide-text {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .btn {
        min-width: 130px;
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/*======================================================*/
/* About Section */
/*=====================================================*/
.about-section {
    padding: 120px 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.about-section .container {
    max-width: 1400px;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.about-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-left {
    max-width: 600px;
}

.about-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.badge-text {
    color:  #b42815;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* Optional: Add a simple separator line for elegance */
.badge-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-red);
    opacity: 0.3;
}

.about-title {
     font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: black;
    position: relative;
  
}



.about-title .title-highlight {
    color:   #b42815;
    position: relative;
    display: inline-block;
}

.about-title .title-highlight::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    z-index: -1;
    border-radius: 6px;
}

.about-description-container {
    max-width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.about-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: var(--dark-color);
    margin: 0;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.about-right {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-collage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    overflow: hidden;
    box-shadow: 15px 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.side-image.top-right {
    position: absolute;
    top: 5%;
    right: 0;
    width: 40%;
    height: 35%;
    overflow: hidden;
    box-shadow: 10px 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

.side-image.bottom-left {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 40%;
    height: 35%;
    overflow: hidden;
    box-shadow: 10px 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.side-image:hover img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 4;
    box-shadow: 8px 10px 25px rgba(var(--primary-color-rgb), 0.3);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.floating-badge i {
    font-size: 1.1rem;
}

.about-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    from { 
        transform: scale(1); 
        opacity: 0.5;
    }
    to { 
        transform: scale(1.1); 
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
    }
}

/* About Responsive */
@media (max-width: 1200px) {
    .about-split-layout {
        gap: 40px;
    }
    .main-image {
        width: 75%;
        height: 75%;
    }
    .side-image.top-right,
    .side-image.bottom-left {
        width: 38%;
        height: 33%;
    }
}

@media (max-width: 992px) {
    .about-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-left {
        max-width: 100%;
        text-align: center;
    }
    .about-description {
        text-align: center;
    }
    .about-right {
        height: 500px;
        max-width: 600px;
        margin: 0 auto;
    }
    .main-image {
        width: 70%;
        height: 70%;
    }
    .side-image.top-right,
    .side-image.bottom-left {
        width: 40%;
        height: 35%;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
    .about-section .container {
        padding: 0 20px;
    }
    .about-split-layout {
        gap: 50px;
    }
    .about-title {
        font-size: 2.5rem;
        text-align: left;
    }
    .about-description {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: left;
    }
    .about-right {
        height: 450px;
    }
    .main-image {
        width: 75%;
        height: 75%;
    }
    .side-image.top-right {
        width: 40%;
        height: 32%;
        top: 3%;
        right: 0;
    }
    .side-image.bottom-left {
        width: 40%;
        height: 32%;
        bottom: 3%;
        left: 0;
    }
    .floating-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        bottom: -0.3rem;
        right: -0.3rem;
    }
    .floating-badge i {
        font-size: 1rem;
    }
    .decoration-1,
    .decoration-2,
    .decoration-3 {
        opacity: 0.3;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }
    .about-title {
        font-size: 2rem;
    }
    .about-description {
        font-size: 1rem;
    }
    .about-right {
        height: 400px;
    }
    .main-image {
        width: 80%;
        height: 70%;
    }
    .side-image.top-right {
        width: 45%;
        height: 30%;
    }
    .side-image.bottom-left {
        width: 45%;
        height: 30%;
    }
    .floating-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    .floating-badge i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-right {
        height: 350px;
    }
    .main-image {
        width: 85%;
        height: 70%;
    }
    .side-image.top-right {
        width: 45%;
        height: 28%;
    }
    .side-image.bottom-left {
        width: 45%;
        height: 28%;
    }
    .floating-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        bottom: -0.2rem;
        right: -0.2rem;
    }
    .floating-badge i {
        font-size: 0.8rem;
    }
}


/*==============================================================*/
/* Programs Preview Section */
/*==============================================================*/
.programs-preview {
    padding: 80px 0;
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border : 1px solid #03224d;
    transition: all 0.3s ease;
    text-align: center;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #03224d;
    font-size: 2rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.program-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.program-features span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.program-features i {
    color: var(--success-color);
}


/*================================================================*/
/* Services Section */
/*================================================================*/
.services-section {
    padding: 80px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #03224d;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.service h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.service p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .service {
        padding: 30px 20px;
    }
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    .service h3 {
        font-size: 1.1rem;
    }
    .service p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .service {
        padding: 20px 15px;
    }
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .service h3 {
        font-size: 1rem;
    }
    .service p {
        font-size: 0.85rem;
    }
}


/*================================================================*/
/* Events Section */
/*================================================================*/
.events-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    height: 220px;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-image:hover img {
    transform: scale(1.05);
}

.event-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-content h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    flex: 1;
}

.event-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tag {
    background: #e0e0ff;
    color: var(--brand-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.event-badge {
    display: inline-block;
    background: #03224d;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.prize {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #244566 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
}

.prize strong {
    font-size: 28px;
    display: block;
    line-height: 1.2;
}

.prize span {
    font-size: 14px;
    opacity: 0.9;
}

.event-details {
    margin: 15px 0;
}

.event-details p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.event-details i {
    color: #03224d;
    width: 20px;
    margin-top: 3px;
}

.event-details strong {
    color: #333;
    font-weight: 600;
    margin-right: 5px;
}

.event-meta {
    margin: 15px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

.event-meta p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
}

.event-meta i {
    color: #03224d;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    font-style: italic;
}

.challenge-features {
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: #03224d;
}

.feature-item i {
    color: #03224d;
    width: 20px;
    font-size: 16px;
}

.feature-item span {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.event-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    justify-content: center;
    flex-wrap: wrap;
}

.event-buttons .btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    flex: 0 1 170px;
    max-width: 190px;
}

.btn-learn {
    border-color: #03224d;
    color: #03224d;
}

.btn-learn:hover {
    background: #03224d;
    color: white;
}

.btn-apply {
    background: #03224d;
    border-color: #03224d;
    color: white;
}

.btn-apply:hover {
    background: #03224d;
    border-color: #03224d;
}

/* Popup styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup.show {
    display: flex;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.popup-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    padding: 8px 20px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.close-btn:hover {
    background: #ff0000;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .event-image {
        height: 200px;
    }
    .event-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .event-buttons .btn {
        padding: 8px 16px;
        font-size: 13px;
        flex: 0 1 auto;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .event-buttons .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}


/*=====================================================*/
/* CTA Section */
/*=====================================================*/
.cta-section {
    padding: 80px 0;
    background: #03224d;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/*================================================================*/
/* Trust Section */
/*================================================================*/
.trust-section {
    background: var(--light-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(var(--accent-color-rgb), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.trust-section .section-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.trust-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.trust-section .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.trust-section .section-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--gray-color);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.trust-item {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
   
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
 
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.trust-item:hover::before {
    opacity: 1;
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--accent-color-rgb), 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
    background: #03224d;
}

.trust-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon i {
    color: var(--white);
}

.trust-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.trust-description {
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.trust-badge {
    display: inline-block;
    background: rgba(#c24132, 0.1);
    color: #c24132;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid #c24132;
}

.trust-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.trust-footer p {
    color: var(--gray-color);
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.trust-footer p::before,
.trust-footer p::after {
    content: '✦';
    color: var(--primary-color);
    margin: 0 15px;
    opacity: 0.5;
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .trust-section {
        padding: 70px 0;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    .trust-item {
        padding: 35px 25px;
    }
    .trust-footer p::before,
    .trust-footer p::after {
        margin: 0 8px;
    }
}

@keyframes dotPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1); 
    }
}



/*========================================================================================*/
/* Partners Section */
/*========================================================================================*/
.partners-section {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(var(--accent-color-rgb), 0.03) 0%, transparent 50%);
    animation: floatBackground 25s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes floatBackground {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-2%, 2%) scale(1.02); }
    100% { transform: translate(2%, -2%) scale(1.01); }
}

.partners-section .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.partners-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    animation: badgeFloat 5s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.partners-section .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
  
}


.partners-section .section-title .title-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(var(--accent-color-rgb), 0.2);
    z-index: -1;
    border-radius: 4px;
}

.partners-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-color);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.partners-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 60px;
    overflow: hidden;
}

.partners-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.partner-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
}

.partner-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 20px rgba(var(--primary-color-rgb), 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 30px rgba(var(--primary-color-rgb), 0.1);
}

.partner-logo {
    width: 160px;
    height: 120px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.partner-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: radial-gradient(circle at center, rgba(var(--accent-color-rgb), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.partner-card:hover .partner-logo::after {
    opacity: 1;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(30%);
    opacity: 0.85;
}

.partner-card:hover .partner-logo-img {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.4;
    position: relative;
    padding-bottom: 12px;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--primary-color);
}

.partner-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover .partner-name::after {
    width: 50px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav i {
    font-size: 1.1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.carousel-dots .dot:hover {
    background: rgba(var(--primary-color-rgb), 0.5);
    transform: scale(1.1);
}

.carousel-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.4);
}

.carousel-dots .dot.active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

.partners-cta {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.partners-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.partners-cta .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.3);
}

.partners-cta .btn i {
    transition: transform 0.3s ease;
}

.partners-cta .btn:hover i {
    transform: translateX(5px);
}

/* Partners Responsive */
@media (max-width: 1200px) {
    .partner-slide {
        flex: 0 0 calc(50% - 15px);
        min-width: 280px;
    }
    .partner-logo {
        width: 140px;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .partners-carousel-container {
        padding: 0 50px;
    }
    .partner-card {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 80px 0;
    }
    .partners-carousel-container {
        padding: 0 40px;
    }
    .partner-slide {
        flex: 0 0 calc(100% - 0px);
        min-width: 100%;
    }
    .partner-card {
        padding: 30px 20px;
    }
    .partner-logo {
        width: 140px;
        height: 100px;
        margin-bottom: 20px;
    }
    .partner-name {
        font-size: 1.1rem;
    }
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .partners-section .section-title {
        font-size: 2.2rem;
    }
    .partners-section .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 60px 0;
    }
    .partners-carousel-container {
        padding: 0 35px;
    }
    .partner-card {
        padding: 25px 15px;
    }
    .partner-logo {
        width: 120px;
        height: 80px;
        margin-bottom: 15px;
    }
    .partner-name {
        font-size: 1rem;
    }
    .partners-section .section-title {
        font-size: 2rem;
    }
    .partners-section .section-subtitle {
        font-size: 1rem;
    }
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    .partners-cta .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}
