@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #d4af37; /* Gold */
    --accent-hover: #f5cf53;
    --bg-dark: #070B19;
    --neon-blue: rgba(43, 108, 255, 0.4);
    --neon-gold: rgba(212, 175, 55, 0.2);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ----------------------------------
   Animated Mesh Gradient Background 
   ---------------------------------- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.bg-mesh::before, .bg-mesh::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: drift 20s infinite alternate linear;
}

.bg-mesh::before {
    background: var(--neon-blue);
    top: -200px;
    left: -200px;
}

.bg-mesh::after {
    background: var(--neon-gold);
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.2); }
}

/* ----------------------------------
   Typography & Utilities 
   ---------------------------------- */
h1, h2, h3, h4, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 30px; }
h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 600; }

p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 20px; font-weight: 300;}

a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;}
.section { padding: 120px 0; }
.text-center { text-align: center; }

/* ----------------------------------
   Glassmorphism Utilities 
   ---------------------------------- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #aa8c2c 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* ----------------------------------
   Header & Navigation
   ---------------------------------- */
/* ----------------------------------
   Header & Navigation (Floating Island)
   ---------------------------------- */
.island-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
}

.island-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    background: rgba(7, 11, 25, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--text-primary);
}

.main-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.sub-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(255,255,255,0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-icon {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.action-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.rounded-pill {
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
}
    text-decoration: none;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.main-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.sub-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.hero-shield {
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.2));
    animation: float 6s ease-in-out infinite;
}

.radar-spin-slow {
    transform-origin: 50% 50%;
    animation: spin-slow 20s linear infinite;
}

.radar-spin-fast {
    transform-origin: 50% 50%;
    animation: spin-slow 10s linear infinite reverse;
}

.shield-core-pulse {
    animation: pulse-glow 2s infinite alternate;
}

/* ----------------------------------
   Preloader & Logo Animations
   ---------------------------------- */
.brand-logo-svg {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.gear-rotate {
    transform-origin: 50% 50%;
    animation: spin-slow 15s linear infinite;
}

@keyframes spin-slow {
    100% { transform: rotate(360deg); }
}

.triangle-pulse {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 2px rgba(255,255,255,0.2)); stroke: rgba(255,255,255,0.5); }
    100% { filter: drop-shadow(0 0 12px rgba(255,255,255,1)); stroke: #ffffff; }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    backdrop-filter: blur(10px);
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-text {
    font-family: 'Outfit', sans-serif;
    color: var(--accent);
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: text-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes text-pulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; text-shadow: 0 0 15px rgba(212, 175, 55, 0.6); }
}

/* ----------------------------------
   About Grid & Image
   ---------------------------------- */
.about-grid {
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tags-wrapper {
    display: inline-flex;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.profile-tag {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.about-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: contrast(1.1) saturate(1.1);
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,11,25,0.95) 0%, transparent 60%);
}

.about-img-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.about-img-caption h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.about-img-caption p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
}

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

/* ----------------------------------
   Hero Section 
   ---------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: -50px;
    animation: fadeUp 1s ease forwards;
}

.hero-text-side {
    flex: 1.2;
    text-align: left;
}

.hero-text-side h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual-side {
    flex: 0.8;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(255,255,255,0.02) 70%);
}

.hero-abstract-logo {
    width: 60%;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
    animation: float 6s ease-in-out infinite;
}

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

.floating-badge {
    position: absolute;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}

.badge-1 { top: 5%; left: -20px; animation-delay: 0s; color: var(--accent); }
.badge-2 { bottom: 15%; right: -30px; animation-delay: 1s; color: #2ecc71; }
.badge-3 { bottom: -15px; left: 15%; animation-delay: 2s; color: #e74c3c; }

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

/* ----------------------------------
   Live Search Bar & Catalog Header
   ---------------------------------- */
.catalog-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.search-results-info {
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent);
    margin-top: 10px;
    display: none;
}

/* ----------------------------------
   Catalog Tabs (Pills style)
   ---------------------------------- */
.catalog-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tab-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 600;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

