/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #06120E;
    --bg-secondary: #021F16;
    --bg-darker: #010a07;
    --bg-card: rgba(2, 31, 22, 0.65);
    
    --gold-gradient: linear-gradient(135deg, #F3C641 0%, #D4AF37 50%, #B68916 100%);
    --gold-primary: #D4AF37;
    --gold-light: #F3C641;
    --gold-dark: #B68916;
    --border-gold: rgba(243, 198, 65, 0.25);
    --border-gold-hover: rgba(243, 198, 65, 0.65);
    
    --market-green: #10B981;
    --market-green-glow: rgba(16, 185, 129, 0.15);
    --market-red: #EF4444;
    
    --text-white: #FFFFFF;
    --text-gold: #E5D5B3;
    --text-gray: #9CA3AF;
    --text-dark: #021F16;
    
    --font-heading: 'Cinzel', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 10% 20%, rgba(4, 58, 41, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(182, 137, 22, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
}

/* Glassmorphism Class */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-gold-hover);
    box-shadow: 0 12px 40px 0 rgba(243, 198, 65, 0.1);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 198, 65, 0.35);
}

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

.btn-outline:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 198, 65, 0.25);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* Stock Ticker Wrapper */
.ticker-wrap {
    width: 100%;
    background-color: var(--bg-darker);
    border-bottom: 1px solid rgba(243, 198, 65, 0.15);
    overflow: hidden;
    height: 35px;
    display: flex;
    align-items: center;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: tickerLoop 30s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ticker-item .value {
    margin-left: 6px;
}

.ticker-item.up .value {
    color: var(--market-green);
}

.ticker-item.down .value {
    color: var(--market-red);
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 18, 14, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(243, 198, 65, 0.15);
}

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

.logo a {
    display: flex;
    align-items: center;
    height: 60px;
    max-width: 280px;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    color: var(--text-gold);
}

.nav-links a:hover, .nav-links li.active a {
    color: var(--text-white);
}

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

.nav-links a:hover::after, .nav-links li.active a::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    background: rgba(243, 198, 65, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 4px 8px;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.lang-btn {
    padding: 2px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active {
    background: var(--gold-gradient);
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--gold-light);
    transition: var(--transition-fast);
}

/* Footer styling */
footer {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-darker) 100%);
    border-top: 1px solid rgba(243, 198, 65, 0.15);
    padding: 70px 0 30px 0;
    position: relative;
}

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

