/* Premium ADAS Solutions Styling */

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

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    padding-top: 140px;
}

/* Premium Gold Accent */
:root {
    --primary-blue: #0a1e3d;
    --secondary-blue: #1e3a5f;
    --accent-gold: #d4af37;
    --accent-gold-light: #f0d878;
    --accent-gold-dark: #b8941f;
}

/* Navigation Links */
.nav-link {
    position: relative;
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transition: width 0.3s ease;
}

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

.nav-link-mobile {
    color: #1e3a5f;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    color: var(--primary-blue);
    background: #f8f9fa;
    border-left-color: var(--accent-gold);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-blue);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(10, 30, 61, 0.3);
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(10, 30, 61, 0.4);
}

.btn-cta-light {
    background: white;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
}

.btn-cta-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.btn-cta-yellow {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
}

.btn-cta-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.5);
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, #0a1e3d 0%, #1e3a5f 50%, #2d4a6e 100%);
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(10, 30, 61, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-gold);
}

.service-card-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Boxes */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-gold);
}

.feature-box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateX(8px);
}

/* Timeline */
.timeline-step {
    position: relative;
    padding-left: 3rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 3rem;
    width: 2px;
    height: calc(100% - 2rem);
    background: linear-gradient(180deg, var(--accent-gold), transparent);
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--accent-gold);
}

.stars {
    color: var(--accent-gold);
}

/* Form Styling */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

/* Alert Box */
.alert-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-left: 4px solid #10b981;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-gold);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-blue);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.7;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Animations */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .timeline-step {
        padding-left: 2.5rem;
    }
    
    .timeline-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    #floating-call-btn,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
}