.pane-title {
    display: none;
    font-family: 'Outfit', sans-serif;
    color: var(--accent);
    margin-bottom: 25px;
    margin-top: 50px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.pane-title i {
    margin-right: 10px;
    opacity: 0.8;
}

.catalog-container.show-all .pane-title {
    display: block;
}

.catalog-container.show-all .tab-pane:first-child .pane-title {
    margin-top: 10px;
}

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

/* ----------------------------------
   Cards Grid (previously Accordion)
   ---------------------------------- */
.accordion {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.accordion-item {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: default;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: space-between;
}

.duration-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.accordion-icon {
    display: none;
}

.accordion-body {
    max-height: none !important;
    overflow: visible;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.accordion-content {
    padding: 20px;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.accordion-content h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.accordion-content ul {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.accordion-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.accordion-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    top: 4px;
}

.btn-course-wa {
    width: 100%;
    margin-top: auto;
}

/* ----------------------------------
   Contact & Footer Grids
   ---------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-radius: 24px;
    padding: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    margin-top: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-list i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-list span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-list strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.action-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(212,175,55,0.05) 100%);
    border: 1px solid rgba(212,175,55,0.2);
}

.action-card h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.action-card p {
    margin-bottom: 30px;
}

.btn-large {
    font-size: 1.1rem;
    padding: 15px 35px;
    width: 100%;
}

footer {
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
    background: rgba(0,0,0,0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--accent);
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col li {
    margin-bottom: 10px;
}

.footer-links-col a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.skodev-credit a {
    color: var(--accent);
    font-weight: 600;
}

/* ----------------------------------
   Floating WhatsApp & Share
   ---------------------------------- */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid #25D366;
    backdrop-filter: blur(10px);
    color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.float-whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.float-share {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent);
    backdrop-filter: blur(10px);
    color: var(--accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    cursor: pointer;
}

.float-share:hover {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

/* ----------------------------------
   Responsive Design
   ---------------------------------- */
@media (max-width: 992px) {
    .catalog-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .catalog-tabs::-webkit-scrollbar { height: 4px; }
    .catalog-tabs::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
    .catalog-tabs::-webkit-scrollbar-thumb { background: var(--glass-highlight); border-radius: 10px; }
    .tab-btn { white-space: nowrap; }
}

@media (max-width: 768px) {
    .island-header { width: 95%; top: 10px; }
    .island-nav { padding: 12px 20px; }
    .nav-actions { display: none; } /* Hide extra icons to fit the hamburger menu cleanly */
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(7, 11, 25, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
        z-index: -1;
    }
    
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a { font-size: 1.5rem; }
    
    .hero-split {
        flex-direction: column;
        text-align: center;
        margin-top: 0;
    }
    .hero-text-side {
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 30px auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual-side {
        margin-top: 40px;
    }
    
    .accordion-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .accordion-icon { position: absolute; right: 25px; top: 25px; }
    .course-meta { width: 100%; justify-content: space-between; margin-top: 5px; }
    
    .about-grid { grid-template-columns: 1fr; padding: 40px 20px; }
    .contact-grid { grid-template-columns: 1fr; padding: 40px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ----------------------------------
   Modal
   ---------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* ----------------------------------
   Catalog Header Control Panel
   ---------------------------------- */
.catalog-control-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 11, 25, 0.5);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    gap: 20px;
}

.control-panel-text {
    flex: 1 1 400px;
}

.control-panel-text h2 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.control-panel-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.control-panel-search {
    flex: 1 1 350px;
    max-width: 500px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 18px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.clear-search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    transition: color 0.3s;
}

.clear-search:hover {
    color: #ff4444;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-content h3 {
    margin-bottom: 10px;
    color: var(--accent);
}

.modal-content p {
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.5);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

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

/* ----------------------------------
   PDF Export Mode
   ---------------------------------- */
.pdf-mode {
    background: #ffffff !important;
    color: #000000 !important;
}

.pdf-mode * {
    color: #000 !important;
    text-shadow: none !important;
}

.pdf-mode .glass {
    background: transparent !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.pdf-mode .bg-mesh,
.pdf-mode header,
.pdf-mode footer,
.pdf-mode .float-whatsapp,
.pdf-mode .search-container,
.pdf-mode .catalog-tabs,
.pdf-mode .catalog-actions,
.pdf-mode .btn-course-wa,
.pdf-mode .hero,
.pdf-mode #sobre-mi,
.pdf-mode #contacto,
.pdf-mode .text-center {
    display: none !important;
}

/* Solo queremos imprimir el catálogo de cursos */
.pdf-mode #catalogo {
    padding: 20px 0 !important;
}

.pdf-mode .accordion {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

.pdf-mode .accordion-item {
    border: 1px solid #aaa !important;
    page-break-inside: avoid;
    break-inside: avoid;
    background: #fafafa !important;
    border-radius: 8px !important;
}

.pdf-mode .accordion-header {
    background: #eee !important;
    padding: 15px !important;
}

.pdf-mode .tab-pane {
    display: block !important;
    page-break-inside: auto;
    margin-bottom: 40px;
}

.pdf-mode .tab-pane::before {
    content: attr(id);
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: capitalize;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

/* Watermark */
.pdf-watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 6rem;
    font-weight: 800;
    color: rgba(0,0,0,0.05) !important;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    width: 100%;
    text-align: center;
}