.footer-info .footer-logo {
    max-height: 110px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(243, 198, 65, 0.15);
    color: var(--text-gold);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact p i {
    color: var(--gold-primary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* Home Page Specific Elements */
.hero-section {
    padding: 100px 0 80px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--market-green-glow);
    border: 1px solid var(--market-green);
    color: var(--market-green);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-gold);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--gold-primary);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Candlestick animation on Hero Right */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-box {
    width: 100%;
    max-width: 420px;
    height: 380px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.chart-title {
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-signals {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.signal {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.signal.buy { background: rgba(16, 185, 129, 0.15); color: var(--market-green); border: 1px solid var(--market-green); }
.signal.sell { background: rgba(239, 68, 68, 0.15); color: var(--market-red); border: 1px solid var(--market-red); }

.candlestick-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    padding-bottom: 20px;
    border-bottom: 1.5px dashed rgba(255, 255, 255, 0.1);
    position: relative;
}

.candle {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 12%;
    position: relative;
}

.candle-wick {
    width: 2px;
    background-color: var(--text-gray);
    position: absolute;
}

.candle-body {
    width: 100%;
    border-radius: 2px;
    z-index: 2;
}

.candle.green .candle-body {
    background: linear-gradient(180deg, #10B981 0%, #047857 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.candle.green .candle-wick { background-color: var(--market-green); }

.candle.red .candle-body {
    background: linear-gradient(180deg, #EF4444 0%, #B91C1C 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}
.candle.red .candle-wick { background-color: var(--market-red); }

/* Common Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px auto;
}

.section-subtitle {
    color: var(--gold-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Services / Features Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

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

.service-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(243, 198, 65, 0.1);
    color: var(--gold-light);
    font-size: 1.8rem;
    margin-bottom: 25px;
    border: 1px solid var(--border-gold);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.service-link:hover {
    color: var(--text-white);
}

/* Why Choose Us Section */
.choose-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.choose-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.choose-num {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    background: rgba(243, 198, 65, 0.05);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.choose-info h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

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

/* Modes Showcase Section (Online vs Offline) */
.modes-showcase {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 90px 0;
}

.mode-column {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.mode-badge {
    background: rgba(243, 198, 65, 0.1);
    color: var(--gold-light);
    border: 1px solid var(--border-gold);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.mode-column h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mode-column p {
    color: var(--text-gold);
    margin-bottom: 25px;
}

.mode-features {
    list-style: none;
    margin-bottom: 35px;
}

.mode-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.mode-features li i {
    color: var(--market-green);
}

/* Testimonials */
.testimonial-card {
    padding: 40px 30px;
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    color: rgba(243, 198, 65, 0.08);
    font-family: var(--font-heading);
    line-height: 1;
}

.test-rating {
    color: var(--gold-primary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.test-content {
    font-size: 1rem;
    color: var(--text-gold);
    margin-bottom: 25px;
    font-style: italic;
}

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

.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 700;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Call to Action */
.cta-box {
    text-align: center;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-gold);
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-size: 1.1rem;
}

/* Courses Grid Page */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-color: transparent;
}

.course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.course-thumb {
    position: relative;
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.course-badge.beginner { background: rgba(16, 185, 129, 0.9); color: white; }
.course-badge.intermediate { background: rgba(59, 130, 246, 0.9); color: white; }
.course-badge.advanced { background: rgba(243, 198, 65, 0.9); color: var(--text-dark); }
.course-badge.all-levels { background: rgba(139, 92, 246, 0.9); color: white; }

.course-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.course-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-body p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 15px;
}

.course-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-light);
}

/* Course Details Page Layout */
.detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    margin-top: 40px;
}

.detail-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1.5px solid var(--border-gold);
    padding: 60px 0;
}

.detail-meta-list {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    color: var(--text-gold);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.detail-meta-list span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-meta-list i {
    color: var(--gold-primary);
}

.syllabus-list {
    margin: 25px 0;
}

.syllabus-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.syllabus-index {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(243, 198, 65, 0.1);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem;
}

.syllabus-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.syllabus-text p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sticky-box {
    padding: 30px;
}

.sticky-box .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.sticky-box .price-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.sticky-box .price-amount {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-light);
    font-weight: 700;
}

.feature-check-list {
    list-style: none;
    margin: 20px 0;
}

.feature-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.feature-check-list li i {
    color: var(--market-green);
}

/* Contact Us Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(243, 198, 65, 0.1);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

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

.map-wrapper {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    height: 250px;
}

/* Forms Styling */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(243, 198, 65, 0.03);
    box-shadow: 0 0 10px rgba(243, 198, 65, 0.15);
}

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

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 10, 7, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-white);
}

/* Success Page Styling */
.success-card {
    text-align: center;
    max-width: 600px;
    margin: 80px auto;
    padding: 50px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--market-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 25px;
    border: 2px solid var(--market-green);
}

.success-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-card p {
    color: var(--text-gold);
    margin-bottom: 30px;
}

.success-whatsapp-box {
    background: rgba(37, 211, 102, 0.08);
    border: 1px dashed rgba(37, 211, 102, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.success-whatsapp-box p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* About Page Specific Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cert-stamp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(243, 198, 65, 0.08);
    border: 1.5px dashed var(--gold-primary);
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.cert-stamp i {
    color: var(--gold-light);
    font-size: 1.5rem;
}

.cert-stamp span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-gold);
    letter-spacing: 0.5px;
}

.classroom-box {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
    border: 1.5px solid var(--border-gold);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.classroom-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 31, 22, 0.95) 100%);
}

.classroom-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
    font-size: 0.95rem;
    color: var(--text-gold);
}

.classroom-caption strong {
    color: var(--text-white);
}

/* Admin Styles */
.admin-login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.admin-dashboard-container {
    padding: 40px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.admin-stat-card {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-stat-info h3 {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-stat-info p {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.admin-stat-icon.total { background: rgba(243, 198, 65, 0.1); color: var(--gold-light); }
.admin-stat-icon.pending { background: rgba(251, 191, 36, 0.1); color: #FBBF24; }
.admin-stat-icon.contacted { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.admin-stat-icon.enrolled { background: rgba(16, 185, 129, 0.1); color: var(--market-green); }

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

.admin-table th, .admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    font-family: var(--font-heading);
    color: var(--text-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.02);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.pending { background: rgba(251, 191, 36, 0.15); color: #FBBF24; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge.contacted { background: rgba(59, 130, 246, 0.15); color: #3B82F6; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge.enrolled { background: rgba(16, 185, 129, 0.15); color: var(--market-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge.closed { background: rgba(156, 163, 175, 0.15); color: #9CA3AF; border: 1px solid rgba(156, 163, 175, 0.3); }

.action-select {
    background: var(--bg-primary);
    color: var(--text-white);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: pointer;
}

.action-select:focus {
    outline: none;
    border-color: var(--gold-light);
}

/* Warnings and Notices */
.sebi-warning {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 40px;
    text-align: justify;
}

.sebi-warning strong {
    color: var(--market-red);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float {
    background-color: #25d366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
    color: #FFF;
    animation: none;
}

.call-float {
    background: var(--gold-gradient);
    color: var(--bg-primary) !important;
    box-shadow: 0 4px 10px rgba(243, 198, 65, 0.4);
    animation: call-pulse 2.5s infinite;
    animation-delay: 1.25s; /* Staggered pulsing */
}

.call-float:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(243, 198, 65, 0.6);
    color: var(--bg-primary) !important;
    animation: none;
}

.float-btn svg {
    width: 26px;
    height: 26px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes call-pulse {
    0% {
        box-shadow: 0 4px 10px rgba(243, 198, 65, 0.4), 0 0 0 0 rgba(243, 198, 65, 0.5);
    }
    70% {
        box-shadow: 0 4px 10px rgba(243, 198, 65, 0.4), 0 0 0 12px rgba(243, 198, 65, 0);
    }
    100% {
        box-shadow: 0 4px 10px rgba(243, 198, 65, 0.4), 0 0 0 0 rgba(243, 198, 65, 0);
    }
}

/* WhatsApp Chat Box Styling */
.whatsapp-chat-box {
    position: fixed;
    bottom: 20px;
    right: 85px;
    width: 320px;
    background-color: var(--bg-primary);
    border: 1.5px solid var(--border-gold);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.whatsapp-chat-box.active {
    display: flex;
}

.whatsapp-chat-header {
    background-color: var(--bg-secondary);
    border-bottom: 1.5px solid var(--border-gold);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.wa-chat-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    background-color: var(--bg-primary);
    padding: 4px;
    border: 1.5px solid var(--border-gold);
}

.wa-chat-title-wrapper {
    display: flex;
    flex-direction: column;
}

.wa-chat-title {
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.wa-chat-status {
    color: var(--market-green);
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.wa-chat-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--market-green);
}

.wa-chat-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.wa-chat-close:hover {
    color: var(--text-white);
}

.whatsapp-chat-body {
    padding: 20px;
    background-image: radial-gradient(rgba(243, 198, 65, 0.03) 1px, transparent 0);
    background-size: 15px 15px;
    max-height: 200px;
    overflow-y: auto;
}

.wa-message-bubble {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 12px 12px 12px;
    padding: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-gold);
    max-width: 90%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.whatsapp-chat-footer {
    padding: 15px;
    background-color: var(--bg-secondary);
    border-top: 1.5px solid var(--border-gold);
    display: flex;
    justify-content: center;
}

.wa-start-chat-btn {
    background-color: #25d366;
    color: #FFF !important;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.wa-start-chat-btn:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-info { grid-column: span 2; }
}

@media (max-width: 768px) {
    .logo a {
        height: 55px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 15px 15px !important;
    }

    .filter-group > span {
        width: 100%;
        margin-bottom: 5px;
    }

    .grid-3, .grid-2, .hero-grid, .choose-grid, .contact-grid, .detail-grid, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-bottom: 1.5px solid var(--border-gold);
        padding: 30px 15px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .whatsapp-chat-box {
        bottom: 85px;
        right: 20px;
        width: calc(100vw - 40px);
    }
}

/* --- Admin Layout Redesign --- */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 80px); /* header height */
    width: 100%;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-darker);
    border-right: 1px solid var(--border-gold);
    /* requested black shadow highlight */
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.95);
    position: relative;
    z-index: 10; /* Ensure shadow sits above main content */
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.admin-sidebar-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar-header h3 {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-sidebar-nav {
    list-style: none;
    padding: 20px 0;
    flex: 1;
    overflow-y: auto;
}

.admin-sidebar-nav li {
    margin-bottom: 5px;
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
    transition: var(--transition-fast);
}

.admin-sidebar-nav li.active a, 
.admin-sidebar-nav a:hover {
    background: rgba(243, 198, 65, 0.08);
    color: var(--text-white);
    border-left-color: var(--gold-primary);
}

.admin-sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar-footer .logout-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
}

.admin-main-content {
    flex: 1;
    padding: 20px 40px;
    background: var(--bg-primary);
    overflow-x: hidden;
}

@media (max-width: 992px) {
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-gold);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95);
    }
    .admin-main-content {
        padding: 20px 15px;
    }
}
