/* --- 1. FONTS IMPORT (Fixes Hostinger Error) --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;700&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- 2. VARIABLES & RESET --- */
:root {
    --primary-dark: #0f172a;   /* Deep Slate/Navy */
    --primary-gold: #d4af37;   /* Metallic Gold */
    --secondary-gold: #f3e5ab; /* Parchment/Cream */
    --text-main: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --black: #000000;
    
    --font-heading: 'Playfair Display', serif;
    --font-sub: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #fdfbf7;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-heading); color: var(--primary-dark); font-weight: 700; }
h4, h5 { font-family: var(--font-sub); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.section-padding { padding: 60px 5%; }
.container { max-width: 1100px; margin: 0 auto; }

/* Headers */
.sub-heading { color: var(--primary-gold); font-size: 0.8rem; margin-bottom: 5px; display: block; }
.heading { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 10px; line-height: 1.2; }
.separator-center { width: 60px; height: 3px; background: var(--primary-gold); margin: 0 auto 30px; }
.center { text-align: center; }

/* --- 4. PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary-dark); z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.5s ease;
}
.loader-logo { font-family: var(--font-heading); font-size: 3rem; color: var(--primary-gold); margin-bottom: 20px; animation: pulse 2s infinite; }
.loader-line { width: 0; height: 2px; background: var(--primary-gold); animation: loadLine 1.5s ease-in-out forwards; }
@keyframes loadLine { to { width: 150px; } }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* --- 5. NAVIGATION --- */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
    transition: var(--transition);
}
nav.scrolled { padding: 8px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

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

.logo { font-family: var(--font-heading); font-size: 1.3rem; color: var(--primary-dark); text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.logo-symbol { color: var(--primary-gold); font-size: 1.5rem; }

.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--primary-dark); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary-gold); }

.btn-nav {
    padding: 8px 20px; border: 1px solid var(--primary-dark);
    border-radius: 50px; transition: var(--transition); font-size: 0.8rem;
}
.btn-nav:hover { background: var(--primary-dark); color: var(--white) !important; }

/* Mobile Menu */
.menu-toggle { display: none; cursor: pointer; }
.bar { width: 25px; height: 3px; background: var(--primary-dark); margin: 5px 0; transition: 0.3s; }

/* --- 6. HERO SECTION --- */
.hero-section {
    position: relative; height: 85vh; width: 100%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}

.slider-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease;
    transform: scale(1);
}
.slide.active { opacity: 1; animation: kenBurns 15s infinite alternate; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.15); } }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative; z-index: 3; text-align: center; color: var(--white);
    max-width: 900px; padding: 0 20px;
}
.hero-content h4 { color: var(--primary-gold); margin-bottom: 10px; font-size: 0.9rem; }
.hero-content h1 { 
    font-size: clamp(2.2rem, 5vw, 4rem); 
    line-height: 1.1; 
    margin-bottom: 20px; 
    color: #f8fafc;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.separator { width: 80px; height: 3px; background: var(--primary-gold); margin: 0 auto 25px; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; color: #e2e8f0; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-btns { margin-top: 10px; }
.btn-primary, .btn-secondary {
    padding: 12px 30px; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; display: inline-block; margin: 8px; transition: var(--transition);
    cursor: pointer; /* Added pointer */
}
.btn-primary { background: var(--primary-gold); color: var(--primary-dark); border: 2px solid var(--primary-gold); }
.btn-primary:hover { background: transparent; color: var(--primary-gold); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--primary-dark); }

