/* ================= BASIC ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
}


/* ================= NAVBAR ================= */

.navbar {
    width: 100%;
    min-height: 90px;

    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 70px;

    background-color: #ffffff;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-main {
    font-size: 32px;
    font-weight: 700;
    color: #173f5f;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    letter-spacing: 2px;

    padding-left: 12px;

    border-left: 1px solid #aaa;
}

.logo-role {
    font-size: 11px;
    color: #777;
    letter-spacing: 1.5px;
    margin-left: 2px;
}


/* ================= NAV LINKS ================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links li a {
    position: relative;

    color: #333;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.3px;

    padding: 10px 0;

    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #173f5f;
}

.nav-links li a.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background-color: #173f5f;
}


/* ================= BANNER ================= */

.about-banner {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-image:
        linear-gradient(
            rgba(20, 40, 60, 0.70),
            rgba(20, 40, 60, 0.70)
        ),
        url("aboutbg.jpg");

    background-size: cover;
    background-position: center;
}

.banner-content {
    color: #fff;
}

.banner-content span {
    display: block;

    font-size: 32px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.banner-content h1 {
    font-size: 46px;

    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
}


/* ================= SECTION HEADING ================= */

.section-heading {
    text-align: center;

    max-width: 900px;

    margin: 0 auto 50px;
}

.section-heading span,
.about-content > span,
.professional-content > span,
.mission > span,
.vision > span {

    display: block;

    color: #1c3d5a;

    font-size: 32px;

    font-weight: 700;

    letter-spacing: 1px;
}

.section-heading h2,
.about-content h2,
.professional-content h2,
.mission h2,
.vision h2 {

    font-size: 22px;

    font-weight: 500;

    color: #222;

    line-height: 1.4;

    margin: 10px 0 18px;
}


/* ================= WHO WE ARE ================= */

.about-intro {

    padding: 80px 8%;

    display: flex;

    align-items: center;

    gap: 70px;
}


/* ================= CAROUSEL ================= */

.about-image {

    width: 50%;

    height: 430px;

    position: relative;

    overflow: hidden;

    border-radius: 8px;
}

.carousel-track {

    display: flex;

    width: 200%;

    height: 100%;

    transition: transform 0.7s ease-in-out;
}

.about-slide {

    width: 50%;

    height: 100%;

    flex-shrink: 0;
}

.about-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* ================= CAROUSEL BUTTONS ================= */

.carousel-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.90);

    color: #1c3d5a;

    font-size: 22px;

    cursor: pointer;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.3s;
}

.carousel-btn:hover {

    background-color: #fff;

    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {

    left: 15px;
}

.carousel-btn.next {

    right: 15px;
}


/* ================= CAROUSEL DOTS ================= */

.carousel-dots {

    position: absolute;

    bottom: 18px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 5;
}

.dot {

    width: 11px;

    height: 11px;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.85);

    cursor: pointer;

    transition: 0.3s;
}

.dot.active-dot {

    background-color: #1c3d5a;

    transform: scale(1.15);
}


/* ================= ABOUT CONTENT ================= */

.about-content {

    width: 50%;
}

.about-content p {

    color: #666;

    margin-bottom: 15px;

    font-size: 15px;
}


/* ================= OUR PROFESSIONAL ================= */

.professional {

    padding: 80px 8%;

    display: flex;

    align-items: center;

    gap: 70px;
}

.professional-image {

    width: 40%;
}

.professional-image img {

    width: 100%;

    height: 450px;

    object-fit: cover;

    border-radius: 8px;
}

.professional-content {

    width: 60%;
}

.professional-content h3 {

    color: #1c3d5a;

    font-size: 18px;

    margin-bottom: 20px;
}

.professional-content p {

    color: #666;

    margin-bottom: 15px;

    font-size: 15px;
}


/* ================= OUR APPROACH ================= */

.approach {

    padding: 80px 8%;

    background-color: #f7f9fb;

    text-align: center;
}

