/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #f25b18;
    --primary-dark: #d0460c;
    --primary-light: #fef0e8;
    --secondary: #1a2332;
    --accent: #1a2332;
    --dark: #1a2332;
    --dark-muted: #2d3748;
    --light: #f8fafc;
    --white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 8px 24px rgba(0, 82, 204, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-yellow { color: var(--accent); }
.text-white { color: var(--white); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--dark);
    background-color: var(--dark);
    color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-glow {
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    box-shadow: 0 12px 28px rgba(0, 82, 204, 0.4);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}

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

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 100px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.hero canvas {
    opacity: 0.25 !important;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
    animation: float 8s ease-in-out infinite;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242,91,24,0.08) 0%, rgba(255,255,255,0) 70%);
    top: -150px;
    left: -200px;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26,35,50,0.06) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px;
    right: -150px;
    animation-delay: -4s;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(0, 179, 107, 0.1);
    color: var(--secondary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
}



.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-images {
    position: relative;
    height: 500px;
}

.img-wrapper {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.instructor-img {
    width: 320px;
    height: 420px;
    right: 0;
    top: 0;
    z-index: 2;
    border: 8px solid var(--white);
}

.instructor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.students-img {
    width: 280px;
    height: 200px;
    left: 0;
    bottom: 20px;
    z-index: 3;
    border: 6px solid var(--white);
}

.students-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    top: 30px;
    left: -60px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.floating-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark);
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* ===== WHY US SECTION ===== */
.why-us {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-card.highlight-card {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.feature-card.highlight-card h3,
.feature-card.highlight-card .icon-box i {
    color: var(--white);
}

.feature-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card.highlight-card .icon-box {
    background: rgba(255,255,255,0.2);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===== PROGRAM SECTION ===== */
.program-section {
    padding: 100px 0;
}

.program-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.list-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-card {
    background: var(--light);
    padding: 24px 30px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.list-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary);
}

.list-card .step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--border);
    transition: var(--transition);
}

.list-card:hover .step-num {
    color: var(--primary);
}

