/* =========================================
   Global & Reset
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #343a40;
    background-color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden; /* From index.php */
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   Layout & Containers
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Specific container for upload page form to keep it narrow */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 4px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
    line-height: normal;
}

.header-container { /* From upload.php */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Note: index.php uses .container inside header, upload.php uses .header-container. 
   We can unify this by making .header-container alias to .container or just using .container in HTML. 
   For now keeping both for compatibility or just using the .container styles. 
*/

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #008080;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('favicon_dark.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #343a40;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff7f50;
}

/* =========================================
   Buttons
   ========================================= */
.cta-button {
    background: linear-gradient(45deg, #ff7f50, #ff6347);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.login-btn {
    padding: 6px 16px;
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 127, 80, 0.3);
}

.cta-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #666666;
}

.secondary-button {
    background: transparent;
    color: #ff7f50;
    border: 2px solid #ff7f50;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    background: #ff7f50;
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   Index Page: Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23008080"/><circle cx="80" cy="80" r="2" fill="%23008080"/><circle cx="80" cy="20" r="1" fill="%23343a40"/><circle cx="20" cy="80" r="1" fill="%23343a40"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 4px;
    color: #343a40;
    opacity: 0;
    animation: slideInLeft 1s ease 0.5s forwards;
}

.hero-text img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin-top: 4px;
}

.hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: #008080;
    font-style: italic;
    opacity: 0;
    animation: slideInLeft 1s ease 0.6s forwards;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #6c757d;
    line-height: 1.6;
    opacity: 0;
    animation: slideInLeft 1s ease 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: slideInLeft 1s ease 0.9s forwards;
}

/* =========================================
   Upload Page: Hero Section (Scoped)
   ========================================= */
.hero-section { /* Used in upload.php */
    background: #ffffff;
    padding: 120px 20px 30px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.hero-section .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5em;
    font-weight: 800;
    color: #008080;
    margin-bottom: 10px;
}

.hero-section .hero-subtitle {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Stats Section
   ========================================= */
.stats {
    padding: 100px 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #008080;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
}

/* =========================================
   How It Works Section
   ========================================= */
.how-it-works {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #343a40;
}

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

.step-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.step-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.1);
    border-color: #008080;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #008080, #006666);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #343a40;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
}

.step-description a {
    color: #008080;
    text-decoration: underline;
    font-weight: 500;
}

.step-description a:hover {
    color: #ff7f50;
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials {
    padding: 100px 0;
    background: #ffffff;
}

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

.testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #008080;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.testimonial.animate {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #6c757d;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff7f50, #ff6347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h4 {
    color: #343a40;
    margin-bottom: 5px;
}

.author-info p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* =========================================
   Final CTA Section
   ========================================= */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(45deg, rgba(0, 128, 128, 0.05), rgba(0, 102, 102, 0.05));
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #343a40;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #6c757d;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   Upload Page: Form & Inputs
   ========================================= */
.form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #008080;
    font-size: 0.95em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

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

/* =========================================
   Upload Page: Video Upload/Capture
   ========================================= */
.upload-area {
    border: 2px dashed #008080;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    background: #e9ecef;
    border-color: #006666;
}

.upload-area.dragover {
    background-color: #e9ecef;
    border-color: #006666;
}

.upload-icon {
    font-size: 4em;
    color: #008080;
    margin-bottom: 10px;
}

.upload-text h4 {
    color: #008080;
    margin-bottom: 5px;
}

.upload-text p {
    font-size: 0.9em;
    color: #6c757d;
}

.file-info {
    margin-top: 15px;
    text-align: left;
    background-color: #e9f5f5;
    border-left: 4px solid #008080;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info span {
    font-weight: 600;
}

.file-info button {
    background: none;
    border: none;
    font-size: 1.2em;
    color: #008080;
    cursor: pointer;
}

.progress-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-top: 15px;
}

.progress-bar {
    width: 0%;
    height: 20px;
    background-color: #008080;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 0.8em;
    transition: width 0.4s ease;
}

.assembling-animation {
    text-align: center;
    margin-top: 15px;
    display: none;
}

.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #008080;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.upload-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.upload-options-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #ced4da;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-options-btn.active,
.upload-options-btn:hover {
    background-color: #008080;
    color: #fff;
    border-color: #008080;
}

#videoCaptureArea {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#videoPreview {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#videoPlayer {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
}

#videoDurationDisplay {
    font-size: 0.9em;
    color: #6c757d;
    font-style: italic;
}

.video-controls {
    display: flex;
    gap: 20px;
}

