* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Poppins', sans-serif;
}

section {
    scroll-margin-top: 100px;
}

.navbar {
    position: fixed;
    display: flex;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 7px;
    width: 100%;
    height: auto;
    background: #fff;
    z-index: 100;
    transition: border-bottom 0.3s ease;
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);

}

.logo {
    padding: 0 80px;
}

.logo-img {
    width: 162px;
    height: 70px;
}

.listItems {
    list-style: none;
    display: flex;
}

.listItems li a {
    position: relative;
    color: #38424D;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 34px 20px;
    width: 100%;
}

.listItems li a:hover {
    color: #4a9dc4;
}

.listItems li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: #4a9dc4;
    transition: width 0.3s ease;
}

.listItems li a:hover::after {
    width: 100%;
}

.listItems li a.active::after {
    width: 100%;
}

.listItems li a.active {
    color: #4a9dc4;
}


/* Mobile Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #488FA1;
    transition: all 0.3s ease;
}

/* our Mission  */
.ourMission {
    background-color: #F4FBFA;
    display: flex;
    padding: 80px;
    gap: 101px;
    align-items: center;
    padding-top: 180px;
}

.ourTeam h1,
.aboutUs h1,
.missionContent h1 {
    font-size: 50px;
    font-weight: 400;
    color: #38424D;
}

.ourTeam span,
.aboutUs span,
.missionContent span {
    color: #488FA1;
    font-size: 50px;
    font-weight: 700;
}

.aboutUs p,
.missionContent p,
.ourTeam p {
    color: #38424D;
    font-size: 18px;
    font-weight: 400;
    line-height: 34px;
    padding-top: 20px;
}

.missionImage {
    background-color: #488FA1;
    width: 621px;
    height: 465px;
    border-radius: 30px;

}

.missionImage img {
    width: 560px;
    height: 460px;
}

.ourVision {
    display: flex;
    padding: 80px;
    gap: 101px;
    align-items: center;
}

.aboutUs {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #F4FBFA;
    position: relative;
}

.aboutUs p {
    padding: 0 110px;
    line-height: 37px;
    padding-bottom: 80px;
}

.aboutUs h1 {
    padding-top: 80px;
    padding-bottom: 10px;
}

.aboutupperdots {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    /* keep it above background but below main content if needed */
}

