/* ==========================================================================
   ONLINE LOGISTICS TRANSPORT LTD - Stylesheet
   Created: July 2026
   Aesthetic: Premium, Corporate, Trustworthy, Responsive
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

/* Design Tokens & Root Variables */
:root {
    /* Colors */
    --primary: #0B4F8A;
    --primary-rgb: 11, 79, 138;
    --primary-hover: #083B68;
    --secondary: #1565C0;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F9FC;
    --text-main: #202124;
    --text-muted: #5F6368;
    --border-color: #E5E7EB;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-premium: 0 20px 40px rgba(11, 79, 138, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Heights */
    --header-height: 90px;
    --header-shrink-height: 70px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* Layout Grid & Flex */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--bg-secondary);
}

/* Inline form success notification */
.form-success-msg {
    background: linear-gradient(135deg, #e8f5e9, #f1fff2);
    border: 1px solid #a5d6a7;
    border-left: 4px solid #43a047;
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 20px;
    font-size: 0.92rem;
    color: #1b5e20;
    line-height: 1.7;
    animation: successFadeIn 0.4s ease;
}
@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.section-header-subtitle {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary);
    margin: 0 0 12px 0;
    padding: 0;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title-left {
    text-align: left;
}

.section-title-left::after {
    margin: 12px 0 0 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header .section-subtitle {
    margin: 20px auto 0;
}

.section-subtitle-left {
    margin: 0 0 40px 0;
    max-width: 600px;
}

/* Buttons & Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-main);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--bg-primary);
    color: var(--bg-primary);
}

.btn-outline:hover {
    background-color: var(--bg-primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Ripple effect container */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
    background-color: transparent;
}

.header.sticky {
    height: var(--header-shrink-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.header.sticky .logo-text {
    color: var(--primary);
}

.header.sticky .nav-link {
    color: var(--text-main);
}

.header.sticky .nav-link::after {
    background-color: var(--primary);
}

.header.sticky .burger span {
    background-color: var(--text-main);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    fill: var(--accent);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--bg-primary);
    transition: var(--transition-normal);
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.header-cta {
    margin-left: 24px;
    flex-shrink: 0;
}

.nav-link {
    color: var(--bg-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--bg-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #051c32;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 28, 50, 0.9) 0%, rgba(11, 79, 138, 0.6) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    color: var(--bg-primary);
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Page Banner (For other pages) */
.page-banner {
    position: relative;
    padding: 180px 0 100px;
    background-color: #051c32;
    color: var(--bg-primary);
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.page-banner-container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3rem;
    color: var(--bg-primary);
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--accent);
}

/* About Section Home & About Page Info */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    position: relative;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-img-overlay {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary);
    color: var(--bg-primary);
    padding: 24px 32px;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-img-overlay-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.about-img-overlay-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 4px;
}

.about-bullets {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.about-bullet-icon {
    width: 20px;
    height: 20px;
    fill: var(--accent);
    flex-shrink: 0;
}

/* Why Choose Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 6px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.values-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
}

.why-card-icon {
    width: 48px;
    height: 48px;
    fill: var(--primary);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(11, 79, 138, 0.25);
}

.service-card-body {
    padding: 40px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-card-icon-box {
    background-color: var(--primary);
}

.service-card-icon {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-card-icon {
    fill: var(--bg-primary);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.service-card:hover .service-card-cta {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.service-card-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.service-card-cta:hover svg {
    transform: translateX(4px);
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition-normal);
}

.industry-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.industry-icon {
    width: 36px;
    height: 36px;
    fill: var(--primary);
    flex-shrink: 0;
}

.industry-name {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Our Process Timeline */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.process-timeline::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    width: 80%;
    height: 4px;
    background-color: var(--border-color);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 22%;
}

.process-number-box {
    width: 70px;
    height: 70px;
    background-color: var(--bg-primary);
    border: 4px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 auto 20px;
    transition: var(--transition-normal);
}

.process-step:hover .process-number-box {
    border-color: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
}

/* Statistics Counters */
.stats-bar {
    background-color: var(--primary);
    color: var(--bg-primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1;
}

.stats-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(11, 79, 138, 0.3);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.faq-header:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    transition: var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    fill: var(--primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-body {
    /* Set by JS, but this acts as fallback */
}

.faq-item.active .faq-content {
    border-top-color: var(--border-color);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
}

.contact-info-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-icon {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.contact-info-card p {
    font-size: 0.95rem;
    color: var(--text-main);
}

.contact-form-box {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-map-placeholder {
    margin-top: 50px;
    width: 100%;
    height: 400px;
    background-color: #e3eaef;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.map-mock-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #e3eaef 100%);
    opacity: 0.8;
}

.map-mock-vector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    animation: pin-bounce 2s infinite ease-in-out;
}

@keyframes pin-bounce {
    0%, 100% { transform: translate(-50%, -100%) translateY(0); }
    50% { transform: translate(-50%, -100%) translateY(-10px); }
}

.map-pin-icon {
    width: 40px;
    height: 40px;
    fill: var(--primary);
}

.map-pin-label {
    background-color: var(--primary);
    color: var(--bg-primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    margin-top: 6px;
}

/* Legal Documents Pages (Privacy, Terms, Legal) */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.legal-section p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-main);
}

.legal-section ul {
    margin-bottom: 16px;
    padding-left: 20px;
    list-style-type: disc;
}

.legal-section li {
    margin-bottom: 8px;
    color: var(--text-main);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.legal-table th, .legal-table td {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.legal-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
}

/* Footer Section */
.footer {
    background-color: #0b1520;
    color: #a0aec0;
    padding: 80px 0 30px;
    border-top: 4px solid var(--primary);
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--bg-primary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-box {
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bg-primary);
}

.footer-logo-text span {
    color: var(--accent);
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    background-color: var(--primary);
    color: var(--bg-primary);
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #a0aec0;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    fill: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-text {
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-link {
    font-size: 0.85rem;
    color: #a0aec0;
}

.footer-bottom-link:hover {
    color: var(--accent);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background-color: var(--accent);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition-normal);
}

.back-to-top.show {
    right: 30px;
}

.back-to-top:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

.back-to-top-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Modals & Dialogs (For Quote Request / Form Success) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 2000;
    transition: var(--transition-normal);
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-success-icon {
    width: 60px;
    height: 60px;
    fill: #10B981;
    margin: 0 auto 20px;
    display: block;
}

/* Scroll Animation Base Classes */
.animate-on-scroll {
    opacity: 0;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-property: opacity, transform;
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(-40px);
}

.fade-right {
    transform: translateX(40px);
}

.scale {
    transform: scale(0.95);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    /* Header & Navigation Mobile adjustments */
    .header-container {
        justify-content: space-between;
    }
    
    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: -8px;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    
    .burger span {
        margin: 0 auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #051c32;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 50px 40px;
        gap: 24px;
        margin-left: 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        color: var(--bg-primary);
        display: block;
        padding: 10px 0;
        width: 100%;
    }
    
    .header.sticky .nav-link {
        color: var(--bg-primary);
    }
    
    .header-cta {
        display: none;
        margin-left: 0;
    }
    
    .nav-menu .header-cta-mobile {
        display: block !important;
        width: 100%;
        margin-top: 20px;
    }
    
    /* Hero */
    .hero {
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
        margin: 0;
    }
    
    /* Grids & Cards */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-overlay {
        bottom: -15px;
        right: 15px;
        padding: 16px 24px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Process Timeline */
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-timeline::after {
        display: none;
    }
    
    .process-step {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .process-number-box {
        margin: 0;
        flex-shrink: 0;
    }

    .process-step h3 {
        margin-bottom: 0;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Forms mobile optimization */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-control {
        font-size: 16px; /* Prevents auto-zoom behavior on iOS focus */
        padding: 14px 16px; /* Increased touch targets */
    }
    
    /* Responsive legal table: converted to stacked cards on mobile */
    .legal-table,
    .legal-table tbody,
    .legal-table tr,
    .legal-table td {
        display: block;
        width: 100%;
    }
    
    .legal-table thead {
        display: none;
    }
    
    .legal-table tr {
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        margin-bottom: 20px;
        padding: 20px 16px;
        box-shadow: var(--shadow-sm);
    }
    
    .legal-table td {
        border: none;
        padding: 8px 0;
        text-align: left;
    }
    
    .legal-table td:first-child {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--primary);
        font-weight: 700;
        padding-bottom: 2px;
    }
    
    .legal-table td:last-child {
        font-size: 1rem;
        color: var(--text-main);
        font-weight: 500;
        line-height: 1.5;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 24px;
    }
    
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    /* Footer layout adjustment */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .footer-link {
        display: inline-block;
        padding: 10px 16px; /* Touch-friendly tap target spacing */
        width: 100%;
    }
    
    .footer-links-list li {
        margin-bottom: 4px;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .footer-bottom-link {
        padding: 10px 14px; /* Tap targets for legal bar links */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.1rem);
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 7vw, 1.7rem);
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-img-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .service-card-body {
        padding: 28px 20px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 0.9rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }

    /* Contact forms & info cards mobile padding optimizations */
    .contact-form-box {
        padding: 28px 16px;
    }

    .contact-info-card {
        padding: 20px 16px;
    }
}
