/* ================================
   GOLDEN LUXURY TUTORING WEBSITE
   Light Mode: Golden & White
   Dark Mode: Golden & Black
   ================================ */

:root {
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #B8941E;
    --white: #FFFFFF;
    --black: #000000;
    --grey-light: #F5F5F5;
    --grey-dark: #1a1a1a;
}

/* Light Theme (Golden & White) */
[data-theme="light"] {
    --primary: #0066CC;
    --secondary: #0080FF;
    --accent: #00AAFF;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --text: #1a1a1a;
    --text-light: #666666;
    --card-bg: #FFFFFF;
    --border: #DBEAFE;
    --shadow: rgba(0, 102, 204, 0.2);
}

/* Dark Theme (Golden & Black) */
[data-theme="dark"] {
    --primary: #0080FF;
    --secondary: #00AAFF;
    --accent: #3399FF;
    --bg: #0a0a0a;
    --bg-alt: #1a1a1a;
    --text: #E5E5E5;
    --text-light: #B8B8B8;
    --card-bg: #151515;
    --border: #2a2a2a;
    --shadow: rgba(0, 128, 255, 0.3);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* =============== THEME TOGGLE =============== */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 10000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 3px solid var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 40px var(--shadow);
}

/* =============== BACKGROUND DECORATION =============== */
.bg-decoration {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.golden-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.08;
    animation: float 25s ease-in-out infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -300px;
    right: -200px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -100px;
    animation-delay: -8s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* =============== NAVIGATION =============== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary);
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

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

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

.logo-circle {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 28px;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 6px 25px var(--shadow);
    border: 3px solid var(--secondary);
}

[data-theme="light"] .logo-circle {
    color: #000;
}

[data-theme="dark"] .logo-circle {
    color: #000;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

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

.brand-name {
    font-weight: 800;
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tag {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 6px 20px var(--shadow);
    border: 2px solid transparent;
}

[data-theme="light"] .nav-btn {
    color: #000 !important;
}

[data-theme="dark"] .nav-btn {
    color: #000 !important;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--secondary);
}

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

/* =============== HERO SECTION =============== */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    text-align: center;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--shadow);
    border: 2px solid var(--secondary);
    letter-spacing: 1px;
}

[data-theme="light"] .hero-badge {
    color: #000;
}

[data-theme="dark"] .hero-badge {
    color: #000;
}

.hero h1 {
    font-size: 62px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text);
    font-family: 'Playfair Display', serif;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 25px var(--shadow);
    border: 2px solid var(--secondary);
}

[data-theme="light"] .btn-primary {
    color: #000;
}

[data-theme="dark"] .btn-primary {
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px var(--shadow);
}

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

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

[data-theme="light"] .btn-outline:hover {
    color: #000;
}

[data-theme="dark"] .btn-outline:hover {
    color: #000;
}

.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .num {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat .label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 5px;
}

/* =============== SECTIONS =============== */
.services, .about, .testimonials, .faq, .contact {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 20px;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 15px var(--shadow);
    letter-spacing: 1.5px;
}

[data-theme="light"] .tag {
    color: #000;
}

[data-theme="dark"] .tag {
    color: #000;
}

.section-head h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.section-head p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* =============== SERVICES =============== */
.services {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

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

.service-card {
    background: var(--card-bg);
    padding: 45px 35px;
    border-radius: 25px;
    border: 3px solid var(--primary);
    transition: all 0.4s ease;
    box-shadow: 0 10px 35px var(--shadow);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px var(--shadow);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 52px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============== ABOUT =============== */
.about-content-full {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content-full h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text);
    font-family: 'Playfair Display', serif;
}

.about-content-full p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 18px;
}

.about-content-full .about-extra {
    font-size: 17px;
    margin-bottom: 45px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
    text-align: left;
}

.features-grid .feat {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 16px;
    color: var(--text);
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.features-grid .feat:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px var(--shadow);
    transform: translateY(-3px);
}

