:root {
    --primary-color: #0e4c55;
    /* Dark Teal - Logistics Corp */
    --secondary-color: #f97316;
    /* Bright Orange - Action */
    --accent-blue: #0e4c55;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --text-color: #334155;
    --heading-color: #0e4c55;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation - Glassmorphism Restored */
nav.nav-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 35px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 76, 85, 0.6) 0%, rgba(14, 76, 85, 0.4) 50%, rgba(14, 76, 85, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 2rem;
    opacity: 0;
    /* For animation */
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #f1f5f9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
    display: inline-block;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4);
}

/* Layout & Cards - Clean & Boxy */
.container {
    padding: 5rem 5%;
    max-width: 1400px;
    /* Wider for that corporate feel */
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.section-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 4px;
    /* Sharper corners */
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Very subtle */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    /* Default center as seen in icons row */
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.section-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-card i {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s;
}

.section-card:hover i {
    transform: scale(1.1);
}

/* Dark Teal Card Variant (for Mission/Vision) */
.card-dark {
    background: var(--primary-color);
    color: white;
    border: none;
    text-align: left;
}

.card-dark h3 {
    color: white;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.card-dark p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Form Styles - Clean & Executive */
input,
select,
textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #f8fafc;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
}

/* Checkbox & Radio Alignment */
.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    align-items: center;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 400;
}

.radio-option input[type="radio"],
.radio-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0;
    accent-color: var(--secondary-color);
    cursor: pointer;
}

/* Inline Validation Errors */
.error-text {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
    animation: fadeIn 0.3s;
}

.input-error {
    border-color: #ef4444 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.step-container {
    display: none;
    animation: slideUp 0.4s ease-out;
}

.step-container.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.4s ease;
}

/* Footer - Professional */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

/* Specific Utilities */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Teal Section (Contact Layout) */
.teal-section {
    background: var(--primary-color);
    color: white;
    padding: 5rem 5%;
}

.teal-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.teal-section p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.teal-section input,
.teal-section textarea,
.teal-section select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.teal-section input::placeholder,
.teal-section textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.teal-section input:focus,
.teal-section textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary-color);
}

.icon-blue-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Mobile Responsive */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {

    /* Navigation - Collapsible */
    nav.nav-glass {
        flex-wrap: wrap;
        padding: 1rem 5%;
        background: rgba(255, 255, 255, 0.95);
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .logo {
        order: 1;
        font-size: 1.2rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
        margin-top: 1rem;
    }

    .nav-links a {
        display: block;
        margin: 0.75rem 0;
        padding: 0.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(14, 76, 85, 0.1);
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    /* Container & Grids */
    .container {
        padding: 3rem 5%;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Section Cards */
    .section-card {
        padding: 1.5rem;
    }

    /* Form Elements - Prevent Overflow */
    input,
    select,
    textarea,
    input[type="file"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    /* Buttons */
    .cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
    }

    /* Assessment Form Specific */
    .glass-card {
        padding: 1.5rem;
    }

    .progress-bar-container {
        margin-bottom: 1.5rem;
    }

    /* Radio Groups */
    .radio-group {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .radio-option {
        width: 100%;
    }

    /* Navigation Buttons in Forms */
    div[style*="justify-content: space-between"] {
        flex-direction: column;
        gap: 1rem;
    }

    div[style*="justify-content: space-between"] .cta-btn {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Teal Section */
    .teal-section {
        padding: 3rem 5%;
    }

    .teal-section h2 {
        font-size: 1.75rem;
    }

    /* Ensure no horizontal scroll */
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    /* Fix file inputs */
    input[type="file"] {
        padding: 0.5rem;
        font-size: 14px;
    }

    /* Fieldset */
    fieldset {
        padding: 1rem !important;
    }

    /* Step containers */
    .step-container {
        padding: 0;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 4rem 5%;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    input,
    select,
    textarea {
        font-size: 16px;
        /* Prevents zoom */
        padding: 0.75rem;
    }
}