/* ===================================
   Suzhou Delaiqian Precision Technology Co., Ltd
   Main Stylesheet - Enhanced Version
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-dark: #1a1a2e;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 25px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 50px rgba(0,0,0,0.2);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--text-primary);
}

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(233, 69, 96, 0.2);
    border-top-color: var(--highlight-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--highlight-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    animation: slideDown 0.8s ease;
}

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

.header.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo svg {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: rotate(360deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

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

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    transition: var(--transition-fast);
}

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

.nav-menu a:hover {
    color: var(--highlight-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: morph 8s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--highlight-color);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.hero-shape.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) scale(1);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(20px, 20px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 69, 96, 0.2);
    color: var(--highlight-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(233, 69, 96, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.text-highlight {
    color: var(--highlight-color);
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--highlight-color);
    opacity: 0.3;
    z-index: -1;
    animation: underline 3s ease-in-out infinite;
}

@keyframes underline {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--highlight-color);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.5);
}

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

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 1s ease 1s both;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
    transition: 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight-color);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.stat-icon {
    margin-top: 0.5rem;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: var(--text-secondary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-dark {
    background: var(--bg-gradient);
    color: var(--text-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    background: rgba(233, 69, 96, 0.1);
    color: var(--highlight-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--highlight-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 1s ease;
}

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

.about-features {
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    fill: white;
}

.about-visual {
    animation: fadeInRight 1s ease;
}

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

.about-image-wrapper {
    position: relative;
}

.about-svg {
    width: 100%;
    max-width: 500px;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--highlight-color);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.about-badge svg {
    width: 20px;
    height: 20px;
    fill: white;
}

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

.service-card {
    background: var(--text-primary);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--highlight-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-fast);
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--text-primary);
}

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

.service-card p {
    color: #666;
    line-height: 1.8;
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.detail-tag {
    background: rgba(233, 69, 96, 0.1);
    color: var(--highlight-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* App Showcase */
