/* ==========================================================================
   CSS STYLESHEET - PERITUM ALEKSANDRA JAGUSZEWSKA
   Property Appraiser Website (Rzeczoznawca Majątkowy)
   ========================================================================== */

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

:root {
    /* Color Palette */
    --primary: #0F172A;        /* Deep Slate Navy - main background for dark themes */
    --primary-light: #1E293B;  /* Slate Blue - card backgrounds on dark */
    --secondary: #C5A880;      /* Champagne Gold - primary brand accent */
    --secondary-hover: #E2C799;/* Lighter Gold for interactive hover states */
    --accent-red: #EF4444;     /* Standard error state color */
    --accent-green: #10B981;   /* Standard success state color */
    
    /* Neutral Colors */
    --bg-light: #F8FAFC;       /* Off-white background for light sections */
    --bg-white: #FFFFFF;       /* Pure white for cards on light sections */
    --text-dark: #0F172A;      /* Primary text color on light background */
    --text-muted-dark: #475569;/* Secondary text color on light background */
    --text-light: #F8FAFC;     /* Primary text color on dark background */
    --text-muted-light: #94A3B8;/* Secondary text color on dark background */
    --border-color: #E2E8F0;   /* Subtle divider border */
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 30px -5px rgba(15, 23, 42, 0.12);
}

/* 2. Global Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 3. Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 7.5rem 0;
    }
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-title-wrapper {
        margin-bottom: 4.5rem;
    }
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted-dark);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 4. Button & Links System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(197, 168, 128, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.6);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-icon {
    margin-left: 0.5rem;
    transition: var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* 5. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 70px;
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

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

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-menu {
    display: none;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-light);
    opacity: 0.85;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
    opacity: 1;
    color: var(--secondary);
}

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

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

.nav-cta {
    display: none;
}

/* Hamburger Icon for Mobile */
.burger {
    display: block;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    z-index: 1001;
    padding: 0.5rem;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

/* Mobile Nav Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-item {
    font-size: 1.125rem;
    display: block;
}

/* 6. Desktop Navigation styles */
@media (min-width: 992px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 2.5rem;
    }
    .nav-cta {
        display: block;
    }
    .burger {
        display: none;
    }
    .mobile-nav {
        display: none;
    }
}

/* 7. Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    background-color: rgba(197, 168, 128, 0.15);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 0.5rem;
    display: inline-block;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* 8. Values/USPs Section */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 168, 128, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* 9. About Section (O mnie) */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.about-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
}

.about-image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--secondary);
    border-radius: var(--border-radius);
    z-index: 1;
    pointer-events: none;
}

.about-content-tag {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-desc-highlight {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted-dark);
    margin-top: 0.5rem;
}

.about-affiliation {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.about-affiliation p {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.about-affiliation span {
    font-size: 0.875rem;
    color: var(--text-muted-dark);
}

/* 10. Services Section (Zakres usług) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-icon {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-list {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.service-list-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted-dark);
    margin-bottom: 0.5rem;
}

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

.service-list-bullet {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 0.75rem;
}

/* 11. Process Section (Proces wyceny) */
.process {
    background-color: var(--bg-light);
}

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

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

@media (min-width: 768px) {
    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.process-step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 50px;
}

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

@media (min-width: 768px) {
    .process-step {
        padding-left: 0;
        width: 50%;
    }
    
    .process-step:nth-child(odd) {
        margin-left: auto;
        padding-left: 2.5rem;
    }
    
    .process-step:nth-child(even) {
        margin-right: auto;
        padding-right: 2.5rem;
        text-align: right;
    }
}

.process-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 0 0 6px var(--bg-light);
    z-index: 2;
}

@media (min-width: 768px) {
    .process-number {
        left: auto;
        right: -20px;
    }
    
    .process-step:nth-child(odd) .process-number {
        left: -20px;
        right: auto;
    }
}

.process-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.process-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.process-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* 12. Ethics & Professionalism Section (Etyka zawodowa) */
.ethics {
    background-color: var(--primary);
    color: var(--text-light);
}

.ethics .section-title {
    color: var(--text-light);
}

.ethics .section-subtitle {
    color: var(--text-muted-light);
}

.ethics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .ethics-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.ethics-grid > div:first-child h3 {
    color: var(--text-muted-light);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.ethics-grid > div:first-child p {
    color: var(--text-muted-light);
    margin-bottom: 1.5rem;
}

.ethics-principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .ethics-principles {
        grid-template-columns: repeat(2, 1fr);
    }
}

.principle-item {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.principle-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.principle-item p {
    font-size: 0.875rem;
    color: var(--text-muted-light);
    margin-bottom: 0;
}

/* 13. Contact Section (Kontakt & Formularz & Mapa) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(197, 168, 128, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-detail-content p, .contact-detail-content a {
    font-size: 0.9375rem;
    color: var(--text-muted-dark);
    margin-bottom: 0;
}

.contact-detail-content a:hover {
    color: var(--secondary);
}

.contact-map-container {
    height: 280px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Form Styles */
.contact-form-wrapper {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* GDPR Checkbox Styles */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.form-checkbox {
    margin-top: 0.25rem;
    width: 16px;
    height: 16px;
    accent-color: var(--secondary);
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.8125rem;
    color: var(--text-muted-dark);
    line-height: 1.4;
}

.form-checkbox-label a {
    color: var(--secondary);
    text-decoration: underline;
    font-weight: 500;
}

.form-checkbox-label a:hover {
    color: var(--secondary-hover);
}

.form-submit-btn {
    width: 100%;
}

/* Validation classes */
.form-control.error {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: var(--accent-red);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* 14. Footer */
.footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-brand .logo-main {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted-light);
    margin-top: 1rem;
    max-width: 350px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-item {
    font-size: 0.875rem;
    color: var(--text-muted-light);
}

.footer-link-item:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted-light);
    margin-bottom: 0.75rem;
}

.footer-contact-icon {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-muted-light);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted-light);
}

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

/* 15. Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted-dark);
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--primary);
}

.modal-icon-success {
    width: 70px;
    height: 70px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    margin: 0 auto 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-desc {
    font-size: 0.9375rem;
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
}

/* 16. Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    z-index: 900;
    transition: var(--transition-smooth);
}

.scroll-top.active {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
}

/* 17. Animations (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 18. Privacy Policy page specific styles */
.policy-page {
    padding-top: calc(var(--header-height) + 3rem);
}

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

.policy-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.policy-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: var(--text-muted-dark);
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted-dark);
}

.policy-content li {
    margin-bottom: 0.5rem;
}
