/* ============================================
    COMBAT WRESTLING FEDERATION WEBSITE
   Premium Modern Design System
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f3a;
    --card-dark: rgba(30, 40, 75, 0.6);
    --primary-red: #e53935;
    --bright-red: #ff5252;
    --accent-red: #ff1744;
    --text-light: #e0e0e0;
    --text-muted: #b0bec5;
    --border-color: rgba(229, 57, 53, 0.3);
    --border-hover: rgba(229, 57, 53, 0.8);
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Bebas Neue', 'Orbitron', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--primary-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(229, 57, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 57, 53, 0.03) 0%, transparent 50%);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

/* Headings and display text use the display font for consistent look */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure navigation and UI use the sans font */
.nav-links, .nav-links a, .hero-tagline, .hero-subtitle, .hero-button, .card p {
    font-family: var(--font-sans);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(229, 57, 53, 0.02) 50%, 
            transparent 100%);
    pointer-events: none;
    z-index: 1;
    animation: shimmerBg 8s ease-in-out infinite;
}

@keyframes shimmerBg {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

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

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #1a1f3a, #0a0e27);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e53935, #ff5252);
    border-radius: 6px;
    border: 2px solid var(--primary-dark);
    box-shadow: 0 0 10px rgba(229, 57, 53, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff5252, #ff7070);
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.6);
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.98), rgba(10, 14, 39, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(229, 57, 53, 0.3);
    border-image: linear-gradient(90deg, transparent, #e53935, transparent) 1;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.1);
    animation: navSlideDown 0.6s ease-out;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    flex: 0 0 auto;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.logo-container:hover {
    transform: scale(1.1) drop-shadow(0 0 20px rgba(229, 57, 53, 0.6));
}

.logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(229, 57, 53, 0.5));
    transition: all 0.3s ease;
}

.hero-render {
    position: absolute;
    max-width: 120%;
    width: auto;
    height: auto;
    transform-origin: center;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.6s ease;
    mix-blend-mode: normal;
    opacity: 0.95;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -10%);
    z-index: -2; /* sit behind hero content */
}
.hero-render-top {
    max-width: 120%;
    transform: translate(-50%, -10%) scale(1);
    animation: floatSlow 9s ease-in-out infinite;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: rgba(229,57,53,0.95);
    color: white;
    border-radius: 6px;
    z-index: 2000;
}

/* Mobile navigation toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.06);
    color: var(--text-light);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}
.nav-toggle:focus { outline: 3px solid rgba(255,82,82,0.3); }

@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
    .nav-links {
        position: absolute;
        top: 72px;
        right: 1rem;
        background: linear-gradient(180deg, rgba(10,14,39,0.98), rgba(10,14,39,0.95));
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 12px 40px rgba(10,14,39,0.6);
        display: none;
    }
    .nav-links.open { display: flex; }
}

.nav-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.18s ease;
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    font-family: 'Inter', sans-serif;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Hide decorative underline/overlay so nav looks like pill buttons */
.nav-links a::before,
.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(229, 57, 53, 0.12);
}

.nav-links a.active {
    background: linear-gradient(135deg, rgba(229,57,53,0.12), rgba(255,82,82,0.06));
    color: var(--bright-red);
    border-color: rgba(229,57,53,0.2);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    margin-bottom: 5rem;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.82) 0%, rgba(10, 14, 39, 0.6) 45%, rgba(229, 57, 53, 0.35) 100%);
    mix-blend-mode: hard-light;
    z-index: -3; /* place overlay behind the render */
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 14rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-family: 'Bebas Neue', cursive;
    text-shadow: 0 6px 30px rgba(0,0,0,0.6), 0 0 40px rgba(229,57,53,0.25);
    margin-bottom: 1.5rem;
    animation: titleGlowPremium 4s ease-in-out infinite;
    position: relative;
    z-index: 12; /* ensure the title sits above the render */
}

.hero-content { z-index: 13; position: relative; }
.hero-actions { z-index: 14; position: relative; }
.hero-button { z-index: 15; }