.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.app-image {
    position: relative;
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.app-mockup {
    width: 100%;
    max-width: 300px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    transform: rotateY(-10deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover .app-mockup {
    transform: rotateY(0deg);
}

@keyframes float {
    0%, 100% { transform: rotateY(-10deg) translateY(0); }
    50% { transform: rotateY(-10deg) translateY(-20px); }
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    animation: reflection 3s infinite;
}

@keyframes reflection {
    0% { left: -50%; }
    100% { left: 150%; }
}

.app-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.app-content p {
    color: var(--text-secondary);
}

.app-features {
    margin-top: 2rem;
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: var(--highlight-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-small svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.feature-text h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.app-stores {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--text-primary);
    color: var(--text-dark);
    border-radius: 12px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.store-btn:hover {
    background: var(--highlight-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--text-primary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.industry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.industry-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.industry-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    background: var(--text-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.feature-item:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

.feature-arrow {
    margin-top: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-fast);
}

.feature-item:hover .feature-arrow {
    opacity: 1;
    transform: translateX(0);
}

.feature-arrow svg {
    width: 24px;
    height: 24px;
    fill: var(--highlight-color);
}

/* Partners Slider */
.partners-slider {
    overflow: hidden;
    padding: 2rem 0;
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo svg {
    width: 120px;
    height: 60px;
}

/* Testimonial */
.testimonial-section {
    max-width: 800px;
    margin: 4rem auto 0;
}

.testimonial-card {
    background: var(--text-primary);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    width: 40px;
    height: 40px;
    fill: var(--highlight-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar svg {
    width: 50px;
    height: 50px;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #0a0a15;
    color: var(--text-primary);
    padding: 60px 0 30px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--highlight-color);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links ul li a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--highlight-color);
    padding-left: 5px;
}

.footer-links ul li:not(a) {
    color: var(--text-secondary);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--highlight-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--highlight-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Page Header */
.page-header {
    background: var(--bg-gradient);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px;
}

.page-header h1 {
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--highlight-color);
}

.breadcrumb span {
    color: var(--highlight-color);
}

/* Culture Page */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--highlight-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    padding: 2rem;
    width: 50%;
    animation: slideIn 0.8s ease;
}

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

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--highlight-color);
    border-radius: 50%;
    top: 2rem;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-content {
    background: var(--text-primary);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    color: var(--highlight-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--text-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

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

.team-image {
    height: 250px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.team-image svg {
    width: 100%;
    height: 100%;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--highlight-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: var(--text-primary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

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

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.cert-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--text-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

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

.news-image {
    height: 200px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--highlight-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

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

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--highlight-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.news-card:hover .news-title {
    color: var(--highlight-color);
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--highlight-color);
    font-weight: 600;
    margin-top: 1rem;
}

.news-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.news-card:hover .news-link svg {
    transform: translateX(5px);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--highlight-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-details a {
    color: var(--highlight-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    background: var(--text-primary);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(233, 69, 96, 0.05);
}

.faq-question h4 {
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.faq-toggle svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    margin: 0;
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--text-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.legal-content .last-updated {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.legal-content h2:first-of-type {
    border-top: none;
    margin-top: 1rem;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.legal-content ul li {
    color: #555;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
}

/* Animation Classes */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fadeInUp"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fadeInUp"].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fadeInLeft"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fadeInLeft"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fadeInRight"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fadeInRight"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="zoomIn"] {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="zoomIn"].visible {
    opacity: 1;
    transform: scale(1);
}

[data-animate="slideInRight"] {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="slideInRight"].visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .industries-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid,
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .services-grid,
    .industries-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 1rem !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 8px !important;
        right: auto !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.mt-3 {
    margin-top: 1.5rem;
}

.text-center {
    text-align: center;
}

/* 3D Transform Effects */
.perspective-1000 {
    perspective: 1000px;
}

.preserve-3d {
    transform-style: preserve-3d;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Shadow Effects */
.shadow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Map Container */
.map-container {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #1a1a2e;
}

.map-wrapper {
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: 250px;
}

.map-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Location Details Grid */
.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.location-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.location-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.location-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Departments Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.department-card {
    background: var(--text-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.dept-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.department-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.department-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.department-card a {
    color: var(--highlight-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.department-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    padding: 0;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-form > p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

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

.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    font-size: 0.95rem;
}

.form-group textarea {
    min-height: 100px;
}

/* Contact Info Section */
.contact-info-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-info-section h2 {
    margin-bottom: 1rem;
}

.contact-info-section p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Contact Grid Compact */
.contact-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--text-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-card-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-small svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.contact-card-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.contact-card-content a {
    color: var(--highlight-color);
    font-weight: 500;
}

.contact-card-content a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--text-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.compact-form h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.compact-form > p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.form-group-compact {
    margin-bottom: 1rem;
}

.form-group-compact label {
    display: block;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.form-group-compact input,
.form-group-compact textarea,
.form-group-compact select {
    width: 100%;
    padding: 0.7rem;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group-compact input:focus,
.form-group-compact textarea:focus,
.form-group-compact select:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-group-compact textarea {
    min-height: 100px;
    resize: vertical;
}

/* Section Header Compact */
.section-header-compact {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header-compact h2 {
    margin-bottom: 0;
}

.section-header-compact h2::after {
    display: none;
}

/* Map Container Compact */
.map-container-compact {
    width: 100%;
    max-width: 450px;
    margin: 0 auto 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #1a1a2e;
}

.map-svg-compact {
    width: 100%;
    height: auto;
    display: block;
}

/* Location Cards Compact */
.location-cards-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.location-card-compact {
    background: var(--text-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.location-icon-small {
    width: 45px;
    height: 45px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-icon-small svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.location-card-compact h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.location-card-compact p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.location-card-compact a {
    color: var(--highlight-color);
    font-weight: 500;
}

/* Service Quick Access Grid */
.service-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-quick-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-quick-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--highlight-color);
}

.service-quick-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.service-quick-card:hover .service-quick-icon {
    transform: scale(1.1);
}

.service-quick-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.service-quick-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.service-quick-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--highlight-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

.service-quick-link svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.service-quick-card:hover .service-quick-link {
    gap: 0.75rem;
}

/* Response Grid */
.response-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.response-card {
    background: var(--text-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.response-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition-fast);
}

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

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

.response-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.response-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.response-card h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.response-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.response-badge {
    display: inline-block;
    background: rgba(233, 69, 96, 0.1);
    color: var(--highlight-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Departments Grid Enriched */
.departments-grid-enriched {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.department-card-enriched {
    background: var(--text-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.dept-icon-large {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.department-card-enriched:hover .dept-icon-large {
    transform: rotateY(180deg);
}

.dept-icon-large svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.department-card-enriched h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.department-card-enriched p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.department-card-enriched a {
    display: block;
    color: var(--highlight-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.department-card-enriched a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.dept-availability {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Location Details Enriched */
.location-details-enriched {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.location-detail-card {
    background: var(--text-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.location-detail-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.location-detail-card ul {
    list-style: none;
    padding: 0;
}

.location-detail-card ul li {
    color: #666;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    line-height: 1.6;
}

.location-detail-card ul li:last-child {
    border-bottom: none;
}

.location-detail-card ul li strong {
    color: var(--text-dark);
}

/* Video CTA */
.video-cta-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-cta-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.video-cta-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.video-cta-text {
    flex: 1;
}

.video-cta-text h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.video-cta-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* FAQ Enhancements */
.faq-section {
    max-width: 900px;
    margin: 4rem auto 0;
}

.faq-item {
    background: var(--text-primary);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(233, 69, 96, 0.03);
}

.faq-question h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.05rem;
    padding-right: 1rem;
}

.faq-toggle {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.faq-toggle svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    margin: 0;
    line-height: 1.8;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-grid-compact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-cards {
        order: 2;
    }
    
    .contact-form-section {
        order: 1;
    }
    
    .service-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .response-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .departments-grid-enriched {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-details-enriched {
        grid-template-columns: 1fr;
    }
    
    .video-cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .form-row-compact {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .location-cards-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-container-compact {
        max-width: 100%;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .location-card,
    .department-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        aspect-ratio: 1 / 1;
        max-height: 250px;
    }
    
    .location-details,
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    .contact-form-section {
        padding: 1rem;
    }
    
    .contact-card-item {
        padding: 1rem;
    }
}
