/**
 * SarvHost - Components CSS
 * Styles for Header, Footer, and Shared Components
 */

/* ===== CSS Variables ===== */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #1a5fb4;
    --accent: #06B6D4;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* ===== Header / Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-brand span {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-menu a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
}

.navbar-menu a:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.navbar-menu a.active {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 4px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
}

.dropdown-menu a:hover {
    background: var(--gray-100);
}

.dropdown-menu .flag {
    font-size: 20px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    font-size: 14px;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--white);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8f4f8 50%, #f0e6ff 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--gray-300) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
}

.hero-stat .stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.server-illustration {
    position: relative;
    padding: 40px;
}

.server-rack {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-unit {
    background: var(--gray-800);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-lights {
    display: flex;
    gap: 8px;
}

.server-lights .light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.light.green { background: var(--success); }
.light.yellow { background: var(--warning); }
.light.blue { background: var(--accent); }

.light.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.server-vents {
    display: flex;
    gap: 4px;
}

.server-vents::before,
.server-vents::after {
    content: '';
    width: 40px;
    height: 4px;
    background: var(--gray-700);
    border-radius: 2px;
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.float-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.float-card .card-icon {
    font-size: 20px;
}

.card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.card-2 { top: 30%; right: -10%; animation-delay: 0.5s; }
.card-3 { bottom: 30%; left: -5%; animation-delay: 1s; }
.card-4 { bottom: 10%; right: -5%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Locations Section ===== */
.locations {
    padding: 100px 0;
    background: var(--gray-50);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.location-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.location-flag {
    font-size: 48px;
    margin-bottom: 16px;
}

.location-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.location-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.location-ping {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-card .stat-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.stat-card .stat-number {
    font-size: 42px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 15px;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.chat-toggle .close-icon {
    display: none;
}

/* ===== Animations ===== */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-menu,
    .navbar-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-grid,
    .locations-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ===== Fix Floating Cards ===== */
.hero-visual {
    position: relative;
    overflow: visible;
    min-height: 400px;
}

.server-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.float-card .card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* Repositioned Cards */
.card-1 { 
    top: 5%; 
    left: 5%; 
    animation-delay: 0s; 
}

.card-2 { 
    top: 25%; 
    right: 5%; 
    animation-delay: 0.5s; 
}

.card-3 { 
    bottom: 25%; 
    left: 0%; 
    animation-delay: 1s; 
}

.card-4 { 
    bottom: 5%; 
    right: 10%; 
    animation-delay: 1.5s; 
}

/* Prevent overflow on hero section */
.hero {
    overflow: hidden;
}

.hero .container {
    overflow: visible;
}

/* Better responsive for floating cards */
@media (max-width: 1200px) {
    .card-1 { left: 10%; }
    .card-2 { right: 10%; }
    .card-3 { left: 5%; }
    .card-4 { right: 15%; }
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}

/* ===== Dropdown Arrow Fix ===== */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.nav-item:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
}

/* ===== Footer Social Icons Fix ===== */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}
/* ===== Contact Page Styles ===== */

/* Page Hero */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    position: relative;
}

.page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb ol {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb ol li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
}

.breadcrumb ol li:not(:last-child)::after {
    content: '/';
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.contact-link:hover {
    gap: 0.75rem;
}

/* Business Hours */
.business-hours {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

.business-hours h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.business-hours h3 svg {
    stroke: var(--primary);
}

.business-hours ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.business-hours li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.business-hours li span {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.business-hours li strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Contact Social */
.contact-social {
    margin-top: 1.5rem;
}

.contact-social h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    stroke: var(--gray-600);
    transition: var(--transition);
}

.social-links a:hover svg {
    stroke: var(--white);
}

/* Map Section */
.map-section {
    padding: 0 0 100px;
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* FAQ Preview */
.faq-preview {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.faq-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.faq-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .map-section {
        padding: 0 0 60px;
    }
    
    .faq-preview {
        padding: 60px 0;
    }
}

/* ===== FAQ Page Styles ===== */

/* FAQ Search Box */
.faq-search-box {
    position: relative;
    max-width: 600px;
    margin: 2rem auto 0;
}

.faq-search-box svg {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--gray-400);
    pointer-events: none;
}

.faq-search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1rem;
    color: var(--gray-900);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.faq-search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* FAQ Categories */
.faq-categories-section {
    padding: 60px 0 40px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.faq-category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.category-tab svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.category-tab:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.category-tab.active {
    color: var(--white);
    background: var(--gradient-primary);
    border-color: var(--primary);
}

/* FAQ Content */
.faq-content-section {
    padding: 80px 0;
}

.faq-category-group {
    margin-bottom: 4rem;
}

.faq-group-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.faq-group-title svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-accordion-item {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion-item:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.faq-accordion-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-accordion-item.search-highlight {
    border-color: var(--primary);
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--gray-400);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-accordion-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer > div,
.faq-answer {
    padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.faq-answer code {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--gray-100);
    color: var(--primary);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    border-radius: 4px;
}

/* FAQ Contact CTA */
.faq-contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.faq-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 2rem;
}

.faq-cta-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.faq-contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.faq-contact-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.faq-cta-buttons .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.faq-cta-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.faq-cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-categories-section {
        position: static;
    }
    
    .faq-category-tabs {
        gap: 0.5rem;
    }
    
    .category-tab {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .category-tab svg {
        display: none;
    }
    
    .faq-group-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }
    
    .faq-answer > div,
    .faq-answer {
        padding: 0 1rem 1.25rem;
    }
    
    .faq-contact-cta h2 {
        font-size: 2rem;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
    }
    
    .faq-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
/* Logo Image */
.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-image {
        height: 32px;
    }
}
/* ===== Legal Pages Styles ===== */

/* Legal Content */
.legal-content {
    padding: 80px 0;
    background: var(--gray-50);
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Table of Contents */
.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.legal-toc h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.legal-toc nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-toc a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.legal-toc a:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.legal-toc a.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    font-weight: 600;
}

/* Legal Article */
.legal-article {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.legal-article section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-article section:last-child {
    margin-bottom: 0;
}

.legal-article h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.legal-article h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 2rem 0 1rem;
}

.legal-article h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 0.75rem;
}

.legal-article p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.legal-article ul,
.legal-article ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.legal-article li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.legal-article ul li {
    list-style: disc;
}

.legal-article ol li {
    list-style: decimal;
}

.legal-article strong {
    font-weight: 600;
    color: var(--gray-900);
}

.legal-article a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-article a:hover {
    color: var(--primary-dark);
}

.legal-article em {
    font-style: italic;
    color: var(--gray-600);
}

/* Legal Table */
.legal-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.legal-table thead {
    background: var(--gradient-primary);
}

.legal-table thead th {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
}

.legal-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
}

.legal-table tbody tr:last-child {
    border-bottom: none;
}

.legal-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.legal-table tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

/* Contact Info Box */
.contact-info-box {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    margin: 1.5rem 0;
}

.contact-info-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-info-box p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

/* Legal Footer */
.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-100);
    text-align: center;
}

.legal-footer p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

/* Highlight Box */
.highlight-box {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.highlight-box p {
    color: var(--gray-800);
    margin-bottom: 0;
}

/* Warning Box */
.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.warning-box p {
    color: var(--gray-800);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-toc {
        position: static;
        order: -1;
    }
    
    .legal-toc nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .legal-content {
        padding: 60px 0;
    }
    
    .legal-article {
        padding: 2rem 1.5rem;
    }
    
    .legal-article h2 {
        font-size: 1.5rem;
    }
    
    .legal-article h3 {
        font-size: 1.25rem;
    }
    
    .legal-toc nav {
        grid-template-columns: 1fr;
    }
    
    .legal-table {
        font-size: 0.875rem;
    }
    
    .legal-table thead th,
    .legal-table tbody td {
        padding: 0.75rem 1rem;
    }
}