/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --bg-primary: #0A0F1D;
    --bg-secondary: #111827;
    --bg-card: rgba(22, 30, 49, 0.65);
    --border-card: rgba(197, 160, 89, 0.15);
    --border-card-hover: rgba(197, 160, 89, 0.4);

    --color-gold-light: #F3E5AB;
    --color-gold: #D4AF37;
    --color-gold-dark: #C5A059;
    --color-text-primary: #F3F4F6;
    --color-text-secondary: #9CA3AF;
    --color-text-muted: #6B7280;

    --color-urgent: #EF4444;
    --color-urgent-bg: rgba(239, 68, 68, 0.1);

    --font-header: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.2);
    --glow-gold-hover: 0 0 30px rgba(212, 175, 55, 0.45);
}

/* Light Theme Overrides */
body.light-theme {
    --bg-primary: #F4F6F9;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.92);
    --border-card: rgba(0, 0, 0, 0.08);
    --border-card-hover: rgba(197, 160, 89, 0.5);
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-text-muted: #6B7280;

    /* Darker gold for better contrast in light mode */
    --color-gold-light: #D4AF37;
    --color-gold: #B8860B;
    --color-gold-dark: #8B6508;
}

/* Light mode: hero title NPA Notice span & badge fixes */
body.light-theme .hero-title span {
    background: linear-gradient(135deg, #1a1a2e 30%, var(--color-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .hero-badge {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.4);
    color: #b91c1c;
}

body.light-theme .hero-badge span {
    background-color: #b91c1c;
}

body.light-theme .hero-subtitle {
    color: #374151;
}

body.light-theme {
    background-color: var(--bg-primary);
    color: var(--color-text-primary);
}

/* Light mode: section titles */
body.light-theme .section-title,
body.light-theme .hero-title,
body.light-theme .card-title,
body.light-theme .service-title,
body.light-theme .client-name,
body.light-theme .contact-heading {
    color: #1a1a2e;
}

body.light-theme .about-content h3 {
    color: #000080;
}

/* Light mode: Buttons */
body.light-theme .btn-primary {
    background: #000080;
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 128, 0.3);
}

body.light-theme .btn-primary:hover {
    background: #000066;
    box-shadow: 0 0 30px rgba(0, 0, 128, 0.5);
    transform: translateY(-2px);
}

body.light-theme .btn-secondary {
    color: #000080;
    border-color: #000080;
}

body.light-theme .btn-secondary:hover {
    background: rgba(0, 0, 128, 0.08);
}

/* Light mode: Map Placeholder */
body.light-theme .map-placeholder {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.85)),
        url('https://api.mapbox.com/styles/v1/mapbox/light-v10/static/77.2167,28.6304,14,0/600x400?access_token=mock') no-repeat center center/cover;
}

body.light-theme .map-placeholder h4 {
    color: #1a1a2e;
}

/* Light mode: hero overlay */
body.light-theme .hero {
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        linear-gradient(rgba(244, 246, 249, 0.93), rgba(244, 246, 249, 0.97)),
        url('assets/legal_background.png') no-repeat center center/cover;
}

/* Light mode: scrolled header */
body.light-theme header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Light mode: logo */
body.light-theme .logo-main {
    color: #000080;
    /* text-shadow: 1px 2px 4px rgba(0, 0, 128, 0.3); */
    letter-spacing: 1.5px;
}

body.light-theme .logo-sub {
    color: #000080;
    font-size: 1.3rem;
    font-weight: 1000;
    opacity: 1;
    letter-spacing: 0.9px;
    margin-top: -7px;
    /* text-shadow: 1px 1px 3px rgba(0, 0, 128, 0.2); */
}

/* Ensure footer logo stays bright in light mode */
body.light-theme footer .logo-main {
    color: #FFF;
    text-shadow: none;
}

body.light-theme footer .logo-sub {
    color: var(--color-gold);
    opacity: 1;
}

/* Light mode: menu toggle bars */
body.light-theme .menu-toggle span {
    background-color: #1a1a2e;
}

/* Light mode: gallery */
body.light-theme .gallery-item {
    background: transparent;
    box-shadow: none;
}

/* Light mode: testimonial slide */
body.light-theme .testimonial-slide {
    background: var(--bg-card);
    border-color: var(--border-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Light mode: hero stats border */
body.light-theme .hero-stats {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Light mode: testimonial footer border */
body.light-theme .testimonial-footer {
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* Light mode: form inputs */
body.light-theme .form-control {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.15);
    color: #111827;
}

body.light-theme .form-control::placeholder {
    color: #9CA3AF;
}

/* Light mode: footer */
body.light-theme footer {
    background: #1a1a2e;
}

/* Light mode: about section bg */
body.light-theme .about {
    background-color: #FFFFFF;
}

/* Light mode: services section bg */
body.light-theme .services,
body.light-theme .contact {
    background-color: var(--bg-primary);
}

/* Light mode: testimonials bg */
body.light-theme .testimonials {
    background-color: #FFFFFF;
}

/* Light mode: slider dots inactive */
body.light-theme .slider-dot {
    background: rgba(0, 0, 0, 0.2);
}

/* Light mode: slider btn */
body.light-theme .slider-btn {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.12);
}

/* Light mode: visit-us section */
body.light-theme .visit-us {
    background-color: var(--bg-primary);
}

/* Light mode: location card */
body.light-theme .location-card {
    background: #FFFFFF;
    border-color: var(--border-card);
}

/* Header Actions container */
.header-actions {
    display: flex;
    align-items: center;
}


/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gold);
    transition: var(--transition-smooth);
    margin-left: 15px;
}