.features-grid .feat span {
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.features-grid .feat strong {
    color: var(--text);
    display: block;
    margin-bottom: 5px;
}

.about-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============== TESTIMONIALS =============== */
.testimonials {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 25px;
    border: 3px solid var(--primary);
    border-left: 6px solid var(--secondary);
    transition: all 0.4s ease;
    box-shadow: 0 10px 35px var(--shadow);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px var(--shadow);
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 16px;
}

.testimonial-author {
    font-weight: 800;
    color: var(--text);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-light);
}

/* =============== FAQ =============== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 20px;
    border: 3px solid var(--primary);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px var(--shadow);
}

.faq-q {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
    transition: all 0.3s ease;
}

.faq-q:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
}

.faq-q .icon {
    font-size: 28px;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 28px;
}

.faq-a.active {
    max-height: 300px;
    padding: 0 28px 28px;
}

.faq-a p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============== CONTACT =============== */
.contact {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 70px;
}

.contact-info h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text);
    font-family: 'Playfair Display', serif;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 17px;
}

.c-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.c-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    border: 3px solid var(--primary);
    display: flex;
    gap: 18px;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px var(--shadow);
}

.c-card:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px var(--shadow);
}

.c-icon {
    font-size: 36px;
}

.c-card small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-card p {
    font-weight: 700;
    color: var(--text);
    margin: 0;
    font-size: 16px;
}

.hours {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 30px var(--shadow);
}

.hours h4 {
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 800;
}

.h-list div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 2px solid var(--border);
    font-size: 14px;
    font-weight: 600;
}

.h-list div:last-child {
    border: none;
}

.contact-form {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 15px 50px var(--shadow);
    border: 3px solid var(--primary);
}

.form-embed {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 15px;
}

/* =============== FOOTER =============== */
.footer {
    padding: 70px 0 35px;
    border-top: 3px solid var(--primary);
}

[data-theme="light"] .footer {
    background: #0a0a0a;
}

[data-theme="dark"] .footer {
    background: var(--bg-alt);
}

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

.f-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-circle.small {
    width: 45px;
    height: 45px;
    font-size: 20px;
}

.f-logo span {
    font-weight: 800;
    font-size: 17px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.f-col p {
    line-height: 1.8;
    font-size: 14px;
}

[data-theme="light"] .f-col p,
[data-theme="light"] .f-col ul a {
    color: #B8B8B8;
}

[data-theme="dark"] .f-col p,
[data-theme="dark"] .f-col ul a {
    color: var(--text-light);
}

.f-col h4 {
    margin-bottom: 25px;
    font-size: 17px;
    font-weight: 800;
}

[data-theme="light"] .f-col h4 {
    color: #E5E5E5;
}

[data-theme="dark"] .f-col h4 {
    color: var(--text);
}

.f-col ul {
    list-style: none;
}

.f-col ul li {
    margin-bottom: 15px;
}

.f-col ul a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.f-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

[data-theme="light"] .footer-bottom {
    color: #B8B8B8;
    border-top: 2px solid #2a2a2a;
}

[data-theme="dark"] .footer-bottom {
    color: var(--text-light);
    border-top: 2px solid var(--border);
}

/* =============== LOADING =============== */
.loading {
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.spinner {
    border: 5px solid var(--border);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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

/* =============== RESPONSIVE =============== */
@media (max-width: 768px) {
    .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 40px; }
    .nav-menu { display: none; }
    .services-grid, .test-grid { grid-template-columns: 1fr; }
    .theme-toggle { top: 80px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
    .hero-stats { gap: 30px; }
    .stat .num { font-size: 32px; }
    
    .about-content-full h2 { font-size: 36px; }
    .about-content-full p { font-size: 16px; }
    .features-grid { 
        grid-template-columns: 1fr;
    }
    .features-grid .feat {
        font-size: 15px;
    }
    .about-cta, .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}