@media (max-width: 1024px) {
    .hero-render, .hero-render-top { max-width: 140%; transform: translate(-50%, -5%) scale(1.05); }
}

@media (max-width: 768px) {
    .hero-render, .hero-render-top { display: none; }
}


.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-button.primary {
    background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
    color: #ffffff;
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.4);
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.hero-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 44px rgba(229, 57, 53, 0.45);
}

.hero-button.secondary:hover {
    box-shadow: 0 16px 44px rgba(10, 14, 39, 0.45);
}

.hero-button:hover::after {
    opacity: 1;
}

@media (max-width: 1024px) {
    .hero {
        min-height: 60vh;
        padding: 5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3.5rem 1rem;
    }
    .hero-button {
        min-width: 160px;
    }
}

.render-highlight {
    padding: 4rem 2rem 6rem;
}

.render-panel {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.render-visual {
    position: relative;
    padding-top: 65%;
    border-radius: 28px;
    overflow: hidden;
    background-image: linear-gradient(140deg, rgba(10, 14, 39, 0.4) 10%, rgba(229, 57, 53, 0.3) 60%, rgba(10, 14, 39, 0.65) 100%), url('https://i.imgur.com/HUoR3gy.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.render-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.25), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.8;
}

.render-content {
    background: rgba(10, 14, 39, 0.65);
    padding: 2.8rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.render-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.render-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.render-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--bright-red);
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.render-link::after {
    content: '➜';
    font-size: 1.1rem;
    transform: translateY(-1px);
}

.render-link:hover {
    gap: 1.25rem;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .render-panel {
        grid-template-columns: 1fr;
    }
    .render-visual {
        order: -1;
        padding-top: 56%;
    }
}

@media (max-width: 640px) {
    .render-highlight {
        padding: 3rem 1.5rem 4rem;
    }
    .render-content {
        padding: 2.2rem;
    }
    .hero-content {
        padding: 2.2rem;
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
    animation: heroFadeIn 1.2s ease-out;
    position: relative;
    padding: 3rem 4rem;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    max-width: 720px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

.hero-title {
    font-size: clamp(6rem, 10vw, 10rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: clamp(6px, 1vw, 12px);
    font-family: 'Bebas Neue', cursive;
    text-shadow: 
        0 0 20px rgba(229, 57, 53, 0.8),
        0 0 40px rgba(229, 57, 53, 0.5),
        0 0 80px rgba(229, 57, 53, 0.3),
        0 0 120px rgba(229, 57, 53, 0.1);
    margin-bottom: 1.5rem;
    animation: titleGlowPremium 4s ease-in-out infinite, titleBounce 3s ease-in-out infinite;
    position: relative;
}

.hero-title::before {
    content: 'CWF';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bright-red);
    opacity: 0;
    animation: titleShine 3s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 82, 82, 0.8);
}

@keyframes titleGlowPremium {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(229, 57, 53, 0.8),
            0 0 40px rgba(229, 57, 53, 0.5),
            0 0 80px rgba(229, 57, 53, 0.3),
            0 0 120px rgba(229, 57, 53, 0.1);
        filter: brightness(1);
    }
    50% {
        text-shadow: 
            0 0 40px rgba(229, 57, 53, 1),
            0 0 80px rgba(229, 57, 53, 0.7),
            0 0 120px rgba(229, 57, 53, 0.5),
            0 0 160px rgba(229, 57, 53, 0.2);
        filter: brightness(1.1);
    }
}

@keyframes titleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes titleShine {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

.hero-subtitle {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--bright-red);
    font-weight: 700;
    letter-spacing: clamp(3px, 0.6vw, 5px);
    margin-bottom: 1.5rem;
    font-family: 'Bebas Neue', cursive;
    animation: fadeInUp 1.5s ease-out 0.3s both;
    text-shadow: 0 0 20px rgba(255, 82, 82, 0.4);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: clamp(2px, 0.5vw, 4px);
    animation: fadeInUp 1.5s ease-out 0.6s both;
    text-transform: uppercase;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.hero-tagline::before,
.hero-tagline::after {
    content: '';
    display: inline-block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, rgba(229, 57, 53, 0.8), transparent);
    opacity: 0.8;
}

.hero-tagline::after {
    background: linear-gradient(90deg, transparent, rgba(229, 57, 53, 0.8));
}

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

/* ============================================
   MAIN SECTION & CARDS
   ============================================ */

.main-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2.5rem;
}

/* Premium Card Styling */
.card {
    background: linear-gradient(135deg, rgba(30, 40, 75, 0.7), rgba(20, 30, 60, 0.5));
    border: 2px solid rgba(229, 57, 53, 0.4);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(229, 57, 53, 0.15) 25%, 
        transparent 50%);
    transition: all 0.6s ease;
    transform: rotate(0deg);
}

