/* CSS Variables for Theme */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #f8f9fa;
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-light: #ffffff;
    --accent-primary: #dc2626;
    --accent-secondary: #000000;
    --border-color: #000000;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #333333;
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-light: #ffffff;
    --accent-primary: #dc2626;
    --accent-secondary: #333333;
    --border-color: #ffffff;
    --card-bg: #2d2d2d;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #dc2626, #000000);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    /* match previous .logo-img sizing used elsewhere */
    width: auto;
    display: block;
}

.logo-icon {
    position: relative;
    width: 60px;
    height: 40px;
}

.eagle-wing {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 20px;
    background: linear-gradient(45deg, #dc2626, #000000);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    border-radius: 2px;
}

.eagle-head {
    position: absolute;
    top: 15px;
    left: 25px;
    width: 25px;
    height: 20px;
    background: linear-gradient(45deg, #000000, #dc2626);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    border-radius: 2px;
}

.logo-text h1 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.logo-text p {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    position: relative;
    z-index: 1000;
    outline: none;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(15deg);
}

/* Theme radio toggle styles (accessible: hidden inputs + styled labels) */
.theme-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-label {
    color: white;
    font-size: 0.95rem;
    white-space: nowrap;
}

.theme-radios {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Hide the native radio but keep it accessible */
.theme-radios input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

/* Style the label as the visual switch */
.theme-radios label.theme-radio {
    display: inline-block;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.12);
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-radios label.theme-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    transition: transform 0.25s ease;
}

/* Move knob when checked - checkbox implementation */
#theme-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

#theme-toggle:checked+label.theme-radio {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

#theme-toggle:checked+label.theme-radio::after {
    transform: translateX(18px);
}

/* Focus ring */
.theme-radios input[type="radio"]:focus+label.theme-radio {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
    outline: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #dc2626, #000000);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #dc2626;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 50px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
    border: 2px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.feature h3 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature p {
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    transition: background 0.3s ease;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 60px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.process-steps {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background: linear-gradient(135deg, #dc2626, #000000);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.step-content p {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content li {
    color: var(--text-primary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.step-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Badges Section */
.badges {
    padding: 80px 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.badges h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.badges-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

.badge-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.badge-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #dc2626, #000000);
}

.badge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
    border-color: var(--accent-primary);
    cursor: pointer;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.badge-card h3 {
    color: var(--accent-primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.badge-card p {
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.badge-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #dc2626, #000000);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #dc2626, #000000);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    align-items: center;
}

.contact-item {
    font-size: 1.2rem;
    text-align: center;
}

.contact-whatsapp {
    margin-top: 25px;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-primary);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
    opacity: 0.9;
}

.whatsapp-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}





/* Footer */
.footer {
    background: var(--accent-secondary);
    color: var(--text-light);
    padding: 40px 0 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--text-light);
    color: var(--text-light);
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .logo-img {
        height: 35px;
        width: auto;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .nav-menu {
        order: 2;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #dc2626, #000000);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        z-index: 1001;
        gap: 25px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .theme-switch {
        order: 3;
        flex-shrink: 0;
    }

    .theme-label {
        font-size: 0.85rem;
    }

    .theme-radios label.theme-radio {
        width: 36px;
        height: 20px;
    }

    .theme-radios label.theme-radio::after {
        width: 14px;
        height: 14px;
        top: 2px;
        left: 2px;
    }

    #theme-toggle:checked+label.theme-radio::after {
        transform: translateX(16px);
    }

    .mobile-menu-btn {
        order: 2;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
        margin-left: 15px;
        z-index: 1002;
        position: relative;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        padding: 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
        height: 60px;
    }

    .logo-img {
        height: 30px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 9px;
    }

    .nav-menu {
        width: 100%;
        left: -100%;
    }

    .theme-label {
        font-size: 0.8rem;
    }

    .theme-radios label.theme-radio {
        width: 32px;
        height: 18px;
    }

    .theme-radios label.theme-radio::after {
        width: 12px;
        height: 12px;
        top: 2px;
        left: 2px;
    }

    #theme-toggle:checked+label.theme-radio::after {
        transform: translateX(14px);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .about h2,
    .process h2,
    .badges h2,
    .contact h2 {
        font-size: 2rem;
    }

    .step {
        padding: 30px 20px;
    }

    .badge-card {
        padding: 30px 20px;
    }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo-img {
        height: 45px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-menu a {
        font-size: 0.95rem;
    }
}