.theme-toggle-btn:hover {
    transform: scale(1.2);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

/* Section Common Styles */
section {
    padding: 60px 5%;
    position: relative;
}

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

.section-subtitle {
    color: var(--color-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFF;
    line-height: 1.2;
}

.section-desc {
    color: var(--color-text-secondary);
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #0A0F1D;
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold-hover);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
}

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

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
}

.btn-urgent {
    background: var(--color-urgent);
    color: white;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.btn-urgent:hover {
    background: #ff5a5a;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 5%;
}

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

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

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

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 5px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.nav-cta {
    margin-left: 15px;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #FFF;
    transition: var(--transition-smooth);
}

/* Hero Section (Landing) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(10, 15, 29, 0.9), rgba(10, 15, 29, 0.95)),
        url('assets/legal_background.png') no-repeat center center/cover;
    padding-top: 120px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-badge {
    background: var(--color-urgent-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    animation: pulseRed 2s infinite;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background-color: var(--color-urgent);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFF;
}

.hero-title span {
    background: linear-gradient(135deg, #FFF 30%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-item p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-top: 5px;
}

.hero-card-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-card-wrapper::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.hero-glass-card:hover {
    border-color: var(--border-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), var(--glow-gold);
}

.card-notice-tag {
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 15px;
}

.card-bullets {
    list-style: none;
    margin-bottom: 25px;
}

.card-bullets li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.card-bullets li svg {
    flex-shrink: 0;
    margin-top: 4px;
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card-hover);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.experience-years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    display: block;
}

.experience-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    margin-top: 5px;
    font-weight: 600;
}

.about-img-frame {
    border: 2px solid var(--border-card);
    border-radius: 24px;
    padding: 15px;
    position: relative;
}

.about-img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(10%) contrast(110%);
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFF;
}

.about-highlight {
    font-size: 1.15rem;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon-wrapper {
    background: rgba(212, 175, 55, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Services Section */
.services {
    background-color: var(--bg-primary);
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-card-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 25px;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--color-gold);
    color: #0A0F1D;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: #FFF;
}

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

