/* 
    G&P Logistics - Ultra-Modern Design System
    Author: Antigravity
    Version: 2.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Sophisticated Color Palette */
    --clr-primary: #020617;
    --clr-secondary: #0F172A;
    --clr-accent: #10B981;
    --clr-accent-glow: rgba(16, 185, 129, 0.4);
    --clr-gold: #F59E0B;
    --clr-gold-glow: rgba(245, 158, 11, 0.4);
    --clr-text-main: #F8FAFC;
    --clr-text-muted: #94A3B8;
    --clr-glass: rgba(255, 255, 255, 0.03);
    --clr-glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    --glass-blur: blur(12px);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Core */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--clr-primary);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

a {
    transition: var(--transition-smooth);
    color: inherit;
    text-decoration: none;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-padding {
    padding: 120px 0;
}

/* Header & Glass Nav */
header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1400px;
    height: 100px;
    background: var(--clr-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--clr-glass-border);
    border-radius: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

header.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    background: rgba(2, 6, 23, 0.9);
    height: 80px;
}

header.scrolled .logo img {
    height: 60px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.logo span {
    color: var(--clr-accent);
    text-shadow: 0 0 15px var(--clr-accent-glow);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-text-main);
}

/* Luxury Hero Redesign - Streamlined Static */
.hero {
    height: 85vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--clr-primary);
}

.hero-bg-static {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-static img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent, var(--clr-primary) 90%),
        linear-gradient(to top, var(--clr-primary) 5%, transparent 35%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-glass-box {
    background: rgba(2, 6, 23, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--clr-accent) 0%, #34D399 50%, var(--clr-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin: 0 auto 2.5rem;
    max-width: 500px;
}

/* Page Header Utility */
.page-header {
    background: linear-gradient(to bottom, var(--clr-secondary), var(--clr-primary));
    text-align: center;
    padding-top: 200px;
}

@media (max-width: 992px) {
    .page-header {
        padding-top: 150px;
        padding-bottom: 60px;
    }
}

/* Scroll Mouse Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    right: 5rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: var(--clr-text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--clr-glass-border);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--clr-accent);
    border-radius: 2px;
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 12px);
        opacity: 0;
    }
}

/* Hero Branded Slider */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--clr-glass-border);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.hero-slider {
    display: flex;
    width: 300%;
    /* For 3 slides */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Branded Name Overlay */
.brand-watermark {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(16, 185, 129, 0.9);
    color: var(--clr-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-weight: 900;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    z-index: 5;
    font-size: 1rem;
}

.slide-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--clr-glass-border);
}

.slide-caption h4 {
    margin-bottom: 0.2rem;
    color: var(--clr-accent);
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        height: 350px;
    }

    .brand-watermark {
        top: 1rem;
        right: 1rem;
        font-size: 0.8rem;
    }
}

/* Hero Visual Narrative Grid - Vertical Stack Version */
.hero-visual-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.5rem;
    height: 400px;
    width: 100%;
}

@media (max-width: 992px) {
    .hero-visual-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-img-box {
        height: 300px;
    }
}

.hero-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--clr-glass-border);
    transition: var(--transition-smooth);
}

.hero-img-box:nth-child(1) {
    grid-row: span 2;
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-img-box:hover img {
    transform: scale(1.1);
}

.hero-img-box .img-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-accent);
    border: 1px solid var(--clr-glass-border);
}

@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        margin: 0 auto 3rem;
        border-left: none;
        padding-left: 0;
    }

    .hero-visual-grid {
        height: 400px;
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Premium Buttons */
.btn {
    padding: 1.2rem 2.8rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    display: inline-block;
    cursor: pointer;
}

/* Dedicated Stats Bar Section */
.stats-section {
    position: relative;
    background: var(--clr-primary);
    padding-bottom: 60px;
    margin-top: -80px;
    /* Slight overlap for styling */
    z-index: 10;
}

.stats-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 3rem;
    border-radius: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

.btn-pill {
    background: var(--clr-accent);
    color: var(--clr-primary);
    box-shadow: 0 0 20px var(--clr-accent-glow);
}

.btn-pill:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 40px var(--clr-accent-glow);
}

.btn[type="submit"] {
    position: relative;
    z-index: 5;
    cursor: pointer;
}

.btn-glass {
    background: var(--clr-glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--clr-glass-border);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-accent);
}

