/* CSS Variables - Brand Colors from Manual */
:root {
    --primary-color: #6f3219;
    --secondary-color: #b88143;
    --light-color: #f8edc8;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --shadow: 0 4px 6px rgba(111, 50, 25, 0.1);
    --shadow-hover: 0 8px 15px rgba(111, 50, 25, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(248, 237, 200, 0.8) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

/* Video específico en hero */
video.hero-img {
    display: block;
}

.hero-img:hover {
    transform: scale(1.02);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.mission-vision {
    display: grid;
    gap: 2rem;
}

.mission, .vision {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.mission h3, .vision h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.values h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.values-list {
    display: grid;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 12px;
    transition: var(--transition);
}

.value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
    transition: var(--transition);
}

.value-item:hover .value-icon {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.value-item:hover .value-icon svg {
    transform: scale(1.1);
}

.value-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.value-item p {
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(248, 237, 200, 0.5) 100%);
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-tagline {
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
    opacity: 0.9;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Target Audience Section */
.target-audience {
    padding: 5rem 0;
    background-color: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.audience-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--light-color);
}

.audience-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.audience-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.audience-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.audience-item:hover .audience-img {
    transform: scale(1.05);
}

.audience-content {
    padding: 2rem;
    text-align: center;
}

/* CTA Special Styling */
.audience-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    text-align: center;
    padding: 2rem;
}

.cta-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cta-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.audience-cta:hover .cta-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.audience-cta h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.audience-cta p {
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.audience-cta .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    font-weight: 600;
    padding: 14px 28px;
}

.audience-cta .btn:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-color: var(--light-color);
    transform: translateY(-3px);
}

.audience-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.audience-item:not(.audience-cta) p {
    color: var(--text-dark);
    opacity: 0.85;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item h4 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 50, 25, 0.1);
}

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

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

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.footer-privacy-notice {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-color);
}

.footer-privacy-notice p {
    margin: 0;
    line-height: 1.4;
}

.footer-privacy-notice a {
    color: var(--light-color);
    font-weight: 500;
}

.footer-privacy-notice a:hover {
    color: var(--white);
}

.footer-copyright {
    opacity: 0.85;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 120px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-img {
        height: 350px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 140px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
    
    .hero-img {
        height: 250px;
    }

    .service-content {
        padding: 2rem;
    }
    
    .service-image {
        height: 200px;
    }
    
    .audience-image {
        height: 180px;
    }
    
    .audience-content {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .value-item {
        padding: 1rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
    }
    
    .audience-cta .btn {
        width: 100%;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* Scroll Animations */
.service-card,
.value-item,
.audience-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.service-card.animate,
.value-item.animate,
.audience-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Modern Touches */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Error 404 Page */
.error-404 {
    min-height: calc(100vh - 160px);
    padding: 8rem 0 5rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(248, 237, 200, 0.5) 100%);
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.error-visual {
    text-align: center;
    position: relative;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.error-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.error-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.error-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.error-suggestions {
    margin-bottom: 3rem;
}

.error-suggestions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.error-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.error-suggestions a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Thank You Page */
.thank-you {
    min-height: calc(100vh - 160px);
    padding: 8rem 0 5rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(248, 237, 200, 0.5) 100%);
}

.thank-you-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.thank-you-left {
    text-align: center;
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.thank-you-right {
    /* Content styles */
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: successPulse 2s ease-in-out infinite;
}

.success-icon svg {
    width: 60px;
    height: 60px;
    color: var(--white);
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.thank-you-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.thank-you-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    gap: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-dark);
    opacity: 0.85;
    font-size: 0.95rem;
}

.contact-info-summary {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.contact-info-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-summary p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive for Error and Thank You pages */
@media (max-width: 768px) {
    .error-content,
    .thank-you-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .thank-you-left {
        position: static;
        margin-bottom: 2rem;
        min-height: auto;
        padding: 3rem 0;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-title,
    .thank-you-title {
        font-size: 2rem;
    }
    
    .success-icon {
        width: 100px;
        height: 100px;
    }
    
    .success-icon svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .error-404,
    .thank-you {
        padding: 6rem 0 3rem;
    }
    
    .error-actions,
    .thank-you-actions {
        flex-direction: column;
    }
    
    .error-actions .btn,
    .thank-you-actions .btn {
        width: 100%;
    }
    
    .step-item {
        padding: 1rem;
    }
}

/* Privacy Policy Page */
.privacy-policy {
    padding: 8rem 0 5rem;
    background-color: var(--white);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-meta {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.privacy-meta p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.privacy-text {
    line-height: 1.8;
    color: var(--text-dark);
}

.privacy-text h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 0.5rem;
}

.privacy-text h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 2rem 0 1rem 0;
}

.privacy-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.privacy-text ul,
.privacy-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.privacy-text li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.privacy-text strong {
    color: var(--primary-color);
    font-weight: 600;
}


/* Footer links for privacy */
.footer-links {
    margin: 1rem 0;
    text-align: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Privacy Checkbox Styles */
.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.1rem;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.privacy-checkbox label {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

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

/* Disabled button state */
.btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border-color: #ccc;
}

.btn:disabled:hover {
    background-color: #ccc;
    color: #666;
    transform: none;
}

/* Responsive for Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 6rem 0 3rem;
    }
    
    .privacy-title {
        font-size: 2.2rem;
    }
    
    .privacy-text {
        font-size: 0.95rem;
    }
    
    .privacy-text h2 {
        font-size: 1.5rem;
    }
    
    .privacy-text h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .privacy-text p {
        text-align: left;
    }
    
    .privacy-text ul,
    .privacy-text ol {
        padding-left: 1.5rem;
    }
    
    .privacy-checkbox {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}