.aboutbottomdots {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.aboutbottomdots img {
    width: auto;
    /* adjust size as needed */
    max-width: 150px;
    /* optional */
}

.aboutupperdots img {
    width: auto;
    /* adjust as needed */
    max-width: 150px;
    /* optional limit */
}

.ourTeam {
    padding: 80px;
}

.ourTeam h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.ourteam-body {
    display: flex;
    gap: 75px;
    align-items: center;
    margin-top: 20px;
}

.ourTeam-img {
    background: #fff;
    border: 1px solid #F3F4F6;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ourTeam-img img {
    width: 399px;
    height: 444px;
    background-color: #dae9ec;
    border-radius: 4px;
}

.ourTeam-img p {
    font-size: 26px;
    font-weight: 500;
    color: #373737;
    line-height: 36px;
    padding: 10px 0;
}

.ourTeam-img span {
    font-size: 16px;
    font-weight: 400;
    color: #5F5F5F;
}

.bottomcomas {
    float: right;
}

.scroll-arrows {
    display: flex;
    gap: 10px;
    margin-top: 50px;
    cursor: pointer;
}

.arrow1 {
    padding: 14px 17px;
    border-radius: 999px;
    border: 1px solid #488FA1;
}

.arrow2 {
    padding: 14px 17px;
    border-radius: 999px;
    background-color: #488FA1;
}


footer {
    background: #1E2833;
    color: white;
    padding: 30px 50px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr .6fr 2fr .5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-section p {
    line-height: 1.8;
    font-size: 14px;
    padding-top: 10px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
    font-size: 18px;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons .facebook {
    background: #3b5998;
    color: white;
}

.social-icons .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icons .twitter {
    background: #1da1f2;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-size: 14px;
}

.contact-info i {
    color: white;
    margin-top: 3px;
    font-size: 16px;
}

.subscribe-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    gap: 0;
    background: #FFFFFF;
    border-radius: 6px;

}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
}

.subscribe-form button {
    background: #488FA1;
    border: none;
    padding: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 5px;
}

.subscribe-form button:hover {
    background: #3d8aab;
}

.subscribe-form button i {
    color: white;
    font-size: 18px;
}


.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(72, 143, 161, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 1000;
}



.scroll-top i {
    color: white;
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid #fff;
    padding-top: 25px;
    text-align: center;
    color: #C3C3C3;
    font-size: 15px;
    font-weight: 400;
}

@media (max-width: 992px) {
    .logo-img {
        width: 120px;
    }

    .navbar {
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo {
        padding: 0 20px;
    }


    .listItems {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 100%;
        height: 10vh;
        gap: 10px;
        background-color: #FFFFFF;
        flex-direction: column;
        /* align-items: center; */
        justify-content: center;
        transition: right 0.5s ease;
        padding: 160px 34px;
        padding-top: 148px;
    }

    .listItems li a {
        color: #5F5F5F;
        font-size: 14px;
        padding-bottom: 3px;
        padding: 3px 0px;
    }

    .listItems.active {
        right: 0;
    }

    .menu-btn {
        display: flex;
    }

    .menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .ourMission {
        background-color: #F4FBFA;
        display: flex;
        flex-direction: column;
        padding: 80px;
        gap: 50px;
        align-items: center;
    }

    .ourVision {
        display: flex;
        flex-direction: column;
        padding: 80px;
        gap: 50px;
        align-items: center;
    }

    .missionContent {
        order: -1;
    }

    .ourteam-body {
        display: flex;
        flex-direction: column;
        gap: 75px;
        align-items: center;
        margin-top: 20px;
    }

    footer {
        padding: 40px 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .scroll-top {
        bottom: 10px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        border-bottom: none;
        box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.05);
    }

    .missionImage {
        width: 421px;
        height: 265px;
        border-radius: 30px;
    }

    .ourMission {
        padding-top: 140px !important;
    }

    .missionImage img {
        width: 360px;
        height: 260px;
    }

    .ourVision,
    .aboutUs p,
    .ourMission,
    .ourTeam {
        padding: 40px;

    }

    .aboutUs p {
        padding-top: 10px;
    }

    .ourVision p,
    .ourMission p,
    .ourTeam p,
    .aboutUs p {
        font-size: 15px;
    }

    .arrow2,
    .arrow1 {
        padding: 10px 10px;
    }

    .bottomcomas,
    .upperComas {
        width: 60px;
        height: 60px;
    }

    .ourTeam h1 {
        gap: 10px;
    }

    .ourTeam h1,
    .aboutUs h1,
    .missionContent h1 {
        font-size: 40px;
        font-weight: 400;
        color: #38424D;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .ourTeam span,
    .aboutUs span,
    .missionContent span {
        color: #488FA1;
        font-size: 40px;
        font-weight: 700;
    }

    .ourTeam-img span {
        font-size: 20px;
        font-weight: normal;
        color: #5F5F5F;
    }

    .subscribe-form {
        margin-bottom: 40px;
    }
}

@media (max-width: 460px) {
    .listItems {
        width: 100%;
    }

    .ourTeam h1,
    .ourTeam span {
        font-size: 30px;
    }

    .missionImage {
        width: 321px;
        height: 265px;
        border-radius: 30px;
    }

    .missionImage img {
        width: 260px;
        height: 260px;
        display: flex;
        justify-content: center;
    }

    .ourTeam-img img {
        width: 299px;
        height: 344px;
        background-color: #dae9ec;
        border-radius: 4px;
    }

    .ourTeam-img span {
        font-size: 16px;
        font-weight: normal;
        color: #5F5F5F;
    }

    .subscribe-form {
        margin-bottom: 20px;
    }
}