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

:root {
    --bg-main: #070709;
    --bg-secondary: #0f0f14;
    --bg-card: rgba(20, 20, 28, 0.65);
    --bg-glass: rgba(15, 15, 20, 0.85);
    
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #997a15;
    --gold-gradient: linear-gradient(135deg, #ffe89e 0%, #d4af37 50%, #aa820a 100%);
    --gold-glow: 0 0 30px rgba(212, 175, 55, 0.25);
    --gold-glow-strong: 0 0 40px rgba(212, 175, 55, 0.5);
    
    --text-main: #ffffff;
    --text-muted: #9e9ea8;
    --text-dark: #070709;
    
    --border-color: rgba(212, 175, 55, 0.18);
    --border-hover: rgba(212, 175, 55, 0.5);
    
    --font-heading: 'Outfit', 'Cinzel', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-accent: 'Cinzel', serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    selection-background-color: var(--gold-primary);
    selection-color: var(--text-dark);
}

::selection {
    background: var(--gold-primary);
    color: var(--bg-main);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

/* Loading Animation */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-main);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 90px;
    height: auto;
    margin: 0 auto 1.5rem auto;
    animation: pulseGlow 2s infinite ease-in-out;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

.loader-text {
    font-family: var(--font-accent);
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: var(--gold-light);
    text-transform: uppercase;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.7)); transform: scale(1.05); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 5%;
    transition: var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(7, 7, 9, 0.9) 0%, rgba(7, 7, 9, 0) 100%);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo img {
    height: 48px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

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

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

.btn-nav-apply {
    background: var(--gold-gradient);
    color: var(--text-dark);
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--gold-glow);
    transition: var(--transition-smooth);
}

.btn-nav-apply:hover {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow-strong);
    color: var(--text-dark);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

.hamburger.open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-dark);
    box-shadow: var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--gold-glow-strong);
}

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

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 5% 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(150, 100, 20, 0.1) 0%, transparent 50%),
                linear-gradient(180deg, #070709 0%, #0c0c12 50%, #070709 100%);
}

/* Abstract glowing decorative lines / spheres */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--gold-primary), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, var(--gold-light), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    animation: floatParticles 60s linear infinite;
}

@keyframes floatParticles {
    from { background-position: 0 0; }
    to { background-position: 500px -500px; }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero h2 {
    font-family: var(--font-accent);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections General */
.section {
    padding: 100px 5%;
    position: relative;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Glass & Modern Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(212, 175, 55, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
}

/* Home Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--gold-primary);
    font-size: 1.6rem;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.info-card .highlight-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Registration Banner Section */
.reg-banner {
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.9) 0%, rgba(35, 28, 10, 0.8) 100%);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--gold-glow);
}

