/* ============================================
   WHITSPIRATIONS LOGISTICS - MAIN STYLESHEET
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-purple: #4B0082;
    --gold: #D4AF37;
    --light-gold: #F4E4C1;
    --dark-purple: #2D004D;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-color: #2C3E50;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-purple);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
    background: var(--light-gold);
}

.nav-cta {
    background: var(--primary-purple);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
}

.nav-cta:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(212,175,55,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 300px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-subtitle {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-purple);
    border-color: var(--white);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-text {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.section-closing {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 3rem;
}

.text-link {
    display: block;
    text-align: center;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--gold);
    transform: translateX(10px);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

/* ===== SERVICE DETAIL GRID ===== */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-detail-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--gold);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-detail-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.service-detail-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-purple);
}

.service-detail-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.feature-item p {
    margin: 0;
    font-weight: 500;
    color: var(--dark-purple);
}

/* ===== MVV (MISSION VISION VALUES) ===== */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mvv-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.mvv-card h2 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.mvv-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ===== VALUES GRID ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3.5rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* ===== COMPLIANCE SECTION ===== */
.compliance-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
}

.compliance-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.compliance-icon {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

.compliance-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.compliance-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.compliance-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.compliance-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.compliance-list i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ===== CONTRACT READINESS ===== */
.contract-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.contract-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contract-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contract-icon {
    font-size: 3.5rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.contract-card h3 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contract-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* ===== NAICS SECTION ===== */
.naics-section {
    background: var(--light-gray);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

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

.naics-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--light-gold);
}

.naics-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.naics-code {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.naics-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
    background: var(--white);
}

.certifications-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.certifications-icon {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

.certifications-content h2 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.certifications-note {
    background: var(--light-gold);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 5px solid var(--gold);
}

.certifications-note strong {
    color: var(--primary-purple);
}

.certifications-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ===== CONTACT PAGE ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container h2,
.contact-info-container h2 {
    color: var(--primary-purple);
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-purple);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    display: block;
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    display: block;
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Contact Info */
.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.contact-info-item h3 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-color);
    font-size: 1rem;
}

.contact-info-item a:hover {
    color: var(--primary-purple);
}

.business-hours {
    background: var(--light-gold);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--gold);
}

.business-hours h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.business-hours p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-purple);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-tagline {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-brand p {
    opacity: 0.9;
}

.footer-links h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.8;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--primary-purple);
    transform: translateY(-5px);
}

.scroll-to-top.visible {
    display: flex;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .nav-logo {
        height: 70px;
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
    }
    
    .hero-logo {
        width: 220px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    /* Grids */
    .services-grid,
    .services-detail-grid,
    .features-grid,
    .values-grid,
    .contract-grid,
    .naics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Contact */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-logo {
        width: 80px;
    }
    
    /* Scroll button */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        width: 180px;
    }
    
    .nav-logo {
        height: 60px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}