@font-face {
    font-family: "primary-font";
    src: url("../assets/fonts/Freight\ Big\ Pro\ Semibold.otf");
}

@font-face {
    font-family: "secondary-font";
    src: url("../assets/fonts/Gilroy-Regular.ttf");
}

:root {
    --color-primary-blue: #07144e;
    --color-secondary-red: #E63946;
    --color-accent-gold: #F4A261;
    --color-bg-light: #e2e2e2;
    --color-text-dark: #222222;
    --color-text-light: #b1b1b1;
    --color-text-dark-blue: #050c2a;
    --color-bg-white: #fff;
}

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

*::-webkit-scrollbar{
    width: 0px;
}


html, body {
    height: 100%;
    width: 100%;
    background-color: var(--color-bg-light);
    color: #222222;
    position: relative;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: transform 300ms ease-in-out;
    z-index: 100;
}

#top-header {
    background-color: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.7em 0;
    transition: transform 300ms ease-in-out;
}

#top-header .vender-contact {
    display: flex;
    align-items: center;
    gap: 3em;
}

#top-header .vender-contact .vender-dtl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
}

#top-header h4, #top-header a {
    font-family: "secondary-font";
    font-weight: 100;
    letter-spacing: -0.03vw;
    text-align: center;
    color: var(--color-text-light);
}

#top-header i {
    font-size: 1.5vw;
    color: var(--color-accent-gold);
}

/* Bottom Header */
#bottom-header {
    background-color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.7em 0;
    transition: transform 300ms ease-in-out;
    position: relative;
}

#bottom-header nav {
    display: flex;
    gap: 1.5em;
}

#bottom-header nav h2 {
    font-size: 1.3em;
    font-family: "primary-font";
    cursor: pointer;
}

#bottom-header nav h2 a {
    text-decoration: none;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
}

#bottom-header nav h2 a:hover {
    color: var(--color-accent-gold);
}

/* Dropdown */
.services-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-white);
    min-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.services-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

/* Dropdown links */
.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 250px;
}

.dropdown-links a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-family: "secondary-font";
    font-size: 0.95em;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-links a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary-blue);
    border-left-color: var(--color-accent-gold);
    transform: translateX(5px);
}

#logo img{
    mix-blend-mode:darken;
    scale: 1.22;
}

.scroll-down header #top-header,
.scroll-down header #bottom-header {
    transform: translateY(-100%);
    margin-top: 3vh;
}

/* HERO */
.hero{
    margin-top: 8%;
    background-image: url("./../assets/images/clients.jpg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 40vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1em;
}

.hero-titles{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #07144e72;

}

.hero h1{
    font-size: 2em;
    font-family: "secondary-font";
    text-transform: uppercase;
    color: var(--color-text-light);
}

.hero-titles h2{
    font-family: "secondary-font";
    font-size: 0.9em;
    color: var(--color-text-light);
}
.hero-titles a{
    text-decoration: none;
    color: var(--color-accent-gold);
}
.container{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 1em;
}

.valued-clients {
    min-height: 70vh;
    text-align: center;
    padding: 4em 0;
}

.valued-clients .container h1{
    font-size: 2.8em;
    font-family: "primary-font";
    text-transform: capitalize;
    color: var(--color-primary-blue);
    font-weight: bold;
    position: relative;
    margin-bottom: 1em;
}

.valued-clients .container h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--color-secondary-red);
}


.clients-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.clients-text{
    width: 35%;
    height: 100%;
    border-right: 4px solid var(--color-accent-gold);
    padding-right: 2em;
}
.clients-text p {
    font-size: 1.4em;
    text-align: left;
    font-family: "primary-font";
    color: var(--color-text-dark);
    margin-bottom: 0.9em;
}

.clients-text ul {
   list-style: none;
   margin-left: 1em;
}

.clients-text li {
    text-align: left;
    font-family: "secondary-font";
    font-size: 1.1em;
    margin-bottom: 0.6em;
}

.join-text {
    font-weight: 600;
    color: var(--color-primary-blue);
    margin-top: 30px !important;
    font-family: "primary-font";
    text-align: left;
    font-size: 1.3em;
}

.clients-logos {
    height: 40vh;
    width: 45%;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.clients-logos img {
    height: 50%;
    object-fit: contain;
    mix-blend-mode: darken;
    scale: 0.9;
    aspect-ratio: 2/2;
}


.menu-icon {
    display: none;
}

.backkground {
    height: 40vh;
    width: 100%;
    background-image: url("../assets/images/quote-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.text {
    background-color: #07144e93;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.text h1 {
    font-family: "primary-font";
    color: var(--color-secondary-red);
    font-size: 2em;
}

.text p {
    font-family: "secondary-font";
    color: var(--color-text-light);
    font-weight: bold;
    text-align: center;
}

.services-section {
    padding: 80px 2vh;
    background-color: var(--color-bg-light);
}

.services-section h2 {
    text-align: center;
    font-size: 2.6em;
    margin-bottom: 60px;
    color: var(--color-primary-blue);
    font-weight: bold;
    font-family: "primary-font";
    letter-spacing: -0.03vw;

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 25vw);
    /* 3 cards per row */
    gap: 30px;
    justify-content: center;
    /* centers grid in container */
    margin: 0 auto;
}

.service-card {
    width: 25vw;
    background: var(--color-bg-white);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 100ms ease, box-shadow 100ms ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 32px;
    color: var(--color-accent-gold);
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--color-primary-blue);
    font-weight: bold;
    font-family: "primary-font";
}

.service-card p {
    font-size: 0.9em;
    color: var(--color-text-dark);
    font-family: "secondary-font";
}

