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

:root {
    /* Magazine-inspired color palette */
    --primary-color: #2C3E50;
    --secondary-color: #C69C6D;
    --accent-color: #8B4513;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --background-light: #FAF9F6;
    --background-cream: #F5F1E8;
    --background-white: #FFFFFF;
    --border-color: #E5E1D8;
    --highlight-color: #D4AF37;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 100px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================
   Typography
   ============================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* ============================
   Navigation
   ============================ */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-bar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-serif);
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    position: relative;
    transition: var(--transition-fast);
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    position: relative;
    margin-top: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 40px, rgba(255,255,255,0.03) 41px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 40px, rgba(255,255,255,0.03) 41px);
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(198, 156, 109, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--background-white);
    margin-bottom: 32px;
    line-height: 1.1;
    font-family: var(--font-serif);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-sans);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 156, 109, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--background-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--background-white);
}

.btn-outline {
    background-color: var(--secondary-color);
    color: var(--background-white);
    border-color: var(--primary-color);
}

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

/* ============================
   Services Section
   ============================ */
.services-overview {
    padding: var(--section-padding) 0;
    background-color: var(--background-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.service-card {
    background-color: var(--background-cream);
    padding: 48px 40px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495E 100%);
    color: var(--background-white);
}

.service-card.featured h3 {
    color: var(--background-white);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-icon {
    background-color: rgba(198, 156, 109, 0.2);
    color: var(--secondary-color);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--background-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

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

/* ============================
   Process Section
   ============================ */
.process-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--background-light) 0%, var(--background-cream) 100%);
}

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

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.process-step {
    display: flex;
    gap: 48px;
    margin-bottom: 80px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--background-white);
    font-family: var(--font-serif);
    box-shadow: 0 8px 24px rgba(198, 156, 109, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background-color: var(--background-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
}

.step-content:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* Reporting section removed */

/* ============================
   FAQ Section
   ============================ */
.faq-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--background-light) 0%, var(--background-cream) 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background-white);
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 28px 32px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    font-family: var(--font-serif);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition-fast);
    color: var(--secondary-color);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 32px 32px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================
   CTA Section
   ============================ */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495E 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 60px, rgba(255,255,255,0.03) 61px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 60px, rgba(255,255,255,0.03) 61px);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--background-white);
    margin-bottom: 24px;
    font-family: var(--font-serif);
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact form styles */
.contact-form {
    margin-top: 32px;
    background-color: rgba(255,255,255,0.06);
    padding: 28px;
    border-radius: 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
}

/* Utility: visually hidden (for accessible headings) */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; /* added line */
}

/* Hidden/honeypot field styling */
.contact-form [name="website"] {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 18px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.captcha-input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.98);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.captcha-input:focus {
    outline: none;
    box-shadow: 0 6px 22px rgba(0,0,0,0.25), 0 0 0 6px rgba(212,175,55,0.08);
    border-color: var(--highlight-color);
    background: rgba(255,255,255,0.04);
}

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

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    align-items: center;
}

.form-actions .btn {
    padding: 12px 28px;
    border-radius: 8px;
}

#contactMessage {
    margin-top: 12px;
    font-weight: 700;
    color: var(--highlight-color);
}

/* Captcha row */
.captcha-row {
    margin-top: 12px;
    display:flex;
    gap:12px;
    align-items:center;
}

#captchaQuestion {
    font-weight:700;
    color:var(--background-white);
    background: rgba(255,255,255,0.04);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
}

#refreshCaptcha {
    background: transparent;
    color: var(--background-white);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

#refreshCaptcha:hover {
    background: rgba(255,255,255,0.03);
}

/* ============================
   Footer
   ============================ */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--background-white);
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.footer-brand span {
    color: var(--secondary-color);
}

.footer-brand p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
    color: var(--background-white);
    font-size: 1.3rem;
    margin-bottom: 24px;
    font-family: var(--font-serif);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Footer contact-specific styles */
.footer-contact .company-name {
    color: var(--background-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-contact .address {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.4;
}

.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

/* ============================
   Animations
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    100% {
        opacity: 0;
    }
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background-white);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        transition: var(--transition-smooth);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 35px;
    }
    
    .process-step {
        gap: 24px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 24px;
    }
    
    .reporting-grid {
        grid-template-columns: 1fr;
    }
    
    .reporting-card.featured {
        transform: scale(1);
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Make captcha row stack on smaller screens for better responsiveness */
@media (max-width: 600px) {
    .captcha-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 12px;
    }

    .captcha-row #captchaQuestion {
        width: 100%;
        text-align: left;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.06);
        background: rgba(255,255,255,0.03);
    }

    .captcha-row .captcha-input,
    .captcha-row #refreshCaptcha {
        width: 100%;
    }

    .captcha-row #refreshCaptcha {
        display: inline-flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
}

/* ============================
   Pricing Section
   ============================ */
.pricing-section {
    padding: var(--section-padding) 0;
    background-color: var(--background-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto 24px;
}

.pricing-card {
    background-color: var(--background-white);
    padding: 34px 28px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(0,0,0,0.12);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.pricing-summary {
    font-weight: 700;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.pricing-card ul {
    margin-top: 6px;
    margin-left: 20px;
    color: var(--text-medium);
    line-height: 1.7;
}

.pricing-note {
    max-width: 900px;
    margin: 18px auto 0;
    text-align: center;
    color: var(--text-medium);
    font-weight: 600;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        padding: 24px;
    }
}

.pricing-cta {
    margin-top: 16px;
    display: inline-block;
}
