:root {
    --lime: #A6C400; --gold: #D4AF37; --charcoal: #222222; --muted: #666666;
    --white: #FFFFFF; --off-white: #F7F7F4; --black: #111111; --border: rgba(0,0,0,0.08);
    --font-primary: 'Jost', sans-serif; 
    --font-serif: "Garamond", "Times New Roman", serif;
    --font-premium: 'Cormorant Garamond', var(--font-serif);
}

/* GLOBAL RESETS & SAFETY NETS */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Stops horizontal scrolling completely */
}
img, video, canvas {
    max-width: 100%;
    height: auto;
}
body { font-family: var(--font-primary); color: var(--charcoal); line-height: 1.6; background: var(--white); }
a { color: inherit; text-decoration: none; transition: color 0.3s; }

/* Grid/Flex Shrink Fix - Prevents overflow on all sections */
.intro-text, .intro-image, .founder-text, .founder-image, 
.direction-item, .principle-item, .practice-item, .expect-item {
    min-width: 0;
}

/* NAVBAR */
.navbar { background: var(--black); height: 72px; display: flex; justify-content: center; align-items: center; padding: 0 4%; position: sticky; top: 0; z-index: 1000; }
.navbar-container { width: 100%; max-width: 1200px; display: flex; justify-content: space-between; align-items: center; }
.favicon img { height: 58px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { color: var(--white); font-size: 0.92rem; }
.nav-links a:hover, .nav-links a.active { color: var(--lime); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* HEADER (Black) */
.page-header { background: var(--black); color: var(--white); padding: 120px 5% 80px; text-align: center; }
.page-header .eyebrow { color: var(--lime); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.page-header h1 { font-family: var(--font-premium); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 500; }
.breadcrumb { display: flex; justify-content: center; list-style: none; color: rgba(255,255,255,0.6); gap: 10px; }
.breadcrumb a { color: var(--lime); }

/* INTRO (White, Split Layout) */
.intro-section { padding: 100px 5%; background: var(--white); border-bottom: 1px solid var(--border); }
.intro-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }

.intro-text .eyebrow { color: var(--lime); font-size: 0.8rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; }
.intro-text h2 { font-family: var(--font-premium); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -1px; color: var(--charcoal); margin-bottom: 30px; }
.intro-text p.lead { font-size: 1.15rem; line-height: 1.8; color: #444; margin-bottom: 20px; }
.intro-text p:not(.lead) { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-bottom: 20px; }

.intro-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.stat-block { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-premium); font-size: 2.5rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 5px; }

.intro-image { position: relative; height: clamp(300px, 50vw, 500px); overflow: hidden; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.intro-image img { width: 100%; height: 100%; object-fit: cover; ; transition: filter 0.5s ease, transform 0.5s ease; }
.intro-image:hover img {  transform: scale(1.03); }
.image-caption { position: absolute; bottom: 20px; left: 20px; background: rgba(0, 0, 0, 0.8); color: #fff; padding: 8px 14px; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; border-left: 3px solid var(--lime); font-weight: 500; }

/* DIRECTION (Off-white) */
.direction-section { padding: 90px 5%; background: var(--off-white); }
.section-title { max-width: 700px; margin: 0 auto 50px; text-align: center; }
.section-title h2 { font-family: var(--font-premium); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: var(--charcoal); margin-bottom: 12px; }
.section-title h2::after { content: ""; display: block; width: 36px; height: 2px; margin: 16px auto 0; background: var(--lime); }
.section-title p { color: var(--muted); }
.direction-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-top: 1px solid var(--border); padding-top: 30px; }
.direction-item { padding-right: 20px; }
.direction-number { font-family: var(--font-premium); color: var(--gold); font-size: 1.2rem; display: block; margin-bottom: 15px; }
.direction-item h3 { font-family: var(--font-premium); color: var(--charcoal); font-size: 1.8rem; margin-bottom: 15px; }
.direction-item p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

/* PRINCIPLES (White) */
.principles-section { padding: 90px 5%; background: var(--white); }
.principles-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; border-top: 1px solid var(--border); padding-top: 30px; }
.principle-item { padding-right: 20px; }
.principle-number { font-family: var(--font-premium); color: var(--gold); font-size: 1.2rem; display: block; margin-bottom: 15px; }
.principle-item h4 { font-family: var(--font-premium); color: var(--charcoal); font-size: 1.4rem; margin-bottom: 12px; }
.principle-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* FOUNDER (Charcoal/Black) */
.founder-section { padding: 100px 5%; background: var(--charcoal); color: var(--white); }
.founder-content { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.founder-image img { width: 100%; max-width: 350px; height: auto; border-radius: 4px;  }
.founder-text .eyebrow { color: var(--lime); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.founder-text h2 { font-family: var(--font-premium); color: var(--white); font-size: 2.5rem; margin-bottom: 5px; }
.founder-role { color: var(--gold); font-weight: 500; margin-bottom: 20px; }
.founder-text p { color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 20px; }
.text-link { color: var(--lime); font-weight: 500; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: var(--lime); }

/* PRACTICE AREAS (Off-white) */
.practice-section { padding: 90px 5%; background: var(--off-white); }
.practice-list { max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--border); }
.practice-item { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--border); font-size: 1.2rem; font-weight: 500; color: var(--charcoal); }
.practice-item span { color: var(--gold); font-family: var(--font-premium); }
.practice-link { text-align: center; margin-top: 30px; }

/* EXPECTATION (White) */
.expect-section { padding: 90px 5%; background: var(--white); }
.expect-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 1px solid var(--border); padding-top: 30px; }
.expect-item { padding-right: 20px; }
.expect-item h4 { font-family: var(--font-premium); color: var(--charcoal); font-size: 1.3rem; margin-bottom: 12px; }
.expect-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* CTA (Black) */
.cta-section { background: var(--black); color: var(--white); text-align: center; padding: 100px 5%; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-family: var(--font-premium); font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 20px; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.8; }
.cta-content .btn { background: var(--lime); color: var(--black); padding: 14px 28px; border-radius: 4px; font-weight: 500; }


.contact-items { display: flex; align-items: flex-start; margin-bottom: 15px; }
.contact-items i { color: var(--lime); margin-right: 12px; }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid #333; color: #777; font-size: 0.9rem; }

/* WHATSAPP BUTTON (Minimal) */
.whatsapp-float { position: fixed; bottom: 40px; right: 30px; background: #25D366; color: #fff; padding: 12px 24px; border-radius: 999px; display: flex; align-items: center; gap: 10px; font-family: var(--font-primary); font-size: 1rem; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,0.15); z-index: 1000; }
.whatsapp-float i { font-size: 1.4rem; }
.whatsapp-float:hover { background: #20ba5a; }

/* =========================================
   CONSOLIDATED RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .intro-container { grid-template-columns: 1fr; gap: 40px; }
    .intro-image { height: 350px; }
    .direction-grid, .founder-content { grid-template-columns: 1fr; gap: 30px; }
    .principles-grid { grid-template-columns: 1fr 1fr; }
    .expect-grid { grid-template-columns: 1fr; }
    .intro-content h2 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links { position: fixed; top: 72px; left: 0; width: 100%; background-color: var(--black); flex-direction: column; padding: 20px 5%; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999; }
    .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .principles-grid { grid-template-columns: 1fr; }
    .intro-stats { gap: 20px; }
    .practice-item { grid-template-columns: 40px 1fr; font-size: 1rem; }
    .whatsapp-float { bottom: 90px; right: 20px; padding: 10px 18px; font-size: 0.9rem; }
}
/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 5% 25px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-favicon img {
    width: 180px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-links h3, 
.footer-contact h3 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a, 
.contact-items {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--lime);
}

.contact-items {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-items i {
    color: var(--lime);
    margin-right: 12px;
    margin-top: 5px;
}

.contact-items a {
    color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    color: var(--lime);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* =====================
   UNIFIED FOOTER & WHATSAPP (Matches Index.css)
   ===================== */

footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 5% 25px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-favicon img {
    width: 180px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-links h3, 
.footer-contact h3 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a, 
.contact-items {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--lime);
}

.contact-items {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-items i {
    color: var(--lime);
    margin-right: 12px;
    margin-top: 5px;
}

.contact-items a {
    color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    color: var(--lime);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* WhatsApp Float - Friendly Pill Style (Matches Index) */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    padding: 15px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whatsapp-float i {
    font-size: 1.6rem;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.whatsapp-float span {
    color: #ffffff;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #2be06f 0%, #14a085 100%);
}

/* Mobile - Moved up to avoid footer credits */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 50px;
        right: 20px;
        padding: 12px 22px;
        font-size: 0.9rem;
    }
    .whatsapp-float i {
        font-size: 1.4rem;
    }
}

/* Ensure footer container stacks on mobile */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
