/* Import Merriweather font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');

/* Import Kalam font for Founder's Story */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-tertiary: #666666;
    --border-color: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.15);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --accent-color: #000000;
    --accent-hover: #333333;
    --hero-gradient: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%);
}

body.dark-theme {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #e5e5e5;
    --text-secondary: #b0b0b0;
    --text-tertiary: #999999;
    --border-color: rgba(255,255,255,0.1);
    --border-hover: rgba(255,255,255,0.2);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.7);
    --accent-color: #ffffff;
    --accent-hover: #cccccc;
    --hero-gradient: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    cursor: pointer;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    max-width: 200px;
    cursor: pointer;
    transition: transform 0.3s;
    object-fit: contain;
    filter: brightness(1);
}

body.dark-theme .nav-logo-img {
    filter: brightness(0) invert(1);
}

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

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

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}

.nav-dropdown > .nav-link {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 1rem;
    background: transparent;
}

.nav-dropdown:hover .dropdown-content,
.nav-dropdown:focus-within .dropdown-content {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: var(--bg-secondary);
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-tertiary);
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--border-hover);
}

.theme-icon {
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

.page {
    display: none;
    min-height: 100vh;
    padding-top: 70px;
}

.page.active {
    display: block;
}

/* Multi-page content wrapper */
.page-content {
    min-height: 100vh;
    padding-top: 70px;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

body.dark-theme .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    max-width: 1200px;
    position: relative;
}

.logo {
    font-size: 3rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 1rem;
    animation: slideDown 1s ease-out;
}

.hero-logo {
    max-width: 600px;
    width: 90%;
    height: auto;
    margin-bottom: 2rem;
    animation: logoReveal 2s ease-out;
    filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    transition: filter 0.3s ease;
}

body.dark-theme .hero-logo {
    filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(255,255,255,0.2));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    max-width: 900px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
    transition: color 0.3s ease;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
        filter: blur(10px) drop-shadow(0 10px 30px rgba(0,0,0,0.1));
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(0);
        filter: blur(0) drop-shadow(0 10px 30px rgba(0,0,0,0.15));
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0) drop-shadow(0 10px 30px rgba(0,0,0,0.1));
    }
}

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

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    transition: color 0.3s ease;
}

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

.description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
    color: #f0f0f0;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    transition: color 0.3s ease;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.9s forwards;
}