.approach-container {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.approach-card {

    background-color: #fff;

    padding: 35px 25px;

    border-radius: 8px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.approach-card:hover {

    transform: translateY(-7px);
}

.approach-card h3 {

    color: #1c3d5a;

    font-size: 21px;

    margin-bottom: 12px;
}

.approach-card p {

    color: #666;

    font-size: 14px;
}


/* ================= MISSION & VISION ================= */

.mission-vision {

    padding: 80px 8%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;
}

.mission,
.vision {

    padding: 40px;

    background-color: #f7f9fb;

    border-radius: 8px;
}

.mission p,
.vision p {

    color: #666;

    font-size: 15px;
}


/* ================= CTA ================= */

.cta {

    padding: 80px 8%;

    background-color: #1c3d5a;

    color: #fff;

    text-align: center;
}

.cta-content {

    max-width: 850px;

    margin: auto;
}

.cta h2 {

    font-size: 38px;

    line-height: 1.3;

    margin-bottom: 15px;
}

.cta p {

    font-size: 17px;
}

.btn {

    display: inline-block;

    padding: 12px 28px;

    background-color: #fff;

    color: #1c3d5a;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 600;

    margin-top: 20px;

    transition: 0.3s;
}

.btn:hover {

    background-color: #eee;
}


/* ================= FOOTER ================= */

.footer {

    background-color: #173f5f;

    color: #fff;

    padding-top: 60px;
}

.footer-container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-column h2 {

    font-size: 32px;

    letter-spacing: 2px;

    margin-bottom: 2px;
}

.footer-column h3 {

    font-size: 15px;

    letter-spacing: 1.5px;

    margin-bottom: 20px;
}

.footer-column:first-child h3 {

    color: #d8c6a0;
}

.footer-column p {

    color: #d9e2e8;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 15px;
}

.footer-column ul {

    list-style: none;
}

.footer-column ul li {

    margin-bottom: 12px;

    color: #d9e2e8;

    font-size: 14px;
}

.footer-column ul li a {

    color: #d9e2e8;

    transition: 0.3s;
}

.footer-column ul li a:hover {

    color: #fff;

    padding-left: 5px;
}


/* ================= FOOTER BOTTOM ================= */

.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    width: 90%;

    max-width: 1200px;

    margin: auto;

    padding: 20px 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.footer-bottom p {

    color: #cbd5dc;

    font-size: 12px;
}


/* ================= TABLET ================= */

@media (max-width: 1000px) {

    .navbar {

        padding: 20px 5%;
    }

    .nav-links {

        gap: 20px;
    }

    .about-intro,
    .professional {

        gap: 40px;
    }

    .footer-container {

        grid-template-columns: repeat(2, 1fr);
    }

}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .about-intro,
    .professional {

        flex-direction: column;
    }

    .about-image,
    .about-content,
    .professional-image,
    .professional-content {

        width: 100%;
    }

    .approach-container {

        grid-template-columns: 1fr;
    }

    .mission-vision {

        grid-template-columns: 1fr;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 600px) {

    .navbar {

        flex-direction: column;

        gap: 20px;
    }

    .nav-links {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    .about-banner {

        min-height: 350px;
    }

    .banner-content h1 {

        font-size: 32px;
    }

    .banner-content span {

        font-size: 26px;
    }

    .section-heading span,
    .about-content > span,
    .professional-content > span,
    .mission > span,
    .vision > span {

        font-size: 26px;
    }

    .section-heading h2,
    .about-content h2,
    .professional-content h2,
    .mission h2,
    .vision h2 {

        font-size: 19px;
    }

    .about-image {

        height: 300px;
    }

    .professional-image img {

        height: 350px;
    }

    .mission,
    .vision {

        padding: 30px 20px;
    }

    .cta h2 {

        font-size: 30px;
    }

    .footer-container {

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;
    }

}

/* ================= HERO HEADING ANIMATION ================= */

.hero-title {
    animation: heroHeading 1.5s ease-out;
}

@keyframes heroHeading {

    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}