/* 
 * AuditFin - Financial Audit Services
 * Main Stylesheet
 */

/* ---------- Variables ---------- */
:root {
    /* Color palette */
    --primary: #1DE9B6;        /* Bright turquoise */
    --secondary: #6200EA;      /* Dark purple */
    --background: #FFF8E1;     /* Soft cream white */
    --text: #212121;           /* Deep graphite */
    --accent: #FF6F61;         /* Contrasting coral */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--secondary));
    
    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --container-padding: 1.5rem;
    --section-spacing: 6rem;
    --card-radius: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-accent: 0 5px 15px rgba(255, 111, 97, 0.4);
    --shadow-primary: 0 5px 15px rgba(29, 233, 182, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ---------- Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* For rem units based on 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 4.8rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.8rem; }
h4 { font-size: 2.4rem; }
h5 { font-size: 2.0rem; }
h6 { font-size: 1.8rem; }

p {
    margin-bottom: 1.6rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    outline: none;
}

section {
    padding: var(--section-spacing) 0;
    scroll-margin-top: 8rem; /* Add padding to prevent header overlap */
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Text aligns */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margin utilities */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5rem;
    transition: var(--transition-medium);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(29, 233, 182, 0.5);
    color: white;
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 111, 97, 0.5);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 248, 225, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 0;
    transition: var(--transition-medium);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding: 0.8rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition-medium);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition-medium);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 233, 182, 0.8), rgba(98, 0, 234, 0.8));
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5.2rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 2rem;
    color: white;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- About Section ---------- */
.about {
    background-color: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.section-heading h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-heading p {
    max-width: 700px;
    margin: 2rem auto 0;
    color: #555;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    text-align: center;
    padding: 3rem 2rem;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary);
}

.about-card-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.about-card h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

/* ---------- Methods Section ---------- */
.methods {
    background-color: var(--background);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.method-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.method-card-content {
    padding: 2rem;
}

.method-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.method-card-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: var(--shadow-accent);
}

.method-wrapper {
    position: relative;
}

/* ---------- Services Section ---------- */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.service-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1.5rem 0;
}

.service-features {
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓";
    margin-right: 1rem;
    color: var(--primary);
    font-weight: bold;
}

.service-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Highlight popular service */
.service-card.popular {
    position: relative;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 1.4rem;
    border-bottom-left-radius: var(--card-radius);
    box-shadow: var(--shadow-primary);
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background-color: var(--background);
    overflow: hidden;
}

.testimonial-container {
    position: relative;
    margin: 0 auto;
    padding: 3rem 2rem;
    max-width: 800px;
}

/* Updated testimonial styles for PHP navigation */
.testimonial-card {
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    padding: 3rem;
    margin: 0 auto;
    transition: var(--transition-medium);
    position: relative;
    display: block;
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    border: 3px solid var(--primary);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.3rem;
    color: var(--secondary);
}

.testimonial-author p {
    margin: 0;
    color: #666;
    font-size: 1.4rem;
}

.testimonial-content {
    position: relative;
    padding-left: 2rem;
    font-style: italic;
    color: #555;
}

.testimonial-content::before {
    content: """;
    position: absolute;
    left: -1rem;
    top: -1rem;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.rating {
    margin-top: 1.5rem;
    color: #FFD700;
}

/* Testimonial navigation */
.testimonial-navigation {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.testimonial-nav-btn {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    pointer-events: auto;
    text-decoration: none;
}

.testimonial-nav-btn.prev {
    margin-left: -20px;
}

.testimonial-nav-btn.next {
    margin-right: -20px;
}

.testimonial-nav-btn:hover {
    background: var(--secondary);
    color: white;
    box-shadow: var(--shadow-lg);
}

/* Testimonial dots navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--secondary);
}

/* ---------- Why Us Section ---------- */
.why-us {
    background: linear-gradient(135deg, rgba(29, 233, 182, 0.1), rgba(98, 0, 234, 0.1));
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(29, 233, 182, 0.3), transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.why-us::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(98, 0, 234, 0.3), transparent 70%);
    bottom: -150px;
    right: -150px;
    border-radius: 50%;
    animation: rotate 30s linear reverse infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.why-us-item {
    display: flex;
    background: white;
    border-radius: var(--card-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-us-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.why-us-content h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.why-us-content p {
    margin: 0;
}

/* ---------- Contact Form Section ---------- */
.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
}

.contact-form h3 {
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 2rem;
}

.form-control {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 2px solid #eee;
    border-radius: 5rem;
    font-size: 1.6rem;
    transition: var(--transition-medium);
    font-family: var(--font-main);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 233, 182, 0.2);
    outline: none;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236200EA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.5em;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.form-check-label {
    position: relative;
    padding-left: 3rem;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1.4;
}

.form-check-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.form-check input[type="checkbox"]:checked + .form-check-label::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check input[type="checkbox"]:checked + .form-check-label::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-label a {
    color: var(--secondary);
    text-decoration: underline;
}

.form-check-label a:hover {
    color: var(--primary);
}

.contact-map {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 400px;
    transition: var(--transition-medium);
}

.contact-map:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.contact-map:hover img {
    transform: scale(1.05);
}

.contact-map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 233, 182, 0.2), rgba(98, 0, 234, 0.2));
    pointer-events: none;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50% 50% 0 50%;
    transform-origin: center;
    box-shadow: 0 0 0 5px rgba(255, 111, 97, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) rotate(-45deg) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.5);
    }
    70% {
        transform: translate(-50%, -50%) rotate(-45deg) scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 111, 97, 0);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-45deg) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0);
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--background);
    padding: 6rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-about p {
    margin-top: 2rem;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: var(--secondary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.footer-contact ul li svg {
    margin-right: 1rem;
    margin-top: 0.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact address {
    font-style: normal;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    position: relative;
    padding-left: 1.5rem;
    transition: var(--transition-fast);
}

.footer-links ul li a::before,
.footer-legal ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: var(--transition-fast);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--primary);
    padding-left: 2rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ---------- Cookie Banner ---------- */
#cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: linear-gradient(135deg, var(--secondary), rgba(98, 0, 234, 0.9));
    color: white;
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transition: var(--transition-medium);
}

#cookie-banner p {
    margin-bottom: 1.5rem;
}

#cookie-banner a {
    color: var(--primary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    flex: 1;
}

/* ---------- Thank You Page ---------- */
.thank-you-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 0 4rem;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.check-icon {
    margin: 0 auto 3rem;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: fadeInScale 1s ease;
}

.check-icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.thank-you-content h1 {
    color: var(--secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.thank-you-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* ---------- Policy Pages ---------- */
.policy-page {
    padding: 12rem 0 6rem;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
}

.policy-container h1 {
    color: var(--secondary);
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary);
}

.policy-container h2 {
    color: var(--secondary);
    margin: 4rem 0 1.5rem;
}

.policy-container h3 {
    margin: 2.5rem 0 1rem;
}

.policy-container p {
    margin-bottom: 2rem;
}

.policy-container ul {
    margin: 2rem 0;
    padding-left: 2rem;
    list-style-type: disc;
}

.policy-container li {
    margin-bottom: 1rem;
}

.policy-container strong {
    color: var(--secondary);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .about-grid,
    .methods-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .about-grid,
    .methods-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .menu-toggle {
        display: block;
        z-index: 101;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: var(--transition-medium);
        z-index: 100;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .about-grid,
    .methods-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-card.popular {
        transform: none;
    }
    
    .why-us-item {
        flex-direction: column;
    }
    
    .why-us-icon {
        margin: 0 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .policy-container {
        padding: 3rem 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2.5rem 2rem;
    }
} 