/* Jelmoria Gym - Main Stylesheet */

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

:root {
    --primary-bg: #F2F2F2;
    --accent-color: #E63946;
    --secondary-accent: #A8DADC;
    --text-color: #1D3557;
    --button-color: #E63946;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--primary-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

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

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 140px;
    height: auto;
}

.logo-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--accent-color);
    letter-spacing: 3px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--text-color) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/img00.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    animation: heroSlideIn 1s ease-out;
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .slogan {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--button-color);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transition: left 0.3s ease;
}

.program-card:hover::before {
    left: 0;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.program-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    fill: var(--accent-color);
}

.program-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.program-card p {
    margin-bottom: 20px;
    color: var(--text-color);
    opacity: 0.8;
}

.program-features {
    list-style: none;
    text-align: left;
}

.program-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Equipment Section */
.equipment {
    background: var(--white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.equipment-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.equipment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    fill: var(--accent-color);
}

.equipment-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Trainers Section */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.trainer-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trainer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.trainer-card:hover::before {
    opacity: 1;
    animation: shimmer 0.5s ease;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.trainer-card:hover {
    transform: translateY(-10px);
}

.trainer-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-card h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.trainer-specialty {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Facility Tour */
.facility {
    background: var(--white);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.facility-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(29, 53, 87, 0.9));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.facility-item:hover .facility-overlay {
    transform: translateY(0);
}

.facility-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--accent-color);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.price-period {
    color: var(--text-color);
    opacity: 0.6;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Transformations Section */
.transformations {
    background: var(--white);
}

.transformations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.transformation-card {
    background: var(--primary-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.transformation-card:hover {
    transform: translateY(-5px);
}

.transformation-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.transformation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transformation-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.6;
}

.transformation-author {
    font-weight: 600;
    color: var(--accent-color);
}

.transformation-timeframe {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.contact h2,
.contact .section-header p {
    color: #F2F2F2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    color: #1D3557;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: var(--secondary-accent);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--button-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: #d52936;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.back-to-top:hover {
    background: #d52936;
    transform: scale(1.1);
}

.back-to-top.visible {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

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

    .section-header h2 {
        font-size: 2.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .programs-grid,
    .equipment-grid,
    .trainers-grid,
    .facility-grid,
    .pricing-grid,
    .transformations-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

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

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

    .hero .slogan {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Success Page Specific Styles */
.success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--primary-bg);
}

.success-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 30px;
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-content h1 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.success-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 300;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.success-message {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 50px;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.next-steps {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.next-steps h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    font-family: 'Bebas Neue', cursive;
}

.step h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-color);
    opacity: 0.8;
}

.contact-details {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    animation: slideInUp 0.8s ease-out 1s both;
}

.contact-details h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--primary-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 30px;
    height: 30px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 1.2s both;
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cta-button.secondary:hover {
    background: var(--accent-color);
    color: var(--white);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .success-content h1 {
        font-size: 2.5rem;
    }

    .success-content h2 {
        font-size: 1.5rem;
    }

    .next-steps,
    .contact-details {
        padding: 25px;
    }

    .steps-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Legal Pages Specific Styles */
.legal-page {
    padding: 120px 0 80px;
    background: var(--primary-bg);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 40px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-accent);
    padding-bottom: 10px;
}

.policy-section h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 25px 0 15px;
}

.policy-section p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0 15px 20px;
    color: var(--text-color);
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    background: var(--primary-bg);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 5px;
}

.back-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 25px;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }
}


/* Legal Pages Specific Styles */
.legal-page {
    padding: 120px 0 80px;
    background: var(--primary-bg);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 40px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-accent);
    padding-bottom: 10px;
}

.policy-section h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 25px 0 15px;
}

.policy-section p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0 15px 20px;
    color: var(--text-color);
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    background: var(--primary-bg);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 5px;
}

.back-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 25px;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }
}

/* Legal Pages Specific Styles */
.legal-page {
    padding: 120px 0 80px;
    background: var(--primary-bg);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 40px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-accent);
    padding-bottom: 10px;
}

.policy-section h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 25px 0 15px;
}

.policy-section p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0 15px 20px;
    color: var(--text-color);
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    background: var(--primary-bg);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 5px;
}

.back-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 25px;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }
}