/* Responsive Grid Utility */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card-fancy {
    background: var(--clr-glass);
    backdrop-filter: var(--glass-blur);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--clr-glass-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-fancy::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.card-fancy:hover {
    transform: translateY(-15px);
    border-color: var(--clr-accent);
    background: rgba(255, 255, 255, 0.05);
}

.card-fancy:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--clr-accent);
}

/* Service Images Hover Effect */
.service-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    height: 600px;
}

.service-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.service-box:nth-child(2) {
    grid-row: span 2;
}

.service-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-box .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--clr-primary), transparent 60%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-box:hover img {
    transform: scale(1.1) rotate(2deg);
}

/* Experience Badge Widget */
.experience-badge {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--clr-primary);
    padding: 1.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--clr-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 10;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-accent);
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--clr-glass-border);
    padding-top: 100px;
    background: var(--clr-secondary);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 6rem;
    padding-bottom: 80px;
}

.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid var(--clr-glass-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* Utility Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Tablet & Mobile Nav Fixes */
@media (max-width: 1100px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }

    header {
        height: 80px;
        top: 1rem;
    }

    .nav-links {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .hamburger-v2 {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .hamburger-v2 span {
        display: block;
        width: 30px;
        height: 2px;
        background: white;
        transition: var(--transition-smooth);
    }

    .hamburger-v2.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-v2.active span:nth-child(2) {
        transform: translateY(0) rotate(-45deg);
    }

    .logo img {
        height: 50px;
    }

    /* Mobile Menu Overlay */
    .nav-links.mobile-active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--clr-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 1000;
        animation: fadeIn 0.4s ease forwards;
    }

    .nav-links.mobile-active a {
        font-size: 1.5rem;
        color: white;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .stats-bar-inner {
        padding: 2rem;
    }

    .stat-item {
        flex: 1 1 45%;
        text-align: center;
        border-right: none !important;
        margin-bottom: 2rem;
    }

    .stat-item:last-child {
        margin-bottom: 0;
    }

    /* Vision Section Grid Override */
    .section-padding div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
    }

    .experience-badge {
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-glass-box {
        padding: 2rem 1.5rem;
        border-radius: 25px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        margin: 0 !important;
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .stats-bar-inner {
        margin-top: 0;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .section-padding {
        padding: 60px 0;
    }

    .grid-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-fancy {
        padding: 2.5rem 1.5rem;
    }

    section[style*="margin: 100px 2.5rem"] {
        margin: 60px 1rem !important;
        padding: 3rem 1.5rem !important;
    }

    section[style*="margin: 100px 2.5rem"] h2 {
        font-size: 2.5rem !important;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-main div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-main div:first-child div {
        justify-content: center;
    }

    .footer-main form {
        flex-direction: column;
    }

    .footer-bottom {
        padding: 20px 0;
        font-size: 0.8rem;
    }
}

/* Luxury Modern Spotlight Cursor */
.custom-cursor {
    width: 6px;
    height: 6px;
    background-color: var(--clr-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.3s;
}

.cursor-follower {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
    background: transparent;
    border-radius: 0;
    filter: none;
}

.cursor-follower::before,
.cursor-follower::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--clr-accent);
    transition: all 0.3s ease;
}

.cursor-follower::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.cursor-follower::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

.cursor-label {
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
    font-size: 0.5rem;
    font-family: var(--font-heading);
    color: var(--clr-accent);
    white-space: nowrap;
    opacity: 0.7;
    letter-spacing: 1.5px;
    font-weight: 800;
    pointer-events: none;
    transition: color 0.3s;
}

.cursor-follower.cursor-active .cursor-label {
    color: var(--clr-gold);
}

/* Hide default cursor on desktop */
@media (min-width: 1024px) {

    body,
    a,
    button,
    select,
    input,
    .solutions-item,
    .service-box,
    .btn {
        cursor: none;
    }
}

/* Hover States - Logistics "Locking On" effect */
.custom-cursor.cursor-active {
    width: 10px;
    height: 10px;
    background-color: var(--clr-gold);
    box-shadow: 0 0 15px var(--clr-gold-glow);
}

.cursor-follower.cursor-active {
    width: 45px;
    height: 45px;
    border-color: var(--clr-gold);
    border-radius: 50%;
    border-style: dashed;
    animation: rotateScanner 6s linear infinite;
}

@keyframes rotateScanner {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 1024px) {

    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}