/* =====================================================
   RESET
===================================================== */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Poppins", sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
     opacity: 0;
    animation: pageLoad 0.4s ease forwards;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
}


button,
input,
textarea,
select {
    font-family: inherit;
}





/* =====================================================
   GLOBAL
===================================================== */

:root {
    --primary: #123b63;
    --primary-dark: #0b2945;
    --accent: #d59b35;
    --light: #f5f8fb;
    --text: #1f2937;
    --muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
}


section {
    width: 100%;
}


.section-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}


.section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}


.section-heading h2,
.about-text h2,
.faq-intro h2 {
    color: var(--primary);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    margin-bottom: 15px;
}


.section-heading p,
.faq-intro > p {
    color: var(--muted);
    max-width: 650px;
    margin: auto;
}



/* =========================================
   TOP HEADER
========================================= */

.top-header {
    width: 100%;
    min-height: 40px;

    padding: 0 6%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #071e33;
    color: #ffffff;

    font-size: 13px;
}


/* LEFT SIDE */

.left-top {
    display: flex;
    align-items: center;
    gap: 28px;
}

.left-top span {
    display: flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;
}

.left-top i {
    color: #dfa12d;
    font-size: 13px;
}


/* RIGHT SIDE / SOCIAL ICONS */

.right-top {
    display: flex;
    align-items: center;
    gap: 17px;
}

.right-top a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 15px;

    text-decoration: none;

    transition: all 0.25s ease;
}

.right-top a:hover {
    color: #dfa12d;
    transform: translateY(-2px);
}


/* =========================================
   MAIN NAVBAR
========================================= */

nav {
    width: 100%;
    min-height: 76px;

    padding: 0 6%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    border-bottom: 1px solid #e5e9ed;

    position: relative;
    z-index: 1000;
}


/* =========================================
   LOGO
========================================= */

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo h2 {
    margin: 0;

    color: #071e33;

    font-size: 28px;
    font-weight: 800;

    letter-spacing: -0.5px;
}


/* =========================================
   NAVIGATION LIST
========================================= */

nav ul {
    display: flex;
    align-items: center;

    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* =========================================
   NAVIGATION LINKS
========================================= */

nav ul li a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 28px 0;

    color: #344657;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: color 0.25s ease;
}


/* Hover */

nav ul li a:hover {
    color: #dfa12d;
}


/* =========================================
   ACTIVE PAGE
========================================= */

nav ul li a.active {
    color: #dfa12d;
}


/* Active underline */

nav ul li a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 15px;

    height: 3px;

    background: #dfa12d;

    border-radius: 10px;
}

/* =========================================
   HOMEPAGE NAVBAR COMPATIBILITY
========================================= */

/* Homepage logo uses <a> instead of <h2> */

nav .logo a {
    color: #071e33;

    text-decoration: none;

    font-size: 28px;

    font-weight: 800;

    letter-spacing: -0.5px;

    transition: color 0.25s ease;
}

nav .logo a:hover {
    color: #dfa12d;
}


/* Homepage menu button */

.menu-toggle {
    display: none;

    border: none;

    background: transparent;

    color: #071e33;

    font-size: 24px;

    cursor: pointer;
}



/* HOMEPAGE NAVBAR SPAN */
.left-top a {
    color: #ffffff;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 8px;

    transition: color 0.25s ease;
}

.left-top a:hover {
    color: #dfa12d;
}

.left-top a i {
    color: #dfa12d;
}


/* =========================================
   HOMEPAGE TABLET
========================================= */

@media (max-width: 900px) {

    nav .logo a {
        font-size: 25px;
    }

}


/* =========================================
   HOMEPAGE MOBILE
========================================= */

@media (max-width: 700px) {

    nav .logo a {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: relative;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .top-header {
        padding: 0 5%;
    }

    nav {
        padding: 0 5%;
    }

    nav ul {
        gap: 22px;
    }

    nav ul li a {
        font-size: 14px;
    }

    nav .logo h2 {
        font-size: 25px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .top-header {
        padding: 9px 5%;

        flex-wrap: wrap;

        gap: 10px;
    }

    .left-top {
        gap: 15px;

        flex-wrap: wrap;
    }

    .left-top span {
        font-size: 11px;
    }

    .right-top {
        gap: 12px;
    }


    nav {
        padding: 15px 5%;

        flex-direction: column;

        gap: 15px;
    }

    nav .logo h2 {
        font-size: 24px;
    }

    nav ul {
        width: 100%;

        justify-content: center;

        gap: 18px;

        flex-wrap: wrap;
    }

    nav ul li a {
        padding: 5px 0;

        font-size: 13px;
    }

    nav ul li a.active::after {
        bottom: -5px;

        height: 2px;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 480px) {

    .top-header {
        justify-content: center;
    }

    .left-top {
        justify-content: center;
    }

    .right-top {
        display: none;
    }

    nav {
        padding: 14px 5%;
    }

    nav .logo h2 {
        font-size: 23px;
    }

    nav ul {
        gap: 13px;
    }

    nav ul li a {
        font-size: 12px;
    }
}



/* =====================================================
   HERO
===================================================== */

#hero {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
     gap: 40px;
    padding: 60px 0;
    background: #071e34
}


.hero-content {
    position: relative;
    z-index: 2;
    width: 48%;
    margin-left: 6%;
    color: white;
}

.hero-image {
  width: 38%; 
   

}
.hero-image img {
    width: 100%;;
    border-radius: 20px;
    height: 420px;
object-fit: cover;
border: 3px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
gap: 40px;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 15px;
    color: #f3c46d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}


.hero-content h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.08;
    margin-bottom: 25px;
}


.hero-content h1 span {
    display: block;
    color: #f0bf61;
}


.hero-content p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin-bottom: 32px;
}


.hero-buttons,
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


.primary-btn,
.secondary-btn,
.view-all-btn,
.service-card a,
.text-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    transition: 0.3s;
}


