/* =============================================
   VARIABLES
   ============================================= */
:root {
    --primary: #0a2540;
    --secondary: #1e3a5f;
    --accent: #d4a853;
    --accent-light: #f0d78c;
    --bg: #fafafa;
    --surface: #ffffff;
    --text: #1a1a2e;
    --text-muted: #4a4a68;
    --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 8px 30px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 16px 50px rgba(10, 37, 64, 0.15);
    --shadow-soft: 0 2px 15px rgba(10, 37, 64, 0.06);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* =============================================
   LOADING SCREEN
   ============================================= */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loading-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    animation: float 2s ease-in-out infinite;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0px 20px 0px;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: var(--surface);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--surface);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 0 50px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.header-social {
    display: flex;
    gap: 10px;
    padding: 20px 0px 0px 0px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--surface);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-social a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 168, 83, 0.3);
}

.header.scrolled .header-social a {
    color: var(--text);
    background: rgba(10, 37, 64, 0.05);
}

.header.scrolled .header-social a:hover {
    background: var(--accent);
    color: var(--surface);
}

.header.scrolled .logo {
    color: var(--primary);
}



.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    position: relative;
}

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

.header.scrolled .nav-link {
    color: var(--text);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
}

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

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

/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--surface);
    transition: 0.3s ease;
    transform-origin: center;
}

.header.scrolled .hamburger span {
    background: var(--primary);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--primary);
}

/* =============================================
   MENU OVERLAY
   ============================================= */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

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

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
}

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

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

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.hero-bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-image.active {
    opacity: 0.2;
}

.hero::before {
    z-index: 1;
    content: '';
    position: absolute;
    inset: 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.03'%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");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 20 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 168, 83, 0.2);
    border: 1px solid var(--accent);
    border-radius: 30px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--surface);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 span {
    color: var(--accent);
    display: inline-block;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-text {
    display: inline-block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 700px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-buttons {
    display: inline-block;
    gap: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    
}

.hero-visual {
    z-index: 2;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border: 3px solid rgba(212, 168, 83, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(212, 168, 83, 0.2);
    border-radius: 50%;
}

.hero-visual-icon {
    font-size: 8rem;
    opacity: 0.15;
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 37, 64, 0.08);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

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

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
}

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

.stat-item {
    padding: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 168, 83, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--surface);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* =============================================
   CARDS
   ============================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(10, 37, 64, 0.06);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.3);
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Card Animations */
.card,
.program-card,
.team-card,
.testimonial-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1),
.program-card:nth-child(1),
.team-card:nth-child(1),
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2),
.program-card:nth-child(2),
.team-card:nth-child(2),
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3),
.program-card:nth-child(3),
.team-card:nth-child(3),
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4),
.program-card:nth-child(4),
.team-card:nth-child(4),
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

/* =============================================
   PROGRAM CARDS
   ============================================= */
.program-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(10, 37, 64, 0.05);
}

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

.program-card-header {
    position: relative;
    height: 180px;
}

.program-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.program-card-content {
    padding: 24px;
}

.program-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.program-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.program-card-meta {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
}

.program-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =============================================
   TESTIMONIAL CARDS
   ============================================= */
.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

.testimonial-card-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

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

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
}

.gallery-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-icon {
    font-size: 2rem;
    color: var(--surface);
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
    background: var(--surface);
    padding: 100px 0;
}

/* =============================================
   PROGRAMS PREVIEW
   ============================================= */
.programs-preview {
    background: var(--bg);
    padding: 100px 0;
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials {
    background: var(--surface);
    padding: 100px 0;
}

/* =============================================
   FACILITIES SECTION
   ============================================= */
.facilities {
    background: var(--bg);
    padding: 100px 0;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--surface);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    padding: 170px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 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.03'%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");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header .section-badge {
    background: rgba(212, 168, 83, 0.2);
    color: var(--accent);
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--surface);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-header .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--primary);
    padding: 60px 0 40px;
    text-align: left;
}

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