.reg-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.reg-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.reg-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.reg-item-icon {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.reg-item-text strong {
    display: block;
    color: var(--text-main);
    font-size: 1.1rem;
}

.reg-item-text span {
    color: var(--text-muted);
}

/* Course Cards Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.course-thumb {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-thumb img {
    transform: scale(1.08);
}

.course-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 60%);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(7, 7, 9, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.course-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-icon-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.course-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.ratio-bar-container {
    margin-bottom: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ratio-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ratio-bar {
    height: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.ratio-fill-theory {
    height: 100%;
    background: #4a6fa5;
    width: 30%;
}

.ratio-fill-practical {
    height: 100%;
    background: var(--gold-gradient);
    width: 70%;
}

.course-actions {
    display: flex;
    gap: 1rem;
}

.course-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Modal for Course Modules & Portfolio Details */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    box-shadow: var(--gold-glow-strong);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.modal-body h4 {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.module-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.portfolio-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.portfolio-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.portfolio-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

/* Apply Page Selector Pills */
.course-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.course-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.course-pill:hover, .course-pill.selected {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
    transform: translateY(-3px);
}

.course-pill.selected {
    background: var(--gold-gradient);
    color: var(--text-dark);
}

/* Application Form */
.form-card {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
}

.form-control {
    background: rgba(10, 10, 14, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: var(--bg-secondary);
    color: var(--text-main);
}

/* Custom File Upload Input */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.file-upload-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
}

.file-name-display {
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 600;
}

/* Slideshow Gallery (Announcements) */
.slideshow-container {
    position: relative;
    width: 100%;
    height: clamp(550px, 75vh, 750px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 4rem 0;
}

.slideshow-bg {
    position: absolute;
    inset: -50px;
    background-size: cover;
    background-position: center;
    filter: blur(35px) brightness(0.3);
    transform: scale(1.15);
    z-index: 1;
    transition: background-image 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5rem;
}

@media (max-width: 768px) {
    .slide-stage {
        padding: 2rem;
    }
}

.slide-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: inherit;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.95);
    cursor: pointer;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s ease;
}

.slide-item:hover img {
    transform: scale(1.02);
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(15, 15, 20, 0.75);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.slideshow-arrow:hover {
    background: var(--gold-primary);
    color: var(--text-dark);
    box-shadow: var(--gold-glow);
    transform: translateY(-50%) scale(1.1);
}

.arrow-prev { left: 1.5rem; }
.arrow-next { right: 1.5rem; }

@media (max-width: 640px) {
    .arrow-prev { left: 0.5rem; width: 44px; height: 44px; font-size: 1.4rem; }
    .arrow-next { right: 0.5rem; width: 44px; height: 44px; font-size: 1.4rem; }
}

.slideshow-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.8rem;
    background: rgba(15, 15, 20, 0.6);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    padding: 0;
}

.slide-dot:hover, .slide-dot.active {
    background: var(--gold-primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--gold-primary);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-controls {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
    display: flex;
    gap: 0.8rem;
    background: rgba(15, 15, 20, 0.85);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.zoom-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-weight: 700;
}

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

.lightbox-img-wrapper {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.8), var(--gold-glow);
    border: 1px solid var(--border-color);
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: grab;
}

.lightbox-img-wrapper img:active {
    cursor: grabbing;
}

.lightbox-btn {
    position: absolute;
    background: rgba(20, 20, 28, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-btn:hover {
    background: var(--gold-primary);
    color: var(--text-dark);
}

.lightbox-close { top: 2rem; right: 2rem; }
.lightbox-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 2rem; top: 50%; transform: translateY(-50%); }

/* Contact Page Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--gold-glow);
    position: relative;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 5% 40px;
    position: relative;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1.2rem;
    max-width: 320px;
}

.footer-tagline {
    font-family: var(--font-accent);
    color: var(--gold-primary);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    letter-spacing: 1px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--gold-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--gold-primary);
    color: var(--text-dark);
    transform: translateY(-4px) rotate(8deg);
    box-shadow: var(--gold-glow);
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--gold-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: var(--gold-glow-strong);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .reg-banner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .hero { padding: 120px 5% 60px; }
}

@media (max-width: 768px) {
    .section { padding: 70px 5%; }
    .card { padding: 2rem; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 380px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    }
    
    .nav-links.open { right: 0; }
    .hamburger { display: block; }
    
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-contact-item, .footer-links { justify-content: center; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1.5rem; }
    .footer-brand p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
    .section { padding: 50px 5%; }
    .card { padding: 1.5rem; }
    
    .hero h1 { font-size: clamp(2.5rem, 8vw, 3.2rem); line-height: 1.1; }
    .hero h2 { font-size: clamp(1.2rem, 5vw, 1.8rem); margin-bottom: 1.5rem; }
    
    .hero-ctas { flex-direction: column; gap: 1rem; width: 100%; }
    .hero-ctas .btn { width: 100%; }
    
    .course-actions { flex-direction: column; gap: 0.8rem; }
    .course-actions .btn { width: 100%; }
    
    .contact-actions { flex-direction: column; gap: 0.8rem; }
    .contact-actions .btn { width: 100%; }
    
    .slideshow-container { height: clamp(400px, 60vh, 500px); margin: 1rem 0 2rem 0; }
    .map-container { height: 350px; }
    
    .modal-content { padding: 2rem 1.5rem; }
    .modal-close { top: 1rem; right: 1rem; width: 32px; height: 32px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .nav-logo-text { font-size: 1.1rem; }
    .nav-logo img { height: 36px; }
    .navbar { padding: 1rem 5%; }
    .navbar.scrolled { padding: 0.6rem 5%; }
    
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2.5rem; }
    
    .reg-banner { padding: 2.5rem 1.5rem; }
    .reg-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
    .reg-item-icon { font-size: 1.1rem; }
    .reg-item-text strong { font-size: 1rem; }
    
    /* Prevent minmax overflow on tiny screens */
    .info-grid, .courses-grid, .contact-grid { grid-template-columns: 1fr; }
    
    .course-icon-title { gap: 0.8rem; flex-wrap: wrap; }
    .course-title { font-size: 1.3rem; }
    .course-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .course-thumb { height: 200px; }
    
    .form-control { padding: 0.8rem 1rem; font-size: 0.95rem; }
    .btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
    
    .lightbox-controls { padding: 0.4rem 0.8rem; gap: 0.4rem; top: 1rem; }
    .zoom-btn { font-size: 0.9rem; padding: 0.3rem 0.5rem; }
    .lightbox-btn { width: 40px; height: 40px; font-size: 1.2rem; }
    .lightbox-close { top: 1rem; right: 1rem; }
}

@media (max-width: 360px) {
    .nav-logo-text { font-size: 1rem; }
    .nav-logo img { height: 32px; }
    .card { padding: 1.2rem; }
    .course-thumb { height: 180px; }
    .section-title { font-size: 1.8rem; }
    
    .slideshow-container { height: clamp(300px, 50vh, 400px); }
    .slide-stage { padding: 1rem; }
    .map-container { height: 280px; }
    
    .footer { padding: 50px 5% 30px; }
}
