/* CSS Variables for Colors */
:root {
    --color-primary: #292929;
    --color-accent: #004974;
    --color-text: #333;
    --color-white: #ffffff;
    --color-c: #fbd815;
}

/* Basic CSS Setup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

[data-aos] {
    transition-timing-function: ease-in-out !important;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
}

/* Headings - Work Sans */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
}

a {
    transition: .4s;
    text-decoration: none;
}

img {
    width: 100%;
    height: auto;
}

img.logo {
    max-width: 45%;
    object-fit: fill;
}

/* Header Animation Styles */
.main-header {
    transition: all 0.4s ease-in-out;
    z-index: 1000;
}

/* Initial state - transparent header */
.main-header {
    background-color: transparent;
}

.main-header .logo-wrap img {
    transition: all 0.4s ease-in-out;
    filter: brightness(0) invert(1);
    /* White logo on transparent */
}

/* Scrolled state - primary background with animation */
.main-header.scrolled {
    background-color: var(--color-accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: headerSlideDown 0.4s ease-out;
}

.main-header.scrolled .logo-wrap img {
    filter: none;
    /* Original logo colors */
}

/* Header slide down animation */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header slide up animation */
@keyframes headerSlideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.main-header.hidden {
    animation: headerSlideUp 0.3s ease-in forwards;
}

.menu-container {
    align-content: center;
    align-items: center;
    justify-content: flex-end;
}

.nav-menu--main {
    display: flex;
    background-color: var(--color-white);
    padding: 14px 0px 14px 20px;
}

.nav-menu li a {
    color: var(--color-primary);
    fill: var(--color-primary);
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-grow: 1;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2em;
}

.nav-menu li a.item-active,
.nav-menu li a:hover {
    background-color: var(--color-c);
    color: var(--color-primary);

}

.nav-menu li a.item-active::before,
.nav-menu li a.item-active::after {
    content: "";
    transition: .3s;
    background-color: var(--color-c);
    display: block;
    position: absolute;
}

.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 1100;
}

.hero {
    margin-top: -90px;
    background-image: url("./assets/hero.jpg");
    min-height: 780px;
}

.hero-title {
    font-size: 55px;
    color: var(--color-white);
    font-weight: 800;
}

.hero-text {
    font-size: 20px;
    color: var(--color-white);
    font-weight: 400;
}

section.section {
    margin-top: 200px;
}

.about h2 {
    font-size: 50px;
}

.about p {
    font-size: 18px;
    color: var(--color-text);
    margin-top: 20px;
}

.about img {
    width: auto;
    height: 150px;
}

.gallery-section img {
    max-height: 260px;
    object-fit: contain;

}

.gallery-section .img-wrap1 {
    padding-top: 25%;
}

.gallery-section .img-wrap3 {
    margin-top: 20%;
}

.gallery-section .img-wrap1 img:first-child {
    padding-right: 30%;
}

.gallery-section .img-wrap1 img:nth-child(2) {
    padding-left: 30%;
}

.gallery-section .img-wrap1 .img-wrap1-img2 {
    margin-top: -20%;
}

.gallery-section .img-wrap3 img:first-child {
    padding-left: 30%;
}

.gallery-section .img-wrap3 img:nth-child(2) {
    padding-right: 30%;
}

.gallery-section .img-wrap3 .img-wrap3-img2 {
    margin-top: -20%;
}

.page-links a {
    font-family: "Work Sans", Sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2em;
    fill: #2929294D;
    color: #2929294D;
    height: 266px;
    transition: transform 0.2s ease-out;
    /* padding: 90px 85px 90px 85px; */
}

.page-links a:hover,
.page-links a.active {
    color: var(--color-primary);
    background-color: #FAFAFA;
}

.section.third-section {
    margin-top: 280px;
}

.section.third-section .card {
    background-color: var(--color-accent);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding-inline-start: 100px;
    padding-block-end: 300px;
}

.section.third-section .heading-text {
    margin-top: -85px;

}

.section.third-section h1 {
    font-size: 142px;
    line-height: 0.8em;
    letter-spacing: -15px;
    color: var(--color-yellow);
    text-shadow: 0 0 var(--color-yellow);
}

.section.third-section .para-text {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.section.third-section .para-text p {
    margin: 10px 280px 0px 0px;
}

.section.third-section .img-wrap {
    margin-left: -50%;
    display: flex;
    align-items: center;
    align-content: center;
}

.section.third-section .img-wrap img {
    width: 100%;
    max-width: 100%;
    height: 560px;
    object-fit: cover;
}

.section.forth-section h1 {
    font-size: 200px;
    line-height: 0.8em;
    letter-spacing: -20px;
}

.section.forth-section h2 {
    font-size: 50px;
}

.program-card-wrap {
    margin-top: 100px;
}

.section.forth-section .card {
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 40px;
    border-radius: 0;
}

.section.forth-section .card span {
    font-size: 16px;
}

.section.forth-section .col-lg-3:first-child .card {
    background-color: #2B7258;
    margin-block-end: 83px;
    color: var(--color-white);
}

.section.forth-section .col-lg-3:nth-child(2) .card {
    background-color: var(--color-c);
    color: var(--color-primary);
}

.section.forth-section .col-lg-3:nth-child(3) .card {
    background-color: #466BB8;
    color: var(--color-white);
}

.section.forth-section .col-lg-3:nth-child(4) .card {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.form-section h1 {
    font-size: 200px;
    line-height: 0.8em;
    letter-spacing: -20px;
}

.form-content {
    background-color: #B7D8EF;
    margin-top: -75px;
    padding: 190px 30px 100px 30px;
}

.form-content .button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 25px 30px 25px 40px;
    font-size: 18px;
    font-weight: 500;
}

.button-content-wrapper {
    flex-direction: row-reverse;
}

.footer {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.footer-logo img {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.footer .social i {
    font-size: 1.5rem;
    color: #fff;
    margin-right: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.sub-footer {
    background-color: #F8F8F8;
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .elementor-70 .elementor-element.elementor-element-2610eee>.elementor-widget-container {
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }
}

@media (max-width: 768px) {

    p {
        font-size: 16px;
    }

    img.logo {
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

    section.section,
    .section.third-section {
        margin-top: 80px;
    }

    .about h2 {
        font-size: 35px;
    }

    .section.third-section h1,
    .section.forth-section h1,
    .form-section h1 {
        font-size: 60px;
        letter-spacing: -5px;
    }

    .section.third-section .card {
        padding: 40px 20px;
    }

    .section.forth-section .col-lg-3:first-child .card {
        margin-block-end: 0;
    }

    .section.third-section .para-text p {
        margin: 0;
    }

    .section.third-section .img-wrap {
        margin-left: 0;
    }

    .section.third-section .img-wrap img {
        height: 300px;
    }

    .gallery-section img {
        max-height: 200px;
    }

    .form-content {
        padding: 100px 20px;
    }

}

/* mobile menu hidden by default */
@media (max-width: 992px) {
    .main-header {
        background-color: var(--color-accent);
    }

    .hero {
        min-height: 600px;
    }

    .nav-menu--main {
        background: none;
        padding: 0;
    }

    .menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--color-accent);
        transition: 0.4s;
        flex-direction: column;
        padding-top: 80px;
        z-index: 1000;
    }

    .menu-container.active {
        right: 0;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
    }

    .nav-menu li a {
        color: white;
        padding: 15px 20px;
    }

}