.footer-brand .logo {
    color: var(--surface);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section h4 {
    color: var(--surface);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li .btn {
    display: inline-flex;
    width: auto;
    padding: 8px 16px;
    font-size: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal {
    background: var(--surface);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    position: relative;
}

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

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-body {
    padding: 24px;
}

.modal-success {
    text-align: center;
    padding: 40px;
    display: none;
}

.modal-success.active {
    display: block;
}

.modal-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 204, 113, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.modal-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(10, 37, 64, 0.1);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
}

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

.form-group .error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.contact-map {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.map-placeholder {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--surface);
    position: relative;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.55V10m0 0l10 10.55M20 20.55L10 10' stroke='%23ffffff' stroke-opacity='0.1' fill='none' stroke-width='1'/%3E%3C/svg%3E");
}

.map-placeholder span {
    font-size: 4rem;
    opacity: 0.5;
    margin-bottom: 16px;
}

.map-info {
    padding: 24px;
    background: var(--surface);
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.map-info-item:last-child {
    margin-bottom: 0;
}

.map-info-icon {
    width: 36px;
    height: 36px;
    background: rgba(212, 168, 83, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.map-info-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =============================================
   SCHEDULE TABLE
   ============================================= */
.schedule {
    background: var(--bg);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

.schedule-table thead {
    background: var(--primary);
}

.schedule-table th {
    padding: 20px 24px;
    text-align: left;
    color: var(--surface);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    font-size: 0.95rem;
}

.schedule-table tbody tr {
    transition: var(--transition);
}

.schedule-table tbody tr:hover {
    background: rgba(212, 168, 83, 0.05);
}

.schedule-table tbody tr:nth-child(even) {
    background: rgba(10, 37, 64, 0.02);
}

.schedule-table tbody tr:nth-child(even):hover {
    background: rgba(212, 168, 83, 0.05);
}

.schedule-table .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-morning {
    background: rgba(212, 168, 83, 0.15);
    color: #8b6914;
}

.badge-afternoon {
    background: rgba(30, 58, 95, 0.15);
    color: var(--secondary);
}

.badge-evening {
    background: rgba(10, 37, 64, 0.1);
    color: var(--primary);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    background: var(--surface);
}

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

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

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

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
}

.about-visual-icon {
    font-size: 6rem;
    opacity: 0.9;
}

/* =============================================
   TEAM SECTION
   ============================================= */
.team-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(10, 37, 64, 0.05);
}

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

.team-card:hover .team-card-image {
    transform: scale(1.05);
}

.team-card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--accent);
    transition: var(--transition);
}

.team-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.team-card-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--surface);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--surface);
    font-size: 1.5rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: var(--accent);
    color: var(--primary);
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-caption {
    color: var(--surface);
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* =============================================
   GALLERY FILTER
   ============================================= */
.gallery-filter {
    background: var(--surface);
    padding: 40px 0;
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid rgba(10, 37, 64, 0.1);
    background: var(--surface);
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-item {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =============================================
   PRICING CARDS
   ============================================= */
.pricing-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    margin-bottom: 30px;
    text-align: left;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    font-size: 0.95rem;
}

.pricing-feature:last-child {
    border-bottom: none;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

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

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

    /* Hamburger Menu */
    .header {
    position: fixed;
    padding: 50px 0px 50px 0px;
    transition: var(--transition);
    background: transparent;
    }

    .header-social {
        display: none;
    }

    .hamburger {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Mobile Menu */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 0;
        z-index: 1001;
        box-shadow: 5px 0 30px rgba(10, 37, 64, 0.2);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        color: var(--text);
        padding: 16px 0;
        border-bottom: 1px solid rgba(10, 37, 64, 0.08);
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: 0.3s ease;
        position: relative;
        display: block;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent);
        padding-left: 10px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 20px;
        background: var(--accent);
        border-radius: 2px;
    }

    .nav .btn {
        display: none;
    }

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 14px 16px;
        font-size: 0.85rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .page-header {
        padding: 170px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}
