@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);
}

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

.services-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px;
    background: transparent;
    z-index: 999;
}

.services-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.services-trigger {
    cursor: pointer;
    transition: color 0.3s ease;
}

.services-trigger:hover {
    color: var(--color-accent-gold);
}

.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;
    top: calc(100% - 1px);
}



.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;
}



/* Responsive Design for Dropdown */
@media (max-width: 768px) {
    .dropdown-content {
        min-width: 90vw;
        left: 0;
        transform: none;
        flex-direction: column;
        padding: 15px;
    }
    
    .dropdown-links {
        gap: 8px;
    }
    
    .dropdown-links a {
        font-size: 0.9em;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .dropdown-content {
        min-width: 95vw;
        padding: 10px;
    }
    
    .dropdown-links a {
        font-size: 0.85em;
        padding: 5px 8px;
    }
}

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

#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;
}


/* Hero Section Styles */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero .hero-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .swiper-wrapper,
.hero .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero .swiper-slide {
    background-size: cover;
    background-position: center;
}

.hero .swiper-pagination-bullet {
    background: rgba(255,255,255,0.8);
    opacity: 1;
}
.hero .swiper-pagination-bullet-active {
    background: #fff;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 100%);
}


.hero .hero-titles {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    pointer-events: auto;
    padding: 1.2em 2em;
    /* background: rgba(7, 20, 78, 0.45); */
    border-radius: 10px;
    backdrop-filter: blur(3px);
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.hero .hero-titles h1,
.hero .hero-titles p {
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-titles h1 {
    font-size: 4.5em;
    font-family: "primary-font";
    text-transform: capitalize;
    color: #ffffff;
    line-height: 0.8em;
}

.hero-titles p {
    font-family: "secondary-font";
    max-width: 900px;
    font-size: 1.15em;
    color: rgba(255,255,255,0.92);
    margin-top: 1em;
    line-height: 1.6;
}

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-indicators .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-indicators .dot.active {
  background: white;
}




.about-container {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container .home-about {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3vw;
}

.about-container .home-about .about {
    width: 45%;
}

.about-container .home-about .about h1 {
    font-size: 2.6em;
    letter-spacing: -0.03vw;
    font-family: "primary-font";
    color: var(--color-primary-blue);
    text-transform: capitalize;
    margin-bottom: 0.1em;
}

.about-container .home-about .about p {
    font-family: "secondary-font";
    font-size: 1.2em;
    color: var(--color-text-dark);
    margin-bottom: 0.6em;
    width: 80%;
}

.about-container .home-about .about button{
    font-family: "secondary-font";
    font-size: 0.9em;
    color: var(--color-secondary-red);
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4em 1.3em;
    margin-top: 0.6em;
    border: 2px solid var(--color-secondary-red);
    cursor: pointer;
}

.about-container .home-about .about button a{
    color: var(--color-secondary-red);
}

.about-container .home-about .about button:hover {
    background-color: var(--color-secondary-red);
}
.about-container .home-about .about button:hover a{
    color: var(--color-bg-white);
}

.about-container .home-about .card-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9em;
    width: 45%;
}

.about-container .home-about .card-container .card {
    width: 35vh;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .card-content {
        padding: 0.2em;
    }

    .card-content h2 {
        font-size: 1.5em;
        color: var(--color-secondary-red);
        font-family: "primary-font";
        text-transform: capitalize;
        margin-bottom: 6px;
    }

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



.menu-icon {
    display: none;
}

.backkground {
    height: 40vh;
    width: 100%;
    background-image: url("https://www.jznlogistics.com/upload/others/quote-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.text {
    background-color: #07144e72;
    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{
        min-height: 50vh;
        margin-top: 5vh;
        width: 100%;
    }

    .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; }
}