.control-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    color: #fff;
}

.record-btn {
    background-color: #d9534f;
}

.record-btn:hover {
    background-color: #c9302c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(217, 83, 79, 0.3);
}

.record-btn.recording {
    animation: pulse-red 1s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(217, 83, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); }
}

.stop-btn {
    background-color: #5cb85c;
    display: none;
}

.stop-btn:hover {
    background-color: #449d44;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(92, 184, 92, 0.3);
}

.upload-recorded-btn {
    background-color: #008080;
    display: none;
}

.upload-recorded-btn:hover {
    background-color: #006666;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.3);
}

.retake-btn {
    background-color: #6c757d;
    display: none;
}

.retake-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

/* =========================================
   Upload Page: Confirmation Box
   ========================================= */
.confirm-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.confirm-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
}

.confirm-box-message {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #343a40;
}

.confirm-box-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.confirm-box-btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.confirm-box-yes {
    background-color: #008080;
    color: #fff;
}

.confirm-box-no {
    background-color: #e9ecef;
    color: #343a40;
}

/* =========================================
   Tooltips
   ========================================= */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.info-icon {
    font-weight: bold;
    color: #008080;
    margin-left: 5px;
}

.tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9em;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container.active .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* =========================================
   Animations (Shared)
   ========================================= */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* =========================================
   Signup Page
   ========================================= */
.signup-section {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23008080"/><circle cx="80" cy="80" r="2" fill="%23008080"/><circle cx="80" cy="20" r="1" fill="%23343a40"/><circle cx="20" cy="80" r="1" fill="%23343a40"/></svg>') repeat;
    animation: background-scroll 20s infinite linear;
}

@keyframes background-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.signup-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 700px;
    z-index: 2;
}

.signup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 20px;
    text-align: center;
}

.signup-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 12px;
    color: #495057;
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.warning-text {
    color: #d9534f;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.footer-box {
    margin-top: 30px;
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.signin-link {
    text-align: center;
    margin-top: 15px;
}

.signin-link a {
    color: #008080;
    font-weight: 600;
}

.confirmation-details {
    text-align: left;
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.detail-row {
    margin-bottom: 10px;
    display: flex;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.detail-label {
    font-weight: bold;
    width: 120px;
    color: #555;
}

.detail-value {
    color: #333;
    flex: 1;
}

/* Helper for full width button */
.w-100 {
    width: 100%;
    display: block;
    text-align: center;
}

/* =========================================
   Report View Page
   ========================================= */
.report-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    color: #333;
    text-align: center;
    margin-top: 40px;
}

.report-card h1 { 
    color: #333; 
    margin-bottom: 20px; 
    font-weight: 800;
    font-size: 2rem;
}

.report-card p { 
    font-size: 1.1rem; 
    margin-bottom: 15px; 
    color: #555; 
}

.severity-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: inline-block;
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.severity-val { 
    color: #d35400; 
    text-transform: uppercase; 
}

.price-box {
    font-size: 1.5rem;
    color: #27ae60;
    font-weight: bold;
    margin: 20px 0 30px 0;
}

.btn-paypal {
    display: inline-block;
    background-color: #ffc439;
    color: #111;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.btn-paypal:hover {
    transform: scale(1.05);
    background-color: #f4bb2e;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-section {
        padding-top: 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        padding-top: 35px;
    }

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

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

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

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

    .tooltip-text {
        width: 90vw;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        bottom: 110%;
    }
    
    .tooltip-text::after {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
    }
}

/* =========================================
   Legal Page
   ========================================= */
.legal-section {
    padding-top: 100px; /* Space for fixed header */
    padding-bottom: 50px;
}

.legal-content-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 20px;
}

.legal-content-card h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #343a40;
    text-align: center;
}

.legal-content-card h2 {
    font-size: 2rem;
    margin-top: 25px;
    margin-bottom: 20px;
    color: #343a40;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 5px;
}

.legal-content-card p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #6c757d;
    line-height: 1.6;
}

.legal-content-card a {
    color: #008080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content-card a:hover {
    color: #ff7f50;
}

.contact-info {
    font-weight: bold;
    color: #008080;
}

@media (max-width: 768px) {
    .legal-content-card {
        padding: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .legal-content-card h1 {
        font-size: 2rem;
    }
    .legal-content-card h2 {
        font-size: 1.7rem;
    }
    .legal-content-card p {
        font-size: 1rem;
    }
    .legal-section {
        padding-top: 80px; /* Adjust for smaller header */
    }
}

