/* ============================================
   CORPORATE PROFESSIONAL DESIGN SYSTEM
   ============================================ */

:root {
    --primary: #050505;
    --primary-light: #171717;
    --accent: #f3c623;
    --accent-light: #ffd95a;
    --text-dark: #f5f5f5;
    --text-light: #b5b5b5;
    --text-white: #ffffff;
    --bg-light: #111111;
    --bg-white: #050505;
    --border: #2a2a2a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 28px 60px rgba(0, 0, 0, 0.45);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

body[data-theme="light"] {
    --primary: #1a3a52;
    --primary-light: #2c5aa0;
    --accent: #d4af37;
    --accent-light: #e8c547;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: #050505;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #050505;
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 4px 0;
}

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

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.logo-image {
    display: block;
    width: auto;
    height: 92px;
    max-width: min(100%, 420px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
    margin-left: 18px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--primary);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid var(--border);
}

.nav-cta:hover {
    background: var(--primary-light);
}

.theme-toggle {
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-light);
    list-style: none;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 320px;
    max-width: 360px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    color: var(--accent);
    background: var(--bg-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    margin-left: 12px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    animation: slideInDown 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease 0.4s both;
}

.hero-banner {
    background: var(--bg-white);
    padding: 28px 0 12px;
}

.hero-banner .container {
    max-width: 1600px;
    padding: 0 20px;
}

.hero-banner-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.floating-social-strip {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1100;
}

.floating-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-social-link:hover {
    transform: translateX(-4px);
}

.social-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-call {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.social-email {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.social-contact {
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
}

.whatsapp-widget {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1150;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.whatsapp-chat-button {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.whatsapp-chat-icon {
    color: #ffffff;
    font-size: 1.5rem;
}

.whatsapp-popout {
    position: absolute;
    right: 76px;
    bottom: 8px;
    width: min(300px, calc(100vw - 110px));
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-widget.open .whatsapp-popout {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.whatsapp-greeting {
    margin: 0 0 6px;
    font: 700 1rem 'Roboto', sans-serif;
    color: var(--text-dark);
}

.whatsapp-message {
    margin: 0 0 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.whatsapp-popout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    font: 700 0.9rem 'Roboto', sans-serif;
}

.whatsapp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
}

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

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

/* ============ SCHEDULE TICKER ============ */
.schedule-ticker {
    background: linear-gradient(135deg, #146c34, #1e9e50);
    overflow: hidden;
    padding: 14px 0;
}

.schedule-ticker-track {
    display: flex;
    width: max-content;
    animation: schedule-ticker-scroll 22s linear infinite;
}

.schedule-ticker:hover .schedule-ticker-track,
.schedule-ticker:focus-within .schedule-ticker-track {
    animation-play-state: paused;
}

.schedule-ticker-group {
    display: flex;
    flex-shrink: 0;
}

.schedule-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 0 40px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@keyframes schedule-ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .schedule-ticker-track {
        animation: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ============ METRICS SECTION ============ */
.metrics-section {
    background: var(--bg-light);
    padding: 60px 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.metric-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.metric-value {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.metric-label {
    color: var(--text-light);
    margin: 0;
    font-weight: 600;
}

/* ============ SECTIONS ============ */
section {
    padding: 80px 20px;
}

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

.section-header h2 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

/* ============ WELCOME SECTION ============ */
.welcome-section {
    background: var(--bg-light);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.welcome-content p:last-child {
    margin-bottom: 0;
}

/* ============ SERVICES OVERVIEW ============ */
.services-overview {
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    transform: translateY(-8px);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 18px;
    border: 1px solid rgba(243, 198, 35, 0.38);
    background: rgba(243, 198, 35, 0.09);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 30px;
    line-height: 1;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-link {
    color: var(--accent);
    font-weight: 700;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.service-link:hover {
    border-bottom-color: var(--accent);
}

/* ============ WHY SECTION ============ */
.why-section {
    background: var(--bg-light);
}

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

.why-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(243, 198, 35, 0.11);
    color: var(--accent);
    border: 1px solid rgba(243, 198, 35, 0.34);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 20px;
    line-height: 1;
}

.why-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.why-card p {
    margin: 0;
}

/* ============ CTA BANNER ============ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* ============ FOOTER ============ */
.footer {
    background: #000000;
    color: white;
    padding: 60px 20px 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: block;
    height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.8;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============ SINGLE PAGE STYLES ============ */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.content-section {
    padding: 60px 20px;
}

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

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.course-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.course-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.course-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.course-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.team-member-card {
    text-align: center;
}

.team-member-card p,
.team-member-card ul {
    text-align: left;
}

.team-photo-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px dashed var(--border);
    background: rgba(243, 198, 35, 0.06);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.meta-tag {
    background: var(--bg-light);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid var(--border);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #0c0c0c;
    color: var(--text-dark);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(243, 198, 35, 0.15);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b8b8b;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.sidebar-box h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-box ul li:last-child {
    border-bottom: none;
}

.sidebar-box a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    font-weight: 600;
}

.sidebar-box a:hover {
    color: var(--accent);
}

/* ============ DYNAMIC DJANGO PAGES ============ */
.site-messages {
    padding: 18px 0 0;
}

.site-message {
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
}

.form-error {
    color: #fca5a5;
    font-size: 0.9rem;
    margin-top: 6px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

body[data-theme="light"] .form-group input,
body[data-theme="light"] .form-group textarea,
body[data-theme="light"] .form-group select {
    background: #ffffff;
    color: var(--text-dark);
}

.gallery-page {
    padding-top: 20px;
}

.gallery-block {
    margin-bottom: 70px;
}

.gallery-header {
    margin-bottom: 24px;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    box-shadow: var(--shadow-lg);
}

.gallery-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    position: relative;
    margin: 0;
    min-height: 360px;
    aspect-ratio: 16 / 9;
    background: #0c0c0c;
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 22px 54px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.74));
    color: #ffffff;
    font-weight: 700;
}

.gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(5, 5, 5, 0.72);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-control:hover {
    background: var(--accent);
    color: #050505;
}

.gallery-prev {
    left: 18px;
}

.gallery-next {
    right: 18px;
}

.gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.gallery-dot.active {
    background: var(--accent);
}

.empty-state {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
    box-shadow: var(--shadow-md);
}

.empty-state h2 {
    margin-bottom: 12px;
}

.schedule-grid {
    display: grid;
    gap: 24px;
}

.schedule-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.schedule-date {
    border: 1px solid var(--border);
    border-radius: 8px;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0c0c0c;
}

.schedule-date span {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}

.schedule-date strong {
    color: var(--text-dark);
    font-size: 2.2rem;
    line-height: 1;
}

.schedule-body h2 {
    font-size: 1.45rem;
    margin: 10px 0;
}

.schedule-course {
    color: var(--accent);
    font-weight: 700;
}

.schedule-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(243, 198, 35, 0.16);
    border: 1px solid rgba(243, 198, 35, 0.42);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.status-pill.muted {
    color: var(--text-light);
    border-color: var(--border);
    background: transparent;
}

.verification-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 34px;
    align-items: start;
}

.verification-form {
    margin-top: 0;
}

.verification-result {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.result-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
}

.verified .result-icon {
    background: rgba(34, 197, 94, 0.16);
    color: #22c55e;
}

.not-verified .result-icon {
    background: rgba(239, 68, 68, 0.16);
    color: #ef4444;
}

.result-label {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 24px 0;
}

.certificate-details div {
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.certificate-details dt {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.certificate-details dd {
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

body[data-theme="light"] .schedule-date {
    background: #ffffff;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .hero-banner {
        padding: 20px 0 8px;
    }

    .menu-toggle {
        display: flex;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .logo-image {
        height: 92px;
        max-width: min(100%, 360px);
    }

    .nav-menu {
        position: absolute;
        top: 96px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        max-height: 760px;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .floating-social-strip {
        right: 12px;
        gap: 8px;
    }

    .floating-social-link {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .whatsapp-widget {
        right: 12px;
        bottom: 16px;
    }

    .whatsapp-popout {
        right: 0;
        bottom: 76px;
        width: min(280px, calc(100vw - 24px));
    }

    .hero-cta .btn {
        width: 100%;
    }

    section {
        padding: 50px 20px;
    }

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

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .course-list {
        grid-template-columns: 1fr;
    }

    .gallery-slide {
        min-height: 250px;
    }

    .schedule-card,
    .verification-layout,
    .verification-result,
    .certificate-details {
        grid-template-columns: 1fr;
    }

    .schedule-date {
        width: 96px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-cta .btn {
        padding: 12px 20px;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 20px;
    }

    .floating-social-strip {
        top: auto;
        bottom: 108px;
        transform: none;
    }

    .floating-social-link {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    .hero-banner {
        padding: 16px 0 6px;
    }

    .hero-banner .container {
        padding: 0 12px;
    }

    .hero-banner-image {
        border-radius: 12px;
    }

    .logo-image {
        height: 86px;
        max-width: min(100%, 300px);
    }

    .nav-menu {
        top: 90px;
    }

    section {
        padding: 40px 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .empty-state {
        padding: 30px 20px;
    }

    .gallery-control {
        width: 38px;
        height: 38px;
    }

    .metric-card {
        padding: 25px 20px;
    }
}