.card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 14px;
    border: 1px solid rgba(229, 57, 53, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    transform: rotate(360deg);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: 
        0 0 30px rgba(229, 57, 53, 0.5),
        0 0 60px rgba(229, 57, 53, 0.3),
        inset 0 0 30px rgba(229, 57, 53, 0.1);
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(40, 55, 100, 0.8), rgba(30, 45, 80, 0.6));
}

.card:hover::after {
    opacity: 1;
}

.card-inner {
    position: relative;
    z-index: 2;
}

.card h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-family: 'Bebas Neue', cursive;
    transition: all 0.3s ease;
    position: relative;
}

.card h2::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--bright-red));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.card:hover h2::before {
    width: 100%;
}

.card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.card-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-family: 'Bebas Neue', cursive;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    z-index: 3;
    box-shadow: 
        0 6px 20px rgba(229, 57, 53, 0.4),
        inset 0 -4px 0 rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    overflow: hidden;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.card-link:hover {
    box-shadow: 
        0 10px 40px rgba(229, 57, 53, 0.7),
        0 0 60px rgba(229, 57, 53, 0.4),
        inset 0 -4px 0 rgba(0, 0, 0, 0.3);
    transform: scale(1.08) translateY(-3px);
    background: linear-gradient(135deg, var(--bright-red), #ff7070);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-link:hover::before {
    left: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.98), rgba(10, 14, 39, 0.95));
    border-top: 2px solid rgba(229, 57, 53, 0.3);
    border-image: linear-gradient(90deg, transparent, #e53935, transparent) 1;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: 5rem;
    font-size: 0.95rem;
    letter-spacing: 2px;
    box-shadow: 0 -8px 32px rgba(229, 57, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(229, 57, 53, 0.1), transparent 70%);
    pointer-events: none;
}

.footer p {
    text-shadow: 0 0 10px rgba(229, 57, 53, 0.2);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

@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);
    }
}

.card {
    animation: slideInUp 0.8s ease-out backwards;
}

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

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .hero-title {
        font-size: 6rem;
        letter-spacing: 8px;
    }

    .card {
        min-height: 320px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .logo {
        height: 45px;
    }

    .hero {
        height: 60vh;
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 6px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .hero-tagline::before,
    .hero-tagline::after {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.8rem;
        min-height: 280px;
    }

    .card h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .card-link {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .main-section {
        padding: 1.5rem 1rem 3rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .footer {
        padding: 2rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.3rem;
    }

    .nav-links a {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
        padding: 0.3rem 0.5rem;
    }

    .logo {
        height: 40px;
    }

    .logo-container {
        flex-shrink: 0;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .hero {
        height: 50vh;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hero-title::before {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .hero-tagline::before,
    .hero-tagline::after {
        content: '';
        margin: 0;
    }

    .cards-container {
        gap: 1.2rem;
    }

    .card {
        padding: 1.5rem;
        min-height: 260px;
    }

    .card h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .card p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }

    .card-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .main-section {
        padding: 1rem 1rem 2rem;
    }

    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.8rem;
        margin-top: 3rem;
    }
}