.cta-button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-weight: 600;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.stats-section {
    background: var(--bg-secondary);
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.about-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    text-align: center;
    transition: color 0.3s ease;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.problem-card:hover {
    background: var(--bg-secondary);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.problem-text {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.products-section {
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

.fleet-container {
    max-width: 1400px;
    margin: 0 auto;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.robot-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.robot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    transition: left 0.5s;
}

.robot-card:hover::before {
    left: 100%;
}

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

.robot-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.robot-icon {
    font-size: 4rem;
}

.robot-product-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

.robot-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.robot-tagline {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    font-style: italic;
    transition: color 0.3s ease;
}

.robot-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.robot-specs {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.spec-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-item {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.spec-item::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.robot-status {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-disclaimer {
    text-align: center;
    font-size: 0.65rem;
    line-height: 1.4;
    color: #9AA0A6;
    margin-top: 3rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    background: var(--bg-secondary);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-section {
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

/* UPDATED: Founder's Story Section with Merriweather Font */
.founder-story-section {
    padding: 5rem 2rem 3rem 2rem;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

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

.founder-story-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
}

.founder-info-column {
    text-align: center;
    position: sticky;
    top: 100px;
}

.founder-portrait-image {
    width: 170px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.founder-name-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    transition: color 0.3s ease;
}

.founder-education {
    text-align: center;
    padding-top: 0;
}

.founder-education p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin: 0.3rem 0;
    transition: color 0.3s ease;
}

.founder-story-text-column {
    max-width: 800px;
}

/* UPDATED: Founder Story Paragraph with Kalam Font */
.founder-story-title {
    font-family: 'Kalam', cursive;
    font-size: 2.7rem;
    font-weight: 700;
}

.founder-story-paragraph {
    font-family: 'Kalam', cursive;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: left;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.founder-story-paragraph strong {
    font-weight: 700;
    color: var(--text-primary);
}

body.dark-theme .founder-story-paragraph {
    font-weight: 300;
    letter-spacing: 0.015em;
}

.signature-section {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.founder-signature-image {
    width: 220px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    background: rgba(0,0,0,0.02);
    border-radius: 4px;
    padding: 0.5rem;
    position: relative;
}

body.dark-theme .founder-signature-image {
    background: rgba(255,255,255,0.05);
}

.signature-image-wrapper {
    position: relative;
    display: inline-block;
}

.signature-image-wrapper::before {
    content: '© Rasoi Robotics';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.15);
    letter-spacing: 1px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

body.dark-theme .signature-image-wrapper::before {
    color: rgba(255, 255, 255, 0.15);
}

.founder-signature-image {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.founder-signature-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    font-style: italic;
    margin: 0;
    transition: color 0.3s ease;
}

.signature-title {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    font-style: normal;
    font-weight: 400;
}

.careers-section-wrapper {
    padding-top: 2rem;
}

.careers-hero {
    min-height: 60vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem 5rem 2rem;
    transition: background-color 0.3s ease;
}

.careers-hero-content {
    max-width: 800px;
    text-align: center;
}

.careers-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.careers-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    transition: color 0.3s ease;
}

.job-openings-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.job-openings-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.careers-images {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.careers-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.career-image-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.career-image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.career-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.career-image-label {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.careers-values {
    padding: 5rem 2rem;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.value-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.value-/* Add this continuation to the previous styles.css file after .value-card { */

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

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.value-text {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.careers-cta {
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 25px;
    border: 1px solid var(--border-color);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

/* =============================================
   ACHIEVEMENTS SECTION STYLES
   ============================================= */

.achievements-section {
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.achievements-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.achievement-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

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

.achievement-card-image {
    padding: 1.5rem;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.achievement-text {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Achievement Image Styles */
.achievement-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-secondary);
}

.achievement-image-4x3 {
    aspect-ratio: 4 / 3;
    max-width: 360px;
    margin: 0 auto;
}

.achievement-image-16x9 {
    aspect-ratio: 16 / 9;
    max-width: 480px;
    margin: 0 auto;
}

.achievement-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-image {
    transform: scale(1.03);
}

/* Achievement Carousel Styles */
.achievement-carousel {
    position: relative;
    width: 100%;
}

.carousel-slides {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
    background: var(--text-tertiary);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.contact-info p:last-of-type {
    margin-bottom: 2rem;
}

/* Contact Benefits */
.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.benefit-icon {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.office-locations h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location-icon {
    font-size: 1.8rem;
}

.location-city {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    transition: color 0.3s ease;
}

.location-address {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.form-input {
    padding: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-primary);
}

.recaptcha-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
}

.recaptcha-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 28px;
    width: 28px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.recaptcha-checkbox:hover .checkmark {
    border-color: var(--accent-color);
}

.recaptcha-checkbox input:checked ~ .checkmark {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.recaptcha-checkbox input:checked ~ .checkmark:after {
    display: block;
    animation: checkmarkSlide 0.3s ease;
}

@keyframes checkmarkSlide {
    0% {
        transform: rotate(45deg) scale(0);
    }
    100% {
        transform: rotate(45deg) scale(1);
    }
}

.recaptcha-text {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    user-select: none;
    transition: color 0.3s ease;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.recaptcha-logo svg {
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.recaptcha-badge {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.recaptcha-container:hover .recaptcha-logo {
    opacity: 1;
}

.form-status {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
    margin-top: 1rem;
    animation: slideIn 0.3s ease;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.theme-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.theme-modal.active {
    display: flex;
}

.theme-modal-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 25px;
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.theme-modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.theme-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.theme-option-btn {
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.theme-option-btn:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.theme-option-icon {
    font-size: 3rem;
}

.theme-option-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--border-color);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 1.5rem 2rem;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cookie-btn.accept {
    background: #4CAF50;
    color: white;
}

.cookie-btn.accept:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.cookie-btn.reject {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.cookie-btn.reject:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.cookie-btn.customize {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

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

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.3s ease-out;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h2 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.8rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.cookie-categories {
    padding: 2rem;
}

.cookie-category {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.category-info h4 {
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
}

.required-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.optional-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.cookie-toggle.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-tertiary);
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked ~ .toggle-slider {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.cookie-toggle input:checked ~ .toggle-slider:before {
    transform: translateX(24px);
    background-color: white;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

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

.cookie-btn.save:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Tablet breakpoint for achievements */
@media (max-width: 1024px) {
    .achievements-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-card-carousel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .logo { font-size: 2rem; }
    .hero-logo {
        max-width: 90%;
        margin-bottom: 1.5rem;
    }
    
    .hero-video {
        min-width: 100%;
        min-height: 100%;
    }
    
    .tagline { 
        font-size: 1.2rem;
    }
    .description { 
        font-size: 1rem;
    }
    
    .stats-title {
        font-size: 1.8rem;
    }
    
    .nav-logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    body.dark-theme .nav-links {
        background: rgba(10,10,10,0.98);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .careers-title {
        font-size: 2rem;
    }
    
    .founder-story-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-info-column {
        position: static;
    }
    
    .founder-portrait-image {
        width: 150px;
        margin: 0 auto 1rem;
    }
    
    .founder-story-title {
        font-size: 2.1rem;
    }
    
    .founder-story-paragraph {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .founder-education p {
        font-size: 0.8rem;
    }
    
    .signature-section {
        align-items: center;
    }
    
    .careers-gallery {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievements-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .achievement-card-image {
        padding: 1.25rem;
    }
    
    .achievement-image-4x3 {
        max-width: 100%;
        max-height: 220px;
    }
    
    .achievement-image-16x9 {
        max-width: 100%;
        max-height: 200px;
    }
    
    .achievement-title {
        font-size: 0.95rem;
    }
}
/* =============================================
   GLOBAL FOOTER STYLES
   ============================================= */

.site-footer {
    background: #1a1a1a;
    color: #e5e5e5;
    padding: 0;
    margin-top: auto;
}

body.dark-theme .site-footer {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3.5rem 4rem 3rem;
    display: grid;
    grid-template-columns: 25% 20% 35% 20%;
    gap: 2rem;
}

/* Footer Brand Section */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

/* Footer Headings */
.footer-heading {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-subheading {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff;
    outline: none;
}

.footer-links a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.footer-sublink {
    font-size: 0.85rem !important;
    color: #888 !important;
    padding-left: 0.5rem;
}

.footer-sublink:hover {
    color: #cccccc !important;
}

/* Footer Contact Section */
.footer-contact address {
    font-style: normal;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-email a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-email a:hover {
    color: #ffffff;
}

.footer-icon {
    font-size: 1rem;
}

.footer-offices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.footer-office {
    padding: 0;
    border-bottom: none;
}

.footer-office:last-child {
    padding-bottom: 0;
}

.office-city {
    color: #cccccc;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
}

/* Footer Map Link */
.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.footer-map-link:hover {
    color: #ffffff;
}

.footer-map-link svg {
    flex-shrink: 0;
}

/* Footer Legal & Social */
.footer-social {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Footer Copyright Bar */
.footer-copyright {
    background: #111111;
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

body.dark-theme .footer-copyright {
    background: #080808;
}

.footer-copyright p {
    color: #777;
    font-size: 0.85rem;
    margin: 0;
}

.resolution-note {
    font-size: 0.65rem !important;
    color: #555 !important;
    margin-top: 0.5rem !important;
    letter-spacing: 0.02em;
}

/* =============================================
   LEGAL MODAL STYLES
   ============================================= */

.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.legal-modal-content {
    position: relative;
    background: var(--bg-card, #ffffff);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: legalModalSlideIn 0.3s ease-out;
    overflow: hidden;
}

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

.legal-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.1));
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary, #f9f9f9);
}

.legal-modal-logo {
    height: 32px;
    width: auto;
}

body.dark-theme .legal-modal-logo {
    filter: brightness(0) invert(1);
}

.legal-modal-title {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0;
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary, #666);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.legal-modal-close:hover {
    background: var(--bg-card, #ffffff);
    color: var(--text-primary, #1a1a1a);
}

.legal-modal-close:focus-visible {
    outline: 2px solid var(--accent-color, #000);
    outline-offset: 2px;
}

.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    color: var(--text-secondary, #555);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-modal-body h3 {
    color: var(--text-primary, #1a1a1a);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-modal-body h3:first-child {
    margin-top: 0;
}

.legal-modal-body p {
    margin-bottom: 1rem;
}

.legal-modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-modal-body li {
    margin-bottom: 0.5rem;
}

.legal-modal-body a {
    color: var(--accent-color, #000);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.legal-modal-body a:hover {
    opacity: 0.7;
}

.legal-modal-body strong {
    color: var(--text-primary, #1a1a1a);
    font-weight: 600;
}

.legal-placeholder {
    text-align: center;
    color: var(--text-tertiary, #999);
    font-style: italic;
    padding: 3rem 0;
}

.legal-modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color, rgba(0,0,0,0.1));
    display: flex;
    justify-content: flex-end;
    background: var(--bg-secondary, #f9f9f9);
}

.legal-modal-btn {
    padding: 0.75rem 2rem;
    background: var(--accent-color, #000);
    color: var(--bg-primary, #fff);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.legal-modal-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.legal-modal-btn:focus-visible {
    outline: 2px solid var(--accent-color, #000);
    outline-offset: 2px;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* =============================================
   FOOTER RESPONSIVE STYLES
   ============================================= */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 3rem 2rem 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .footer-offices {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.5rem 2rem;
        text-align: center;
    }
    
    .footer-brand {
        padding-right: 0;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 3rem;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-email {
        justify-content: center;
    }
    
    .footer-offices {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-office {
        text-align: left;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-office:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .footer-copyright {
        padding: 1.25rem 1.5rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
    
    .resolution-note {
        font-size: 0.6rem !important;
    }
    
    /* Legal Modal Mobile */
    .legal-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 15px;
    }
    
    .legal-modal-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }
    
    .legal-modal-logo {
        height: 28px;
    }
    
    .legal-modal-title {
        font-size: 1.25rem;
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .legal-modal-close {
        margin-left: auto;
    }
    
    .legal-modal-body {
        padding: 1.5rem;
    }
    
    .legal-modal-footer {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-sublink {
        padding-left: 0 !important;
    }
    
    .footer-offices {
        max-width: 100%;
    }
    
    .footer-office {
        text-align: center;
    }
    
    .footer-office address {
        text-align: center;
    }
    
    .footer-map-link {
        justify-content: center;
    }
    
    .office-city {
        justify-content: center;
    }
}