.list-card p {
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

.list-cards.alt-style .list-card {
    background: var(--primary-light);
}

.list-cards.alt-style .list-card:hover {
    background: var(--white);
}

.list-cards.alt-style i {
    font-size: 1.8rem;
}

/* ===== FORMAT SECTION ===== */
.format-section {
    padding: 80px 0;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.format-card {
    background: var(--dark-muted);
    padding: 40px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.format-card:hover {
    transform: translateY(-5px);
    background: var(--primary);
    border-color: var(--primary);
}

.format-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.format-card:hover i {
    color: var(--dark);
}

.format-card h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.format-card.wide-card {
    grid-column: span 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

.format-card.wide-card i {
    margin-bottom: 0;
}

/* ===== INSTRUCTOR SECTION ===== */
.instructor-section {
    padding: 100px 0;
}

.instructor-box {
    background: var(--light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 60px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.instructor-name {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.instructor-title {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.instructor-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.instructor-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.instructor-perks i {
    color: var(--secondary);
}

.instructor-photo {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.instructor-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
}

.decor-box {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: var(--radius-md);
    z-index: 1;
}

/* ===== RESULTS SECTION ===== */
.results-section {
    padding: 60px 0;
    background: var(--primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 100px 0;
}

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

.review-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.video-review .video-placeholder {
    position: relative;
    height: 250px;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(0, 82, 204, 0.3);
    transition: var(--transition);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.review-info {
    padding: 30px;
}

.review-info h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.text-review {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-main);
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-profile h4 {
    margin-bottom: 4px;
}

.reviewer-profile span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    padding: 24px 30px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-header i {
    color: var(--primary);
    transition: var(--transition);
}

.accordion-item.active .accordion-header {
    background: var(--primary-light);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: var(--white);
}

.accordion-item.active .accordion-body {
    padding: 24px 30px;
    border-top: 1px solid var(--border);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.form-container {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-subtitle {
    margin-bottom: 30px;
    color: var(--text-muted);
}

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

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

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    background: #d1fae5;
    color: #065f46;
    border-radius: var(--radius-sm);
    text-align: center;
}

.contact-list {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.contact-item p, .contact-item a {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.facebook { background: #1877F2; }
.instagram { background: #E4405F; }
.whatsapp { background: #25D366; }
.telegram { background: #0088cc; }

.address-link {
    color: var(--primary) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
}

.address-link:hover {
    color: #d4490d !important;
}

/* ===== CALL REQUEST BUTTONS & MODAL ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-callback {
    background: rgba(242, 91, 24, 0.1);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
}

.btn-callback:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.floating-callback-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
    background: linear-gradient(135deg, var(--primary), #ff7e47);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 15px 24px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(242, 91, 24, 0.4);
    transition: var(--transition);
}

.floating-callback-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 30px rgba(242, 91, 24, 0.55);
}

.floating-callback-btn i {
    font-size: 1.15rem;
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.custom-modal-overlay.active {
    display: flex;
}

.custom-modal {
    background: var(--white);
    width: 100%;
    max-width: 460px;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    animation: modalSlideUp 0.25s ease-out;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.custom-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.custom-modal-close:hover {
    color: var(--dark);
}

.custom-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 14px;
}

.custom-modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.custom-modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== GALLERY SECTION (ՏԵՍԱԴԱՐԱՆ) ===== */
.gallery-section {
    padding: 100px 0;
}

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

.gallery-subtitle {
    color: var(--text-muted);
    max-width: 650px;
    margin: -20px auto 28px;
}

.gallery-tabs {
    display: inline-flex;
    background: var(--white);
    padding: 6px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    gap: 6px;
}

.gallery-tab {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-tab:hover {
    color: var(--dark);
}

.gallery-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(242, 91, 24, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.gallery-media {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.gallery-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-media img {
    transform: scale(1.07);
}

.gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
}

.badge-video {
    background: rgba(242, 91, 24, 0.92);
}

.badge-photo {
    background: rgba(15, 23, 42, 0.8);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.25) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: var(--white);
    transition: var(--transition);
}

.gallery-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(242, 91, 24, 0.45);
    transition: var(--transition);
}

.gallery-item:hover .gallery-action-icon {
    transform: scale(1.12);
}

.gallery-overlay h4 {
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--white);
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    text-align: center;
}

.lightbox-close {
    top: -45px;
    right: 0;
    color: var(--white);
    font-size: 2.5rem;
}

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

#lightboxMediaContainer img,
#lightboxMediaContainer video {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 16px;
    font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom:has(.footer-links:not([style*="display: none"]):not(:empty)) {
    justify-content: space-between;
    text-align: left;
}

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

.footer-links a {
    color: var(--text-muted);
    margin-left: 20px;
    transition: var(--transition);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-container, .program-container, .instructor-box, .contact-container {
        grid-template-columns: 1fr;
    }
    .instructor-photo { order: -1; }
    .format-card.wide-card { grid-column: span 2; }
    .format-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    .nav.active { left: 0; }
    .nav-list {
        flex-direction: column;
        align-items: center;
        font-size: 1.5rem;
    }
    .mobile-toggle { display: block; }
    .header-actions .btn { display: none; }
    
    .hero { padding: 120px 0 60px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-images { height: 400px; margin-top: 40px; }
    .instructor-img { width: 80%; height: 350px; left: 10%; }
    .students-img { display: none; }
    
    .reviews-grid, .footer-bottom, .gallery-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .format-grid { grid-template-columns: 1fr; }
    .format-card.wide-card { grid-column: span 1; flex-direction: column; }
    
    .instructor-box, .form-container { padding: 30px; }
    .section-title { font-size: 2rem; }
    .floating-callback-btn span { display: none; }
    .floating-callback-btn { padding: 16px; border-radius: 50%; }
}

/* ===== CMS (admin-managed content) ===== */
html.cms-loading body { opacity: 0; }
body { transition: opacity .25s ease; }

.instructors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
.instructors-grid .instructor-box {
    margin: 0;
    flex: 1 1 320px;
    max-width: 500px;
    padding: 40px;
}
.instructor-role {
    font-weight: 600;
    color: var(--text-muted);
    margin-top: -12px;
}
.instructor-bio {
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-line;
}

.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.lightbox-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
}
.lightbox-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-review .video-placeholder { cursor: pointer; }
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}
