/* ============================================
   SAPRA INTERNATIONAL LOGISTICS - GLOBAL STYLESHEET
   Professional, Modern, Responsive Design
   ============================================ */

/* ============================================
   1. GOOGLE FONTS - OPTIMIZED LOADING
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   2. CSS VARIABLES - DESIGN SYSTEM
   ============================================ */
:root {
    /* Brand Colors - Sapra Brand Palette */
    --primary: #547792;
    --primary-dark: #213448;
    --primary-light: #94B4C1;
    --primary-lighter: #B4D4E1;
    --secondary: #213448;
    --accent: #94B4C1;
    --accent-light: #EAE0CF;
    --gold: #c9a961;
    
    /* Extended Palette */
    --blue-50: #EAE0CF;
    --blue-100: #F5F0E8;
    --blue-200: #94B4C1;
    --blue-300: #547792;
    --blue-400: #213448;
    
    /* Neutral Colors - Professional Grays */
    --text: #1A1F2E;
    --text-secondary: #2D3748;
    --text-light: #4A5568;
    --text-lighter: #718096;
    --text-muted: #A0AEC0;
    --bg: #F7FAFC;
    --bg-light: #FFFFFF;
    --bg-dark: #EDF2F7;
    --white: #FFFFFF;
    --black: #000000;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --border-dark: #CBD5E0;
    
    /* Gradients - Professional */
    --gradient-primary: linear-gradient(135deg, #213448 0%, #547792 50%, #94B4C1 100%);
    --gradient-dark: linear-gradient(135deg, #213448 0%, #547792 100%);
    --gradient-light: linear-gradient(135deg, rgba(33, 52, 72, 0.08) 0%, rgba(84, 119, 146, 0.08) 100%);
    --gradient-accent: linear-gradient(135deg, #94B4C1 0%, #EAE0CF 100%);
    
    /* Shadows - Layered System */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    
    /* Transitions - Smooth & Professional */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing System - 8px Base */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */
    
    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius: 0.5rem;        /* 8px */
    --radius-md: 0.75rem;    /* 12px */
    --radius-lg: 1rem;      /* 16px */
    --radius-xl: 1.5rem;    /* 24px */
    --radius-2xl: 2rem;     /* 32px */
    --radius-full: 9999px;
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Letter Spacing */
    --letter-spacing-tighter: -0.05em;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
}

/* ============================================
   3. RESET & BASE STYLES
   NOTE: Using box-sizing only, not resetting margin/padding
   to avoid conflicts with Bootstrap components
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height-relaxed);
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ============================================
   4. TYPOGRAPHY - PROFESSIONAL HIERARCHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--text);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--spacing-lg);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-tighter);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
}

h5 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    line-height: 1.4;
}

h6 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: 1.5;
}

p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--primary-light);
}

a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

strong, b {
    font-weight: 600;
    color: var(--text);
}

em, i {
    font-style: italic;
}

/* ============================================
   5. HEADER & NAVIGATION - ENHANCED
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.99);
    border-bottom-color: var(--border);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
    border-radius: var(--radius-full);
}

.logo:hover::after {
    width: 100%;
}

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.logo:hover img {
    transform: scale(1.05) translateY(-1px);
    filter: drop-shadow(0 4px 8px rgba(33, 52, 72, 0.15));
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: var(--font-size-sm);
    position: relative;
    padding: var(--spacing-sm) var(--spacing-md);
    letter-spacing: var(--letter-spacing-wide);
    transition: var(--transition);
    display: inline-block;
    border-radius: var(--radius);
    text-transform: uppercase;
    font-size: 0.8125rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-light);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition);
    border-radius: var(--radius-full);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - var(--spacing-md));
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::before {
    opacity: 1;
}

/* Login Button in Nav */
.nav-links .btn {
    margin-left: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    box-shadow: var(--shadow-sm);
}

.nav-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle - Enhanced */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001;
    background: transparent;
    border: none;
    position: relative;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
    transform-origin: center;
    position: absolute;
}

.menu-toggle span:nth-child(1) {
    top: 8px;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 8px;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ============================================
   6. BUTTONS - PROFESSIONAL STYLES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: var(--letter-spacing-wide);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--white);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn-small {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
}

/* ============================================
   7. PAGE SECTIONS
   ============================================ */
.section {
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.section-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
    text-align: center;
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
    color: var(--text);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* ============================================
   8. CARDS - MODERN DESIGN
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
    color: var(--text);
}

.card p {
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
}

/* ============================================
   9. FORMS - PROFESSIONAL INPUTS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
    line-height: var(--line-height-normal);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(33, 52, 72, 0.1);
    background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: var(--line-height-relaxed);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23547792' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    padding-right: var(--spacing-3xl);
}

/* ============================================
   10. FOOTER
   ============================================ */
footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--spacing-3xl) var(--spacing-xl) var(--spacing-xl);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-about img {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-lg);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-about p {
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

.footer-section h4 {
    color: var(--white);
    font-weight: 700;
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

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

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    transition: var(--transition);
    display: inline-block;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* ============================================
   11. ANIMATIONS - SMOOTH & PROFESSIONAL
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

/* ============================================
   12. COMMON PAGE STYLES
   ============================================ */
.page-hero {
    margin-top: 70px;
    padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-3xl);
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(84, 119, 146, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

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

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-tighter);
}

.page-hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
}

/* ============================================
   13. UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-xl); }

/* ============================================
   14. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    nav {
        padding: var(--spacing-md) var(--spacing-lg);
    }
}

@media (max-width: 1024px) {
    nav {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-3xl) var(--spacing-xl);
        gap: var(--spacing-md);
        transition: var(--transition-slow);
        box-shadow: var(--shadow-2xl);
        z-index: 999;
        overflow-y: auto;
        backdrop-filter: blur(20px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
        text-align: left;
        border-radius: var(--radius-md);
        font-size: var(--font-size-base);
        text-transform: none;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a::before {
        display: block;
    }
    
    .nav-links .btn {
        margin-left: 0;
        margin-top: var(--spacing-md);
        width: 100%;
        justify-content: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 48px;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }
    
    h1 { font-size: clamp(2rem, 5vw, 3rem); }
    h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }
    
    .section {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    nav {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .logo img {
        height: 44px;
    }
    
    .nav-links {
        top: 68px;
        height: calc(100vh - 68px);
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
    
    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
    
    .btn-large {
        padding: var(--spacing-lg) var(--spacing-xl);
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    
    .card {
        padding: var(--spacing-xl);
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ============================================
   15. PRINT STYLES
   ============================================ */
@media print {
    header, footer, .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============================================
   16. ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
