/*
================================================
TABLE OF CONTENTS
================================================
1.  AURORA THEME: VARIABLES & ROOT
2.  GENERAL RESETS & BASE STYLES
3.  TYPOGRAPHY
4.  LAYOUT & STRUCTURE
5.  UI ELEMENTS (Buttons, Cards)
6.  HEADER & NAVIGATION (Glassmorphism)
7.  FOOTER
8.  HERO SECTION (Animated Aurora BG)
9.  SERVICES SECTION (Glow Cards)
10. PROCESS SECTION
11. TESTIMONIALS SECTION
12. CTA SECTION
13. PAGE-SPECIFIC STYLES (Contact, Legal)
14. FORMS
15. ANIMATIONS & INTERACTIONS
16. RESPONSIVE DESIGN
================================================
*/


/* ================================================ */
/* ======= 1. AURORA THEME: VARIABLES & ROOT ====== */
/* ================================================ */
:root {
    /* Color Palette */
    --color-background: #f8f9fa;
    --color-surface: #ffffff;
    --color-primary: #6366f1;
    /* Indigo */
    --color-secondary: #0ea5e9;
    /* Sky Blue */
    --color-accent: #ec4899;
    /* Pink */
    --color-heading: #111827;
    /* Dark Gray */
    --color-body: #374151;
    --color-border: #e5e7eb;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-aurora: linear-gradient(125deg, var(--color-primary), var(--color-secondary), var(--color-accent));

    /* Typography */
    --font-family-main: 'Inter', sans-serif;

    /* Sizing & Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 48px;
    --spacing-xxl: 96px;
    --header-height: 80px;
    --max-width-container: 1140px;

    /* UI Elements */
    --border-radius: 12px;
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-medium: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
    --transition-speed: 0.3s;
}

/* ================================================ */
/* ======== 2. GENERAL RESETS & BASE STYLES ======= */
/* ================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-body);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

main {
    padding-top: var(--header-height);
    overflow-x: hidden;
}

/* ================================================ */
/* ================= 3. TYPOGRAPHY ================ */
/* ================================================ */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-secondary);
}

/* ================================================ */
/* ============== 4. LAYOUT & STRUCTURE =========== */
/* ================================================ */
.container {
    width: 100%;
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-padding {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-intro {
    font-size: 1.125rem;
    color: var(--color-body);
}

.text-center {
    text-align: center;
}

.text-center .section-header,
.text-center .section-intro {
    margin-left: auto;
    margin-right: auto;
}

/* ================================================ */
/* =========== 5. UI ELEMENTS (Buttons, Cards) ==== */
/* ================================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-aurora);
    background-size: 200% auto;
    color: var(--color-white);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.glow-card {
    background: var(--color-surface);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    background: var(--gradient-aurora) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.glow-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.glow-card:hover::before {
    opacity: 1;
}

/* ================================================ */
/* ======== 6. HEADER & NAVIGATION ================ */
/* ================================================ */
.site-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 80px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: var(--spacing-xl);
}

.nav-link {
    font-weight: 600;
    color: var(--color-heading);
}

.nav-link-button {
    background-color: var(--color-heading);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.nav-link-button:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.nav-toggle {
    display: none;
    z-index: 1001;
}

/* ================================================ */
/* =================== 7. FOOTER ================== */
/* ================================================ */
.site-footer {
    background-color: var(--color-surface);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo img {
    height: 36px;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: var(--color-body);
}

.footer-contact {
    color: var(--color-body);
}

.footer-contact li {
    margin-bottom: var(--spacing-sm);
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: var(--color-body);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-body);
}

/* ================================================ */
/* ============== 8. HERO SECTION ================= */
/* ================================================ */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aurora-bg {
    background-color: #e0e7ff;
}

.aurora-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-aurora);
    background-size: 400% 400%;
    animation: aurora-animation 15s ease infinite;
    opacity: 0.5;
}

.hero-subtitle {
    max-width: 700px;
    margin: var(--spacing-lg) auto var(--spacing-xl);
    font-size: 1.25rem;
}

/* ================================================ */
/* ============= 9. SERVICES SECTION ============== */
/* ================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.card-icon {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.card-icon svg {
    width: 36px;
    height: 36px;
}

/* ================================================ */
/* ============== 10. PROCESS SECTION ============= */
/* ================================================ */
.bg-light-gradient {
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.process-step {
    border-top: 2px solid var(--color-primary);
    padding-top: var(--spacing-lg);
}

.process-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

/* ================================================ */
/* ============ 11. TESTIMONIALS SECTION ========== */
/* ================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.testimonial-card {
    background: var(--color-surface);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: var(--spacing-lg);
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
    color: var(--color-body);
}

/* ================================================ */
/* ================= 12. CTA SECTION ============== */
/* ================================================ */
.cta-section {
    background-color: var(--color-surface);
}

.cta-text {
    max-width: 600px;
    margin: var(--spacing-md) auto var(--spacing-xl);
}

/* ================================================ */
/* =========== 13. PAGE-SPECIFIC STYLES =========== */
/* ================================================ */
.page-header-section {
    padding: var(--spacing-xl) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 2fr 1.5fr;
    }
}

.contact-info-container {
    background-color: var(--color-surface);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
}

.contact-info-list li {
    margin-bottom: var(--spacing-lg);
}

.legal-content h2 {
    margin-top: var(--spacing-xl);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
}

.legal-content ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
}

/* ================================================ */
/* =================== 14. FORMS ================== */
/* ================================================ */
.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

/* ================================================ */
/* ======== 15. ANIMATIONS & INTERACTIONS ========= */
/* ================================================ */
@keyframes aurora-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================ */
/* ============== 16. RESPONSIVE DESIGN =========== */
/* ================================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .hamburger {
        display: block;
        position: relative;
        width: 25px;
        height: 2px;
        background-color: var(--color-heading);
        transition: all 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 25px;
        height: 2px;
        background-color: var(--color-heading);
        transition: all 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    .main-navigation {
        position: static;
    }

    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-surface);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-lg) 0;
        display: none;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.open {
        display: flex;
        animation: fadeInUp 0.3s ease-out forwards;
    }

    .nav-item {
        margin: 0 0 var(--spacing-md) 0;
        width: 100%;
        text-align: center;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }
}