.primary-btn {
    padding: 14px 25px;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-weight: 600;
}


.primary-btn:hover {
    transform: translateY(-3px);
}


.secondary-btn {
    padding: 13px 24px;
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
    border-radius: 6px;
    font-weight: 600;
}


.secondary-btn:hover {
    background: white;
    color: var(--primary);
}

@media (max-width: 768px) {
#hero {
        flex-direction: column;
    }

     .hero-content {
        width: 90%;
        margin-left: 0;
    }
}



/* =====================================================
   QUICK FEATURES
===================================================== */

.quick-features {
    width: min(1100px, 90%);
    margin: -45px auto 0;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: white;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border-right: 1px solid var(--border);
}


.feature-item:last-child {
    border-right: none;
}


.feature-item > i {
    color: var(--accent);
    font-size: 28px;
}


.feature-item h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 3px;
}


.feature-item p {
    color: var(--muted);
    font-size: 13px;
}



/* =====================================================
   ABOUT
===================================================== */

.about-section {
    width: min(1150px, 90%);
    margin: auto;
    padding: 110px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}


.about-image {
    position: relative;
}


.about-image::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent);
    z-index: -1;
}


.about-image img {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}


.about-text p {
    color: var(--muted);
    margin-bottom: 18px;
}


#moreText {
    display: none;
}


#moreText.show {
    display: block;
}


.text-btn {
    margin-top: 8px;
    border: none;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}


.text-btn:hover {
    color: var(--accent);
}



/* =====================================================
   SERVICES
===================================================== */

.services-preview {
    padding: 100px 6%;
    background: var(--light);
    text-align: center;
}


.service-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


.service-card {
    padding: 38px 30px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: left;
    transition: 0.3s;
}


.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}


.service-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #edf3f8;
    color: var(--primary);
    font-size: 25px;
}


.service-card h3 {
    color: var(--primary);
    font-size: 21px;
    margin-bottom: 12px;
}


.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}


.service-card a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}


.service-card a:hover {
    color: var(--accent);
}


.view-all-btn {
    margin-top: 38px;
    padding: 13px 23px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    font-weight: 600;
}


.view-all-btn:hover {
    background: var(--primary);
    color: white;
}



/* =====================================================
   WHY
===================================================== */

.why-section {
    padding: 100px 6%;
}


.why-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


.why-box {
    padding: 30px 22px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: 0.3s;
}


.why-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}


.why-box i {
    color: var(--accent);
    font-size: 30px;
    margin-bottom: 15px;
}


.why-box h3 {
    color: var(--primary);
    margin-bottom: 8px;
}


.why-box p {
    color: var(--muted);
    font-size: 13px;
}



/* =====================================================
   GALLERY
===================================================== */

.gallery-preview {
    padding: 100px 6%;
    background: var(--light);
    text-align: center;
}


.gallery-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 15px;
}


.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}


.gallery-card.large {
    grid-row: span 2;
}


.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}


.gallery-card:hover img {
    transform: scale(1.07);
}


.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 22px 20px;
    text-align: left;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}


.gallery-caption h3 {
    font-size: 21px;
}


.gallery-caption p {
    font-size: 13px;
}



/* =====================================================
   STATS
===================================================== */

.stats-section {
    padding: 75px 6%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--primary);
    color: white;
    text-align: center;
}


.stat {
    padding: 15px;
    border-right: 1px solid rgba(255,255,255,0.15);
}


.stat:last-child {
    border-right: none;
}


.stat i {
    color: #f3c46d;
    font-size: 25px;
    margin-bottom: 8px;
}


.stat h2 {
    font-size: 36px;
}


.stat p {
    color: rgba(255,255,255,0.75);
}



/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonials-section {
    padding: 105px 6%;
    text-align: center;
}


