/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Align the logo image and text horizontally */
.logo {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between the logo and the text */
}

/* Control the size of your logo */
.nav-logo {
    height: 60px; /* Adjust this value to make the logo smaller or larger */
    width: auto;  /* Maintains the original aspect ratio */
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
}

.btn-nav {
    background: #0284c7;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('https://unsplash.com') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #cbd5e1;
}

.cta-btn {
    background: #0284c7;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
}

/* Metrics Section */
.metrics {
    display: flex;
    justify-content: space-around;
    max-width: 1100px;
    margin: -3rem auto 3rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.metric-card {
    text-align: center;
}

.metric-card h3 {
    font-size: 2.5rem;
    color: #0284c7;
}

/* --- CEO Section Styling --- */
.ceo-section {
    background: #ffffff;
    padding: 5rem 10%;
}
.ceo-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}
.ceo-image {
    flex: 1;
    max-width: 280px;
}
.ceo-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    object-fit:scale-down;
}
.ceo-bio {
    flex: 1.5;
}
.badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}
.ceo-bio h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}
.ceo-bio p {
    margin-bottom: 1rem;
    color: #475569;
    font-size: 1.05rem;
}
.ceo-signature {
    display: block;
    margin-top: 1.5rem;
    color: #0284c7;
    font-size: 1.1rem;
}

/* --- Media Gallery Styling --- */
.media-gallery {
    padding: 5rem 10%;
    background: #f8fafc;
}
.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: auto;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
    color: white;
    padding: 1.5rem;
}
.gallery-overlay h4, .video-caption h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.gallery-overlay p, .video-caption p {
    font-size: 0.85rem;
    color: #cbd5e1;
}
.gallery-item.video-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}

.gallery-item.video-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #000;
    display: block;
}

.video-caption {
    padding: 1rem;
    background: #0f172a;
    color: white;
    flex-grow: 1;
}

    .ceo-image { max-width: 100%; }
    .ceo-section, .media-gallery, .contact-section { padding: 4rem 5%; }

/* Services */
.services {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.services h2, .cases h2, .contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 6px;
    border-top: 4px solid #0284c7;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.service-box i {
    font-size: 2.5rem;
    color: #0284c7;
    margin-bottom: 1rem;
}

.service-box h3 {
    margin-bottom: 0.5rem;
}

/* Case Studies */
.cases {
    background: #f1f5f9;
    padding: 4rem 0;
}

.case-study {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.case-meta {
    display: flex;
    gap: 2rem;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.case-study h3 {
    margin-bottom: 1rem;
}

/* Contact Form */
.contact {
    max-width: 700px;
    margin: 4rem auto;
    padding: 0 1rem;
}
.rfq-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input, .rfq-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    background: black;
    color: white;
    padding: 1rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #0f172a;
    color: #94a3b8;
}

/* Responsive Tweaks */
@media(max-width: 768px) {
    .form-group { flex-direction: column; }
    .metrics { flex-direction: column; gap: 2rem; margin-top: 2rem; }
    .nav-links { display: none; }
}
/* Logistics Calculator Layout */
.logistics-tools {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}
.tools-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.tool-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.tool-card h3 {
    margin-bottom: 1.5rem;
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}
.input-group input {
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
}
.calc-submit {
    width: 100%;
    background: #0284c7;
    color: white;
    border: none;
    padding: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.calc-submit:hover {
    background: #0369a1;
}

/* Results Formatting */
.results-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e2e8f0;
}
.result-item.highlight {
    background: #f0f9ff;
    padding: 0.7rem;
    border: 1px solid #bae6fd;
    border-radius: 4px;
    font-weight: 600;
}
.price-comparison h4 {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #475569;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.price-row strong {
    color: #10b981;
    font-size: 1.1rem;
}
.disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 1rem;
    line-height: 1.3;
}
/* --- Contact & Social Infrastructure --- */
.contact-section {
    padding: 5rem 10%;
    background: #ffffff;
}

/* 1. Target the parent container to put items side-by-side */
.contact-wrapper {
    display: flex;
    justify-content: space-between; /* Pushes the columns apart */
    align-items: flex-start;        /* Aligns columns to the top */
    gap: 40px;                     /* Adjusts spacing between the columns */
    width: 100%;
    max-width: 1200px;             /* Keeps the section centered on widescreen */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* 2. Style the Left Column (Form) */
.rfq-form {
    flex: 1.2;                     /* Gives the form a bit more width space */
    display: flex;
    flex-direction: column;
    gap: 15px;                     /* Vertical gap between input rows */
}

/* 3. Style the Right Column (Social Links Desk) */
.contact-channels {
    flex: 0.8;                     /* Makes the links column slightly narrower */
    display: flex;
    flex-direction: column;
    gap: 15px;                     /* Vertical stack spacing for your cards */
    min-width: 320px;              /* Prevents cards from getting too squished */
}
.contact-channels h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #0f172a;
}
.channel-card {
    display: flex;
    align-items: right;
    gap: 1.2rem;
    padding: 1rem;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e2e8f0;
}
.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.channel-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}
.channel-info h4 {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.1rem;
}
.channel-info p {
    color: #64748b;
    font-size: 0.85rem;
}
/* Social Accent Rules */
.whatsapp .channel-icon { background: #25d366; }
.whatsapp:hover { border-color: #25d366; }
.tiktok .channel-icon { background: #000000; }
.tiktok:hover { border-color: #000000; }
.facebook .channel-icon { background: #1877f2; }
.facebook:hover { border-color: #1877f2; }

/* Responsive Adaptations */
@media(max-width: 900px) {
    .ceo-container, .contact-wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;}
    }
    /* Media query targets screens narrower than 768px (tablets and phones) */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column; /* Switches from side-by-side to a vertical stack */
        gap: 30px;              /* Standardizes the gap between the form and the desk links */
        padding: 15px;          /* Shrinks padding slightly for smaller viewports */
    }

    .rfq-form, 
    .contact-channels {
        width: 100%;            /* Forces both sections to fill the full screen width */
        flex: none;             /* Disables the custom width ratios used on desktop */
    }
    
    /* Makes the individual form rows stack up cleanly on phone displays */
    .form-row {
        display: flex;
        flex-direction: column; 
        gap: 15px;
    }
}