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

body {
    width: 100%;
    height: auto;
    background-color: #F8FAFC;
    font-family: sans-serif;
}

header {
    height: 15vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    width: 88%;
    height: 53%;
    background: linear-gradient(
        135deg,
        #0235AD,
        #89CFEF
    );
    border-radius: 8px;
    display: flex;
    justify-content: center;
    box-shadow:
        rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.header-wrapper {
    height: 100%;
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 200px;
    width: 200px;
    display: flex;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

nav {
    height: 60%;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

nav a {
    text-decoration: none;
    font-family: sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1E1B4B;
}

.button1 {
    padding: 10px 20px;
    background-color: #1E1B4B;
    color: #FFFFFF;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.button1:hover {
    color: #0235AD;
    border-color: #0235AD;
    background-color: #FFFFFF;
}

.hamburger {
    width: 30px;
    height: 30px;
    display: none;
}

.landing-main {
    max-width: 1200px;
    margin: 150px auto 0;
    padding: 40px 6%;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 20px;
    margin-bottom: 80px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1E1B4B;
}

.hero-content p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-graphic {
    width: 320px;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(2, 53, 173, 0.25);
}

.book-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.purpose-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: left;
    color: #1E1B4B;
}

.purpose-grid {
    display: flex;
    gap: 25px;
}

.purpose-card {
    flex: 1;
    background: linear-gradient( 135deg, #0235AD, #89CFEF);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 35px 25px;
    transition:transform 0.3s ease,box-shadow 0.3s ease;
    color: #FFFFFF;
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow:0 15px 30px rgba(2, 53, 173, 0.25);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 15px;
}

.purpose-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.purpose-card p {
    font-size: 14px;
    color: #EAF5FF;
    line-height: 1.5;
}

.our-team {
    width: 85%;
    margin: 0 auto;
    padding: 30px 6% 70px;
    text-align: center;
    /* background-color: #0235AD; */
}
.eyebrow {
    display: inline-block;
    color: #0235AD;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.our-team h1 {
    font-size: 44px;
    color: #1E1B4B;
    margin-bottom: 15px;
}
.our-team p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #64748B;
    font-size: 16px;
    line-height: 1.7;
}
.team-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    width: 100%;
    /* background-color: chartreuse; */
}
.team-group {
    flex: 1;
    background-color: white;
    padding: 20px 25px 10px 25px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(2, 53, 173, 0.07);
    transition: 0.3s ease;
}
.team-group:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(2, 53, 173, 0.15);
}
.team-members {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #89CFEF;
    background-color: #E6F4FF;
}
.team-members img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-group h3 {
    font-size: 22px;
    color: #1E1B4B;
    margin-bottom: 5px;
}
.team-group h5 {
    font-size: 15px;
    color: #0235AD;
    margin-bottom: 12px;
}
.team-group p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748B;
}


.footer {
    width: 100%;
    background-color: #1E1B4B;
    color: #FFFFFF;
    margin-top: 20px;
    padding: 25px 0 0;
}

.footer-container {
    width: 90%;
    max-width: 1310px;
    margin: 0 auto;
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
    align-items: start;
}

.footer-brand img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    max-width: 350px;
    font-family: sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #CBD5E1;
    margin-top: 15px;
}

.footer-links h3,
.footer-socials h3 {
    font-family: sans-serif;
    font-size: 17px;
    margin-bottom: 20px;
    color: #89CFEF;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    font-family: sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #89CFEF;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.social-icons img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.social-icons a:hover {
    background-color: #89CFEF;
    transform: translateY(-3px);
}

.footer-bottom {
    width: 90%;
    max-width: 1310px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    font-family: sans-serif;
    font-size: 16px;
    color: #CBD5E1;
}

@media (min-width: 768px) and (max-width: 1024px) {

    header {
        height: 130px;
    }

    nav,
    header{
        a{
        display: none;
        }
    }

    .hamburger {
        display: block;

        width: 30px;
        height: 30px;

        cursor: pointer;
    }

    button {
        display: none;
    }

    .logo {
        width: 140px;
        height: 140px;
    }

    .hero-section {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .book-graphic {
        width: 280px;
        height: 230px;
    }

    .our-team {
        padding-top: 160px;
    }
    .team-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
    }
    .team-group {
        min-width: 0;
        padding: 25px 15px;
    }
    .team-members {
        width: 140px;
        height: 140px;
        max-width: 100%;
        margin: 0 auto 20px;
        overflow: hidden;
    }
    .team-members img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 767px) {

    header {
        height: 100px;
    }

    .header-container {
        width: 92%;
        height: 65%;
        border-radius: 8px;
    }

  

     nav {
        display: none;
        height: auto;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 220px;
        padding: 20px;
        background-color: #FFFFFF;
        border: 1px solid #E5E7EB;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        z-index: 1001;
    }

    nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    color: #061D55;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}

nav a:hover {
    background-color: #EEF4FF;
    color: #0235AD;
}

    nav.active {
    display: flex;
}


.button1 {
    display: block;
    width: 100%;
    padding: 12px 14px;
    margin-top: 8px;

    background-color: #1E1B4B;
    color: #FFFFFF;

    text-align: center;
    text-decoration: none;
    font-size: 16px;

    border: none;
    border-radius: 8px;
    cursor: pointer;
}

   

    .hamburger {
        display: block;
        width: 27px;
        height: 27px;
        cursor: pointer;
    }

    button {
        display: none;
    }

    .logo {
        width: 110px;
        height: 110px;
    }

    .landing-main {
        width: 100%;
        margin-top: 120px;
        padding: 30px 6%;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 60px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-image {
        width: 100%;
    }

    .book-graphic {
        width: 260px;
        height: 200px;
        border-radius: 16px;
    }

    .purpose-section h2 {
        font-size: 28px;
        text-align: center;
    }

    .purpose-grid {
        flex-direction: column;
        gap: 20px;
    }

    .purpose-card {
        padding: 30px 22px;
        text-align: center;
    }

    .purpose-card h3 {
        font-size: 21px;
    }

    .purpose-card p {
        font-size: 14px;
    }

    .our-team {
        padding: 140px 6% 50px;
    }
    .our-team h1 {
        font-size: 34px;
    }
    .our-team p {
        font-size: 14px;
    }
    .team-container {
        flex-direction: column;
       gap: 20px;
    }

    .footer-container {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-brand img {
        width: 125px;
        height: 100px;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 18px;
        line-height: 1.7;
    }

    .footer-links h3,
    .footer-socials h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 12px;
    }

    .social-icons a {
        width: 34px;
        height: 34px;
    }

    .social-icons img {
        width: 17px;
        height: 17px;
    }

    .footer-bottom {
        width: 88%;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 18px 0;
        gap: 10px;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.7;
    }
}