.testimonial-slider {
    max-width: 850px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}


.testimonial-track {
    flex: 1;
    position: relative;
    min-height: 310px;
}


.testimonial {
    display: none;
    padding: 42px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(15,23,42,0.08);
    text-align: center;
}


.testimonial.active {
    display: block;
    animation: testimonialFade 0.4s ease;
}


@keyframes testimonialFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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


.quote-icon {
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 10px;
}


.stars {
    color: #e5a72b;
    letter-spacing: 4px;
    margin-bottom: 20px;
}


.testimonial > p {
    max-width: 650px;
    margin: auto auto 25px;
    color: #475569;
    font-size: 16px;
    font-style: italic;
}


.customer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}


.customer-avatar {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
}


.customer h4 {
    color: var(--primary);
}


.customer span {
    color: var(--muted);
    font-size: 12px;
}


.testimonial-arrow {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: 0.3s;
}


.testimonial-arrow:hover {
    background: var(--primary);
    color: white;
}


.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}


.dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}


.dot.active {
    background: var(--accent);
}



/* =====================================================
   FAQ
===================================================== */

.faq-section {
    padding: 100px 6%;
    background: var(--light);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}


.faq-intro {
    max-width: 450px;
}


.faq-intro .text-btn {
    margin-top: 25px;
}


.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}


.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: none;
    background: white;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}


.faq-question i {
    transition: 0.3s;
}


.faq-item.open .faq-question i {
    transform: rotate(45deg);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}


.faq-answer p {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 14px;
}



/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 80px 8%;
    background:
        linear-gradient(
            100deg,
            var(--primary),
            #1c567f
        );
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}


.cta-section .section-label {
    color: #f3c46d;
}


.cta-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 10px;
}


.cta-section p {
    max-width: 650px;
    color: rgba(255,255,255,0.8);
}


.cta-section .secondary-btn {
    border-color: rgba(255,255,255,0.6);
}



/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #0b1f33;
    color: white;
}


.footer-content {
    max-width: 1150px;
    margin: auto;
    padding: 65px 6%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 45px;
}


.footer-brand h2 {
    font-size: 25px;
    margin-bottom: 10px;
}


.footer-brand p {
    color: #aebdcc;
    max-width: 280px;
}


.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-column h3 {
    margin-bottom: 8px;
}


.footer-column a,
.footer-column span {
    color: #aebdcc;
    text-decoration: none;
    font-size: 14px;
}


.footer-column a:hover {
    color: #f3c46d;
}


.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}


.footer-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #385069;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}


.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
}


.footer-bottom {
    padding: 18px 6%;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #8fa1b3;
    font-size: 13px;
}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 950px) {

    nav ul {
        gap: 16px;
    }


    .quick-features {
        grid-template-columns: 1fr;
    }


    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }


    .feature-item:last-child {
        border-bottom: none;
    }


    .about-section,
    .faq-section {
        grid-template-columns: 1fr;
    }


    .service-container {
        grid-template-columns: 1fr 1fr;
    }


    .why-container {
        grid-template-columns: 1fr 1fr;
    }


    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

}



@media (max-width: 700px) {

    .top-header {
        padding: 8px 5%;
    }


    .left-top {
        gap: 10px;
    }


    .left-top a {
        font-size: 11px;
    }


    .right-top {
        display: none;
    }


    nav {
        min-height: 65px;
    }


    .menu-toggle {
        display: block;
    }


    nav ul {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }


    nav ul.show {
        display: flex;
    }


    nav ul li a {
        display: block;
        padding: 15px 6%;
    }


    nav ul a::after {
        display: none;
    }


    #hero {
        min-height: 570px;
    }


    .hero-content {
        margin: auto;
        text-align: center;
    }


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


    .hero-buttons,
    .cta-buttons {
        justify-content: center;
    }


    .about-section {
        padding: 75px 0;
    }


    .about-image img {
        min-height: 300px;
    }


    .service-container,
    .why-container,
    .stats-section {
        grid-template-columns: 1fr;
    }


    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 180px 180px;
    }


    .gallery-card.large {
        grid-column: span 2;
        grid-row: auto;
    }


    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }


    .stat:last-child {
        border-bottom: none;
    }


    .testimonial-slider {
        gap: 8px;
    }


    .testimonial {
        padding: 30px 20px;
    }


    .testimonial-arrow {
        width: 38px;
        height: 38px;
    }


    .cta-section {
        flex-direction: column;
        text-align: center;
    }


    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }


    .footer-brand p {
        margin: auto;
    }


    .footer-socials {
        justify-content: center;
    }

}



@media (max-width: 450px) {

    .left-top a:nth-child(2) {
        display: none;
    }


    .hero-buttons a,
    .cta-buttons a {
        width: 100%;
    }


    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 220px);
    }


    .gallery-card.large {
        grid-column: auto;
    }

}

@keyframes pageLoad {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}