/* --- 7. TICKER (MARQUEE) --- */
.ticker-wrap {
    background: var(--primary-dark); display: flex; align-items: center; border-bottom: 4px solid var(--primary-gold);
    overflow: hidden; height: 40px; position: relative; z-index: 5;
}
.ticker-heading {
    background: var(--primary-gold); color: var(--primary-dark); font-weight: 800; padding: 0 15px;
    height: 100%; display: flex; align-items: center; font-family: var(--font-sub); z-index: 10;
    box-shadow: 5px 0 10px rgba(0,0,0,0.3); font-size: 0.75rem;
}
.ticker { display: flex; animation: marquee 25s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker-item { color: var(--white); white-space: nowrap; padding: 0 20px; font-family: var(--font-sub); font-size: 0.8rem; letter-spacing: 1px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* --- 8. SECTIONS & COMPONENTS --- */
.about-wrapper { display: flex; align-items: center; gap: 50px; }
.about-img-col { position: relative; flex: 1; min-width: 300px; }
.frame-border {
    position: absolute; top: 20px; left: -20px; width: 100%; height: 100%;
    border: 4px solid var(--primary-gold); z-index: 0;
}
.img-box {
    width: 100%; height: 400px;
    background-size: cover; background-position: center;
    position: relative; z-index: 1; box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    filter: sepia(10%) contrast(1.1);
}
.exp-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--primary-dark);
    padding: 20px; color: var(--primary-gold); text-align: center; z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.exp-badge .num { display: block; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.exp-badge .txt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }

.about-txt-col { flex: 1.2; }
.lead-text { font-size: 1.2rem; font-family: var(--font-heading); color: var(--primary-dark); margin-bottom: 20px; font-style: italic; }
.check-list { list-style: none; margin-top: 15px; }
.check-list li { margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; font-size: 0.95rem; }
.check-list i { color: var(--primary-gold); margin-right: 12px; }
.signature { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-top: 20px; color: var(--primary-gold); font-style: italic; }

.bg-dark { background-color: var(--primary-dark); color: var(--white); }
.heading.white { color: var(--white); }
.sub-heading.gold { color: var(--primary-gold); }

.practice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.p-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    padding: 30px 20px; transition: var(--transition); position: relative; overflow: hidden;
    text-decoration: none; display: block;
}
.p-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px;
    background: var(--primary-gold); transition: var(--transition);
}
.p-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); }
.p-card:hover::before { width: 100%; }
.p-card .icon { font-size: 2rem; color: var(--primary-gold); margin-bottom: 15px; }
.p-card h3 { color: var(--white); margin-bottom: 10px; font-family: var(--font-heading); font-size: 1.1rem; }
.p-card p { color: #94a3b8; font-size: 0.9rem; line-height: 1.5; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.testi-card {
    background: #fff; padding: 25px; border: 1px solid #e2e8f0; border-top: 3px solid var(--primary-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; transition: var(--transition);
}
.testi-card:hover { transform: translateY(-3px); }
.quote-mark { font-size: 1.5rem; color: var(--primary-gold); opacity: 0.4; margin-bottom: 10px; }
.testi-text { font-style: italic; color: #555; margin-bottom: 15px; font-size: 0.9rem; }
.testi-author { border-top: 1px solid #eee; padding-top: 10px; }
.author-name { display: block; font-family: var(--font-heading); color: var(--primary-dark); font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.75rem; color: #888; }

/* Locations */
.loc-wrapper { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 30px; }
.loc-card {
    flex: 1; min-width: 280px; background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 4px; overflow: hidden; position: relative; border-top: 3px solid var(--primary-dark);
}
.loc-card.highlight-card { border-top-color: var(--primary-gold); }
.map-bg { height: 120px; background: #eee; opacity: 0.5; }
.loc-content { padding: 20px; text-align: center; }
.loc-content h4 { font-size: 1.3rem; margin-bottom: 5px; color: var(--primary-dark); }
.loc-content .address { margin-bottom: 15px; color: #666; font-style: italic; font-size: 0.9rem; }
.info-row { font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); border-top: 1px solid #eee; padding-top: 10px; }
.warning { color: #b91c1c; }

/* --- 9. FOOTER --- */
footer { background: #0b0f19; color: #64748b; padding-top: 40px; padding-bottom: 20px; border-top: 1px solid #1e293b; }
.footer-top {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
    border-bottom: 1px solid #1e293b; padding-bottom: 20px; margin-bottom: 30px;
}
.footer-brand h2 { color: var(--white); margin-bottom: 2px; font-size: 1.4rem; }
.footer-brand p { color: var(--primary-gold); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 1.5px; }

.wa-btn {
    background: #25D366; color: #fff; padding: 8px 20px; border-radius: 5px; font-size: 0.9rem;
    text-decoration: none; font-weight: bold; display: inline-flex; align-items: center; gap: 8px;
    transition: 0.3s;
}
.wa-btn:hover { background: #1ebc57; transform: translateY(-2px); }

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; }
.f-col h5 { color: var(--white); margin-bottom: 15px; font-size: 1rem; }
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 8px; line-height: 1.3; }
.f-col ul li a { color: #64748b; text-decoration: none; transition: 0.3s; font-size: 0.85rem; }
.f-col ul li a:hover { color: var(--primary-gold); padding-left: 5px; }
.contact-details li { display: flex; align-items: center; font-size: 0.85rem; }
.contact-details li i { color: var(--primary-gold); margin-right: 10px; width: 15px; }

.footer-bottom { text-align: center; padding: 20px 0; background: #05080f; margin-top: 30px; font-size: 0.75rem; border-top: 1px solid #1e293b; }

/* Page Header */
.page-header {
    height: 35vh;
    position: relative; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 50px;
    background-size: cover; background-position: center;
}
.header-content { position: relative; z-index: 2; color: var(--white); }
.header-content h1 { font-size: 2.5rem; color: var(--primary-gold); margin-bottom: 10px; }
.overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; } .delay-4 { animation-delay: 0.8s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: all 1s ease; }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-active { opacity: 1; transform: translate(0); }

/* --- RESPONSIVE & MOBILE --- */
@media (max-width: 992px) {
    .about-wrapper { flex-direction: column; }
    .img-box { height: 300px; }
    .frame-border { display: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 85%;
        background: var(--white); flex-direction: column; justify-content: center;
        transition: 0.5s ease; box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    
    .heading { font-size: 2rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-section { height: 70vh; min-height: 500px; }
    
    footer { padding-top: 30px; padding-bottom: 60px; }
    .footer-top { flex-direction: column; text-align: center; gap: 20px; }
    .footer-grid { display: flex; flex-direction: column; gap: 30px; text-align: center; }
    .contact-details li { justify-content: center; }
    .contact-details li a { word-break: break-all; }
    
    .section-padding { padding: 40px 20px; }
    .container { width: 100%; padding: 0 15px; }
}

/* ========================================================
   DISCLAIMER POPUP CSS (Ensure this is at the end)
======================================================== */
.disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark Overlay */
    z-index: 10000;
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.disclaimer-box {
    background-color: #fff;
    width: 95%;
    max-width: 750px;
    height: auto;
    max-height: 85vh; /* Responsive height */
    display: flex;
    flex-direction: column;
    border-top: 6px solid var(--primary-gold);
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
    font-family: 'Times New Roman', serif;
}

.disclaimer-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.disclaimer-header h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 24px;
    letter-spacing: 1px;
    font-weight: 700;
}

.disclaimer-content {
    flex: 1;
    padding: 20px 40px;
    overflow-y: auto; /* IMPORTANT: Enables scrolling within the popup */
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.disclaimer-content p {
    margin-bottom: 10px;
}

.disclaimer-content ol {
    padding-left: 20px;
    margin-top: 15px;
}

.disclaimer-content li {
    margin-bottom: 12px;
    text-align: justify;
}

.terms-note {
    font-style: italic;
    color: #666;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.disclaimer-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background-color: #f9f9f9;
}

.disclaimer-footer button {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Button Colors */
.btn-agree {
    background-color: var(--primary-gold);
    color: var(--white);
}
.btn-agree:hover {
    background-color: #b5952f;
}

.btn-decline {
    background-color: #e0e0e0;
    color: #333;
}
.btn-decline:hover {
    background-color: #ccc;
}

/* Mobile Popup Adjustment */
@media (max-width: 600px) {
    .disclaimer-content { padding: 15px 20px; }
    .disclaimer-footer { flex-direction: column-reverse; }
    .disclaimer-footer button { width: 100%; }
}