/* Footer Styles */
.footer {
    background-color: var(--color-primary-blue);
    color: var(--color-bg-white);
    padding: 4em 0 0 0;
    /* margin-top: 4em; */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3em;
    padding: 0 4vw;
    margin-bottom: 3em;
}

.footer-section h3 {
    font-family: "primary-font";
    font-size: 1.4em;
    margin-bottom: 1.5em;
    color: var(--color-accent-gold);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-secondary-red);
}

.footer-logo h2 {
    font-family: "primary-font";
    font-size: 2.5em;
    color: var(--color-secondary-red);
    margin-bottom: 0.5em;
}

.footer-logo p {
    font-family: "secondary-font";
    font-size: 1.1em;
    color: var(--color-accent-gold);
    font-weight: 600;
}

.footer-description p {
    font-family: "secondary-font";
    font-size: 1em;
    line-height: 1.6;
    margin-top: 1em;
    color: var(--color-text-light);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    margin-bottom: 1.5em;
}

.contact-item i {
    color: var(--color-accent-gold);
    font-size: 1.2em;
    margin-top: 0.2em;
}

.contact-item h4 {
    font-family: "secondary-font";
    font-size: 1.1em;
    color: var(--color-bg-white);
    margin-bottom: 0.2em;
}

.contact-item p {
    font-family: "secondary-font";
    font-size: 0.9em;
    color: var(--color-text-light);
}

.office {
    margin-bottom: 2em;
}

.office h4 {
    font-family: "secondary-font";
    font-size: 1.1em;
    color: var(--color-accent-gold);
    margin-bottom: 0.8em;
}

.office p {
    font-family: "secondary-font";
    font-size: 0.9em;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 0.5em;
}

.office p i {
    color: var(--color-accent-gold);
    margin-right: 0.5em;
}

.license-item {
    margin-bottom: 1.5em;
}

.license-item h4 {
    font-family: "secondary-font";
    font-size: 1em;
    color: var(--color-accent-gold);
    margin-bottom: 0.5em;
}

.license-item p {
    font-family: "secondary-font";
    font-size: 0.9em;
    color: var(--color-text-light);
}

.footer-bottom {
    background-color: var(--color-text-dark-blue);
    padding: 1.2em 0;
    border-top: 1px solid #1a2a5e;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6vw;
}

.footer-bottom p {
    font-family: "secondary-font";
    font-size: 0.9em;
    color: var(--color-text-light);
}

.social-links {
    display: flex;
    gap: 1em;
}

.social-links a {
    color: var(--color-text-light);
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-accent-gold);
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cards per row */
    }

    .service-card {
        width: 50vw;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    #top-header {
        display: none;
    }

    .hero-titles{
        flex-direction: column;
        justify-content: center;
    }

    .hero h1{
        font-size: 1.8em;
    }
    .hero-titles h2{
        font-size: 0.6em;
    }

    .clients-content{
        flex-direction: column;
    }

    .clients-text{
        width: 90%;
        border-right: none;
        border-bottom: 3px solid var(--color-accent-gold);
        padding-right: 0;
    }

    .clients-logos{
        width: 90%;
    }

    .clients-logos img {
        height: 50%;
        object-fit: contain;
        aspect-ratio: 4/1;
        mix-blend-mode: darken;
        scale: 1.1;
    }

    .hero-titles p {
        font-size: 1.2em;
    }

    .menu-icon {
        display: block;
    }

    .about-container .home-about {
        margin: 7vh 0;
    }

    .about-container .home-about .about {
        width: 100%;

        h1 {
            font-size: 2.4em;
            line-height: 1em;
            margin-bottom: 2vh;
        }

        p {
            font-size: 0.9em;
            width: 100%;
        }

        button {
            font-size: x-small;
            margin-top: 2vh;
        }
    }

    .about-container .home-about .card-container {
        width: 100%;
        flex-direction: column;
    }

    .about-container .home-about .card-container .card {
        width: 100%;
        margin-top: 5vh;
    }


    .scroll-down header,
    .scroll-down header #bottom-header {
        margin-top: 0.5vh;
        transform: translateY(-100%);
    }

    #bottom-header {
        justify-content: space-between;
        padding: 0.3em 0.7em;
    }

    #bottom-header nav {
        display: none;
    }

    #logo {
        height: 3em;
        width: 10em;

        img {
            height: 100%;
            width: 100%;
            object-fit: contain;
            object-position: bottom;
        }
    }

    .home-about {
        display: flex;
        flex-direction: column;
        padding: 0 4vw;
    }

    .home-about .card-container {
        margin-top: 5vh;
        width: 100%;
        gap: 1em;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* 1 card per row */
    }

    .service-card {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2em;
        padding: 0 4vw;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1em;
        text-align: center;
        padding: 0 4vw;
    }

    .footer {
        padding: 3em 0 0 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 3vw;
    }

    .footer-bottom-content {
        padding: 0 3vw;
    }
}



/* ✅ RESPONSIVE FIXES */
@media (max-width: 768px) {
    #top-header { display: none; }

    .clients-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .v-divider { display: none; }

    .hero-titles p { font-size: 1em; }

    #bottom-header {
        justify-content: space-between;
        padding: 0.3em 0.7em;
    }

    /* Mobile menu */
    #bottom-header nav {
        display: none;
        flex-direction: column;
        background: var(--color-bg-white);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1em 0;
    }
    #bottom-header nav.active { display: flex; }
    #bottom-header nav h2 {
        text-align: center;
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-titles h1 { font-size: 2em; }
    .hero-titles p { font-size: 0.9em; }
    .clients-logos img { height: 50px; }
}
