/* --- CSS Reset & Variables --- */
:root {
    /* Trustworthy Color Palette - Professional Light Theme */
    --bg-primary: #f1f0f0ee;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-card: #ffffff;

    --text-primary: #1a2c3e;
    --text-secondary: #4a5b6e;
    --text-muted: #7c8b9c;

    --accent-primary: #2c5f8a;
    --accent-primary-dark: #1e4668;
    --accent-primary-light: #e8f0f7;
    --accent-gold: #d4af37;
    --accent-gold-hover: #c4a02e;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --section-padding: 100px 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

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

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
}

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

.btn-outline {
    background-color: transparent;
    border-top: 2px dashed var(--accent-gold);
    border-bottom: 2px dashed var(--accent-gold);
    border-radius: 40px;
    color: var(--accent-primary);
}

.btn-outline:hover {
    color: white;
    transform: translateY(-2px);
}

/* Shared Section Styles */
section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-primary);
}

/* Navbar Base */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, #deeeff 0%, #89bdee 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0;
}

.hero-subtitle {
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-primary);
}

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

.hero-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/* --- About Section --- */
.about {
    background-color: var(--bg-secondary);
}

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

.text-left::after {
    left: 0;
    transform: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--accent-primary-light) 0%, #e8eef3 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--accent-primary);
    font-family: var(--font-heading);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 1rem;
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--accent-primary);
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.metric-card {
    border-bottom: 3px dashed var(--accent-gold);
    border-top: 3px dashed var(--accent-gold);
    padding-top: 20px;
    border-radius: 40px;
}

.metric-number {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 5px;
    font-weight: 700;
    text-align: center;
}

.metric-number::after {
    content: '+';
    text-align: center;
}

.metric-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: var(--text-secondary);
    text-align: center;
}

/* --- Services Section --- */
.services {
    background-color: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    transition: all var(--transition-medium);
    border: 1px solid #e9ecef;
    box-shadow: var(--shadow-sm);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-primary);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Experience Timeline --- */
.experience {
    background-color: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--accent-primary-light);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    border: 4px solid var(--bg-secondary);
}

.timeline-date {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

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

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 15px;
}

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

/* --- Contact Section --- */
.contact {
    background-color: var(--bg-primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    margin: 30px 0;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-info strong {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    color: var(--text-secondary);
}

.social-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width var(--transition-fast);
}

.social-link:hover::after {
    width: 100%;
}

.social-link:hover {
    color: var(--accent-primary);
}

.contact-form {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-primary);
    border: 1px solid #e0e4e8;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-light);
}

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

/* Form Message */
.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

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

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

/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Visually Hidden (Accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Trust Badges --- */
.trust-badges {
    padding: 40px 20px;
    background-color: var(--bg-card);
    border-bottom: 1px solid #e9ecef;
}

.trust-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.badges-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-primary-dark);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.badge:hover {
    opacity: 1;
}

/* --- Testimonials --- */
.testimonials {
    background-color: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    margin-bottom: 20px;
}

.quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.7;
    flex: 1;
}

.author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--accent-primary);
}

.author p {
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Lead Magnet --- */
.lead-magnet {
    background: linear-gradient(135deg, var(--accent-primary-dark) 0%, var(--accent-primary) 100%);
    padding: 80px 20px;
    color: white;
}

.lead-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.lead-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.inline-form {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

.inline-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.inline-form button {
    background-color: var(--accent-gold);
    color: var(--text-primary);
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.inline-form button:hover {
    background-color: var(--accent-gold-hover);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        gap: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .about-container {
        gap: 15px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .inline-form {
        flex-direction: column;
        gap: 10px;
    }

    .inline-form input,
    .inline-form button {
        width: 100%;
    }

    .inline-form button {
        padding: 15px;
    }

    .badges-flex {
        gap: 20px;
    }

    .badge {
        font-size: 1rem;
    }

    .lead-text h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 7px;
    }

    /* Mobile Navigation */
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .nav-links .btn-outline {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-subtitle {
        font-size: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .badges-flex {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .badge {
        font-size: 1.1rem;
    }
}