.service-link {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link svg {
    transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.testimonials-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s 0.6s;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s 0s;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--color-text-primary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.testimonial-client {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 700;
    color: #FFF;
    font-size: 1.05rem;
}

.client-location {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.case-resolved-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: var(--color-gold);
    color: #0A0F1D;
    border-color: var(--color-gold);
    box-shadow: var(--glow-gold);
}

.slider-btn-prev {
    left: -10px;
}

.slider-btn-next {
    right: -10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--color-gold);
    width: 24px;
    border-radius: 4px;
}

/* Contact Form Section */
.contact {
    background-color: var(--bg-primary);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-tag {
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.contact-heading {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.15;
}

.contact-heading span {
    color: var(--color-gold);
}

.contact-desc {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.emergency-notice {
    background: var(--color-urgent-bg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.emergency-icon {
    color: var(--color-urgent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.emergency-text h4 {
    color: #FFF;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

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

/* Contact Form Layout */
.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

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

.form-control {
    width: 100%;
    background: rgba(10, 15, 29, 0.6);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 14px 18px;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-btn-wrapper {
    margin-top: 10px;
}

.form-btn-wrapper .btn {
    width: 100%;
    padding: 16px;
}

/* Success / Error Notification states */
.form-notification {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-notification.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34D399;
    display: block;
}

.form-notification.error {
    background: var(--color-urgent-bg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #F87171;
    display: block;
}

/* Visit Us Section */
.visit-us {
    background-color: var(--bg-secondary);
}

.visit-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.location-details {
    display: flex;
    flex-direction: column;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px;
    margin-top: 20px;
}

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

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

.location-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.location-info h4 {
    color: #FFF;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.location-info p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    white-space: pre-line;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-card);
    height: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 15, 29, 0.7), rgba(10, 15, 29, 0.75)),
        url('https://api.mapbox.com/styles/v1/mapbox/dark-v10/static/77.2167,28.6304,14,0/600x400?access_token=mock') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.map-glow-pin {
    width: 24px;
    height: 24px;
    background: var(--color-gold);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px var(--color-gold);
    animation: pulseGold 2s infinite;
    margin-bottom: 20px;
}

.map-glow-pin::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    top: -8px;
    left: -8px;
    opacity: 0;
    animation: ripple 2s infinite;
}

.map-placeholder h4 {
    font-size: 1.3rem;
    color: #FFF;
    margin-bottom: 10px;
}

.map-placeholder p {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    max-width: 320px;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    animation: rippleGreen 2.5s infinite;
}

.whatsapp-tooltip {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card-hover);
    color: #FFF;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    visibility: hidden;
    transition: var(--transition-smooth);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

/* Footer styling */
footer {
    background-color: #050810;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 5% 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
    max-width: 320px;
}

.footer-links h4,
.footer-disclaimer h4 {
    color: #FFF;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

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

.disclaimer-text {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

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

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.social-link:hover {
    background: var(--color-gold);
    color: #0A0F1D;
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

/* Animations */
@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes rippleGreen {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Trigger Classes */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive media queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .visit-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

    .hero-title {
        font-size: 2.6rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1100;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: var(--transition-smooth);
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 20px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .testimonials-container {
        padding: 0 10px;
    }

    .testimonials-wrapper {
        height: 420px;
        /* larger for smaller screens where text wraps */
    }

    .testimonial-slide {
        padding: 25px;
    }

    .slider-btn {
        display: none;
        /* Hide arrow buttons on mobile, rely on swipe / indicator dots */
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 5%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat-item h4 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        display: block;
    }

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

    .nav-menu {
        width: 100%;
    }

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

    .contact-form-wrapper {
        padding: 20px 15px;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .hero-glass-card {
        padding: 20px;
    }

    .lightbox-modal {
        padding: 10px;
    }

    .lightbox-content-wrapper {
        padding: 15px;
        gap: 15px;
    }

    .lightbox-details-box h3 {
        font-size: 1.4rem;
    }

    .lightbox-image-box {
        max-height: 40vh;
    }

    .lightbox-image-box img {
        max-height: 40vh;
    }

    .qr-code {
        max-width: 100%;
        height: auto;
    }
}

/* --- NPA Guides Section --- */
.npa-guides {
    background-color: var(--bg-primary);
}

.guides-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--glow-gold);
}

.guide-img-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #0d1323;
}

.guide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-card:hover .guide-img {
    transform: scale(1.05);
}

.guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 29, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    color: var(--color-gold-light);
    font-weight: 600;
    font-family: var(--font-header);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    z-index: 2;
}

.guide-card:hover .guide-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.guide-card:hover .zoom-icon {
    transform: scale(1.1);
    background: var(--color-gold);
    color: #0A0F1D;
}

.guide-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-info h3 {
    font-size: 1.25rem;
    color: #FFF;
    margin-bottom: 10px;
}

.guide-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 16, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--color-text-secondary);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2010;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-gold);
    transform: scale(1.1);
}

.lightbox-content-wrapper {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.lightbox-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: #070a14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 75vh;
}

.lightbox-image-box img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.lightbox-details-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.lightbox-details-box h3 {
    font-size: 1.8rem;
    color: #FFF;
    margin-bottom: 20px;
    border-left: 4px solid var(--color-gold);
    padding-left: 15px;
}

.lightbox-details-box p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.lightbox-actions .lightbox-cta {
    width: 100%;
    padding: 16px;
    text-align: center;
}

/* Lightbox responsive adjustments */
@media (max-width: 900px) {
    .lightbox-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        max-height: 95vh;
    }

    .lightbox-image-box {
        max-height: 50vh;
    }

    .lightbox-image-box img {
        max-height: 50vh;
    }

    .lightbox-modal {
        padding: 20px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
    }
}

/* Gallery Section (Carousel) */
.gallery-wrapper {
    position: relative;
    max-width: 800px;
    /* Made smaller and more ambient */
    margin: 0 auto;
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    /* Removed gap so one image fits perfectly at a time */
    width: 100%;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.gallery-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for cleaner ambient look */
}

.gallery-slider-btn {
    position: absolute;
    top: calc(50% - 10px);
    /* Centered considering scrollbar */
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 15, 29, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.gallery-slider-btn:hover {
    background: var(--color-gold);
    color: #000;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.gallery-btn-prev {
    left: -22px;
}

.gallery-btn-next {
    right: -22px;
}

@media (max-width: 768px) {
    .gallery-slider-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe */
    }
}

.gallery-item {
    flex: 0 0 100%;
    /* Show exactly one image at a time */
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    background: rgba(10, 15, 29, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    /* Reduced height for a more ambient look */
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Donation Box */
.donation-box {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.donation-box h3 {
    color: var(--color-gold);
    margin-bottom: 10px;
}

.donation-box p {
    font-size: 0.9rem;
    color: #A0AEC0;
    margin-bottom: 15px;
}

.donation-box .qr-code {
    border-radius: 8px;
    padding: 10px;
    background: #FFF;
}