/* Import professional fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Lora:wght@400;500;600;700&family=Crimson+Pro:wght@300;400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
    /* Color Palette - Sophisticated Legal Theme */
    --primary-gold: #c8a35f;
    --primary-gold-dark: #a68749;
    --primary-gold-light: #e5d4a8;
    --deep-charcoal: #1a1a1a;
    --warm-charcoal: #2c2c2c;
    --soft-charcoal: #3d3d3d;
    --cream-white: #faf8f3;
    --warm-white: #f5f3ed;
    --accent-burgundy: #8b2635;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-muted: #8a8a8a;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Crimson Pro', serif;
    --font-accent: 'Lora', serif;
    
    /* Spacing & Layout */
    --border-radius: 2px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-in-out;
    
    /* Shadows */
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--cream-white) 100%);
    color: var(--text-primary);
    font-size: 17px;
    overflow-x: hidden;
}

/* ============================================
   GLASSMORPHISM NAVIGATION BAR
   Modern, centered, responsive design
   ============================================ */

header {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(200, 163, 95, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #c8a35f 50%, transparent 100%);
}

.navbar {
    padding: 0.8rem 0;
}

.navbar .container-xl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo - Left aligned, no text */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    border: 2.5px solid #c8a35f;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(200, 163, 95, 0.4);
    object-fit: cover;
}

.navbar-brand:hover img {
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 6px 25px rgba(200, 163, 95, 0.6);
    border-color: #e5d4a8;
}

/* Navigation - Centered */
.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.76rem;
    margin: 0;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-item {
    position: relative;
}

.nav-item .nav-link {
    color: rgba(250, 248, 243, 0.9) !important;
    font-weight: 500;
    font-size: 1.05em;
    font-family: 'Lora', serif;
    padding: 0.65rem 1.3rem !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    border-radius: 6px;
    display: block;
    background: transparent;
}

/* Glassmorphism effect on hover */
.nav-item .nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(200, 163, 95, 0.08);
    border-radius: 6px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-item .nav-link:hover::after {
    opacity: 1;
    background: rgba(200, 163, 95, 0.15);
}

/* Underline animation */
.nav-item .nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c8a35f, transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-item .nav-link:hover {
    color: #e5d4a8 !important;
    transform: translateY(-2px);
}

.nav-item .nav-link:hover::before {
    width: 80%;
}

/* Active Link State */
.nav-item .nav-link.active {
    color: #c8a35f !important;
    background: rgba(200, 163, 95, 0.12);
    backdrop-filter: blur(10px);
}

.nav-item .nav-link.active::before {
    width: 80%;
}

/* Mobile Menu Toggle Button */
.navbar-toggler {
    border: 2px solid rgba(200, 163, 95, 0.5);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: rgba(200, 163, 95, 0.1);
    backdrop-filter: blur(10px);
    display: none;
}

.navbar-toggler:hover {
    background: rgba(200, 163, 95, 0.2);
    border-color: #c8a35f;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(200, 163, 95, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets & Small Laptops (992px - 1199px) */
@media (max-width: 1199px) {
    .nav {
        gap: 0.2rem;
    }
    
    .nav-item .nav-link {
        font-size: 1em;
        padding: 0.6rem 1.1rem !important;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 50px;
        width: 50px;
    }
    
    .nav {
        gap: 0.2rem;
    }
    
    .nav-item .nav-link {
        font-size: 0.95em;
        padding: 0.55rem 0.9rem !important;
    }
}

/* Small Tablets & Large Phones (576px - 767px) */
@media (max-width: 767px) {
    header {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .navbar {
        padding: 0.7rem 0;
    }
    
    .navbar .container-xl {
        position: relative;
    }
    
    .navbar-toggler {
        display: block;
        margin-left: auto;
    }
    
    .navbar-brand img {
        height: 48px;
        width: 48px;
    }
    
    /* Mobile menu - Stack vertically */
    .nav {
        position: static;
        transform: none;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        padding: 1rem 0;
        display: none;
        background: rgba(44, 44, 44, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .nav.show {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-item .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem !important;
        font-size: 1.05em;
    }
    
    .nav-item .nav-link::before {
        bottom: 0;
        height: 2px;
    }
}

/* Mobile Phones (up to 575px) */
@media (max-width: 575px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar-brand img {
        height: 45px;
        width: 45px;
    }
    
    .nav-item .nav-link {
        font-size: 1em;
        padding: 0.75rem 1rem !important;
    }
}

/* Very Small Phones (up to 375px) */
@media (max-width: 375px) {
    .navbar-brand img {
        height: 42px;
        width: 42px;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }
    
    .navbar-toggler-icon {
        width: 1.3rem;
        height: 1.3rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        height: 40px;
        width: 40px;
    }
    
    .nav-item .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.95em;
    }
}

/* Hero & Banner Sections */
.hero-image-gallery img {
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    filter: brightness(0.9) contrast(1.1);
}

.hero-image-gallery img:hover {
    transform: scale(1.02);
    filter: brightness(1) contrast(1.15);
    box-shadow: var(--shadow-strong);
}

.profile-pic {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.profile-pic:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(200, 163, 95, 0.4);
}

/* Typography Utilities */
.text-primary-dark {
    color: var(--primary-gold-dark) !important;
    font-family: var(--font-display);
}

.text-accent {
    color: var(--primary-gold) !important;
    font-family: var(--font-display);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.display-4 {
    font-weight: 700;
    letter-spacing: 1px;
}

.lead {
    font-family: var(--font-accent);
    font-size: 1.2em;
    line-height: 1.8;
    color: var(--text-secondary);
}

p {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-secondary);
}

.mainheading {
    text-align: center;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 2.5em;
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.mainheading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.textsec {
    text-align: center;
    font-weight: 500;
    font-family: var(--font-accent);
    color: var(--text-secondary);
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Background Sections */
.bgcontact,
.bgnews,
.bgabout {
    background: linear-gradient(135deg, rgba(200, 163, 95, 0.08) 0%, rgba(200, 163, 95, 0.03) 100%),
                url("images/about.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.bgcontact::before,
.bgnews::before,
.bgabout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(250, 248, 243, 0.95) 0%, rgba(245, 243, 237, 0.9) 100%);
    z-index: 0;
}

.bgcontact > *,
.bgnews > *,
.bgabout > * {
    position: relative;
    z-index: 1;
}

.bgexpert {
    background: linear-gradient(135deg, rgba(200, 163, 95, 0.05) 0%, rgba(200, 163, 95, 0.02) 100%),
                url("images/expert.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Cards & Containers */
.card {
    border: none;
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    background: white;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.card-expertise {
    transition: var(--transition-smooth);
    border: 1px solid rgba(200, 163, 95, 0.2);
    border-radius: 4px;
    background: white;
    position: relative;
    overflow: hidden;
}

.card-expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.card-expertise:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-gold);
}

.card-expertise:hover::before {
    transform: scaleX(1);
}

.shadow-sm {
    box-shadow: var(--shadow-subtle) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-strong) !important;
}

.rounded {
    border-radius: 4px !important;
}

/* Buttons */
.btn-accent {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    color: #fff;
    border: 2px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-accent);
    letter-spacing: 0.5px;
    padding: 0.75rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(200, 163, 95, 0.3);
    text-transform: uppercase;
    font-size: 0.95em;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--primary-gold-dark) 0%, var(--primary-gold) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 163, 95, 0.5);
    border-color: var(--primary-gold-light);
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-accent:active {
    transform: translateY(0);
}

/* Forms */
.form-label {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.form-control,
.form-select {
    border: 1px solid rgba(200, 163, 95, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    background: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(200, 163, 95, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.error {
    font-size: 0.85em;
    font-family: var(--font-accent);
    display: block;
    margin-top: 0.25rem;
}

.text_color {
    color: #2d7a3e !important;
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--deep-charcoal) 0%, #0f0f0f 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

footer a.nav-link {
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-accent);
    color: #b8b8b8 !important;
    transition: var(--transition-fast);
    padding: 0.3rem 0;
}

footer a.nav-link:hover {
    background-color: transparent;
    color: var(--primary-gold) !important;
    padding-left: 8px;
}

footer .footer-logo {
    width: 140px;
    height: 140px;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 0 25px rgba(200, 163, 95, 0.3);
    transition: var(--transition-smooth);
    border-radius: 110px;
}

footer .footer-logo:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 0 35px rgba(200, 163, 95, 0.5);
}

footer .footer-heading {
    font-size: 1.3em;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-gold);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    text-align: center;
    align-items: center;
    justify-content: center;
}

footer .footer-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
}

footer,
footer .text-muted,
footer .footer-description {
    color: #b8b8b8 !important;
    font-family: var(--font-body);
}

footer .footer-description {
    line-height: 1.7;
    font-size: 0.95em;
}

footer a.text-muted {
    transition: var(--transition-fast);
}

footer a.text-muted:hover {
    color: var(--primary-gold) !important;
    text-decoration: underline;
}

footer .copyright p {
    margin: 0;
    font-size: 0.9em;
    font-family: var(--font-accent);
    color: #6a6a6a !important;
    letter-spacing: 0.5px;
}

/* Footer Links Styling */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    font-size: 0.95em;
    font-family: var(--font-accent);
}

/* Map Section in Footer */
.map-section-footer {
    background: linear-gradient(135deg, rgba(200, 163, 95, 0.05) 0%, rgba(200, 163, 95, 0.02) 100%);
    border: 1px solid rgba(200, 163, 95, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.footer-map {
    border: 3px solid var(--primary-gold);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.footer-map:hover {
    box-shadow: 0 12px 35px rgba(200, 163, 95, 0.4);
    transform: translateY(-3px);
}

/* Quick Contact Numbers in Footer */
.contact-numbers-footer {
    background: linear-gradient(135deg, rgba(200, 163, 95, 0.05) 0%, rgba(200, 163, 95, 0.02) 100%);
    border: 1px solid rgba(200, 163, 95, 0.2);
    border-radius: 8px;
    padding: 2rem 1.5rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 163, 95, 0.15);
    border-radius: 6px;
    padding: 1rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.contact-item:hover {
    background: rgba(200, 163, 95, 0.08);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(200, 163, 95, 0.2);
}

.contact-label {
    color: #b8b8b8;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.8em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-number {
    color: var(--primary-gold);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95em;
    text-decoration: none;
    transition: var(--transition-fast);
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.contact-number:hover {
    color: var(--primary-gold-light);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
   background: rgba(200, 163, 95, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.whatsapp-icon:hover {
   background: rgba(200, 163, 95, 0.1);
    transform: scale(1.1);
   background: rgba(200, 163, 95, 0.1);
}

.whatsapp-icon i {
    font-size: 1.1em;
}

/* Footer Responsive Design */
@media (max-width: 991px) {
    .map-section-footer {
        margin-top: 2rem;
    }
    
    .footer-map {
        height: 300px !important;
    }
}

@media (max-width: 767px) {
    footer .footer-logo {
        width: 100px;
        height: 100px;
    }
    
    footer .footer-heading {
        font-size: 1.1em;
        margin-bottom: 1rem;
    }
    
    .map-section-footer {
        padding: 1rem;
    }
    
    .footer-map {
        height: 250px !important;
    }
    
    .contact-numbers-footer {
        padding: 1.5rem 1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-label {
        font-size: 0.75em;
    }
    
    .contact-number {
        font-size: 0.85em;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 575px) {
    .contact-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-number {
        font-size: 0.9em;
    }
    
    .whatsapp-icon {
        align-self: flex-start;
    }
}

footer iframe {
    border: 3px solid var(--primary-gold);
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

footer iframe:hover {
    box-shadow: var(--shadow-strong);
}

/* Links */
.ttt {
    text-decoration: none;
    transition: var(--transition-fast);
}

.ttt:hover {
    color: var(--primary-gold);
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Utility Classes */
.border-bottom {
    border-bottom: 2px solid rgba(200, 163, 95, 0.2) !important;
}

hr {
    border-color: rgba(200, 163, 95, 0.2);
    opacity: 1;
}

/* Icon Styles */
.bi {
    transition: var(--transition-fast);
}

a:hover .bi {
    transform: scale(1.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand h3 {
        font-size: 1.2em;
    }
    
    .nav-item .nav-link {
        font-size: 1em;
        padding: 0.4rem 0.8rem !important;
    }
    
    .mainheading {
        font-size: 2em;
    }
    
    footer .footer-logo {
        width: 100px;
        height: 100px;
    }
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.card-expertise {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: var(--primary-gold);
    color: white;
}

::-moz-selection {
    background: var(--primary-gold);
    color: white;
}

/* ============================================
   HOME PAGE SPECIFIC STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--warm-white) 50%, #f0ebe3 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 163, 95, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
    color: var(--deep-charcoal);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 600;
    font-family: var(--font-accent);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(200, 163, 95, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.2em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 0.9em;
    color: var(--text-secondary);
    margin: 0;
}

.hero-carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.hero-carousel img {
    height: 500px;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
    transition: var(--transition-smooth);
}

.hero-carousel .carousel-item:hover img {
    filter: brightness(0.9) contrast(1.15);
    transform: scale(1.02);
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 2rem;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel-caption h5 {
    font-family: var(--font-display);
    font-size: 1.3em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    width: 100%;
    height: auto;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-medium);
    font-family: var(--font-accent);
    font-weight: 600;
}

.about-badge i {
    font-size: 1.5em;
}

.section-label {
    display: inline-block;
    color: var(--primary-gold);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8em;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.15em;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.quote-box {
    background: linear-gradient(135deg, rgba(200, 163, 95, 0.08) 0%, rgba(200, 163, 95, 0.03) 100%);
    border-left: 4px solid var(--primary-gold);
    padding: 1.8rem;
    margin: 2rem 0;
    border-radius: 4px;
    position: relative;
}

.quote-icon {
    font-size: 2em;
    color: var(--primary-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 15px;
}

.quote-text {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.05em;
    color: var(--text-primary);
    margin: 0;
    padding-left: 2rem;
    line-height: 1.8;
}

.about-text {
    font-family: var(--font-body);
    font-size: 1.05em;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--text-primary);
}

.feature-item i {
    color: var(--primary-gold);
    font-size: 1.3em;
}

/* Practice Areas Section */
.practice-areas-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f6f1 0%, var(--warm-white) 100%);
}

.practice-card {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(200, 163, 95, 0.1);
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-gold);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card.featured {
    border: 2px solid var(--primary-gold);
    background: linear-gradient(135deg, rgba(200, 163, 95, 0.03) 0%, white 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    font-family: var(--font-accent);
}

.practice-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(200, 163, 95, 0.3);
}

.practice-icon i {
    font-size: 2em;
    color: white;
}

.practice-title {
    font-family: var(--font-display);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 1rem;
}

.practice-description {
    font-family: var(--font-body);
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.practice-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.practice-list li {
    font-family: var(--font-accent);
    font-size: 0.95em;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.practice-list i {
    color: var(--primary-gold);
    font-size: 1.2em;
    margin-right: 0.5rem;
}

.practice-link {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--primary-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.practice-link:hover {
    gap: 1rem;
    color: var(--primary-gold-dark);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: white;
}

.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(200, 163, 95, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-gold);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-fast);
    transform: translateY(20px);
}

.team-card:hover .social-icon {
    transform: translateY(0);
}

.social-icon:hover {
    background: var(--primary-gold-dark);
    transform: scale(1.1) translateY(0);
}

.team-content {
    padding: 1.8rem;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.4em;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 0.3rem;
}

.team-role {
    font-family: var(--font-accent);
    font-size: 0.95em;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    font-family: var(--font-body);
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 163, 95, 0.1);
    color: var(--primary-gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    font-family: var(--font-accent);
}

.team-badge i {
    font-size: 1em;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--warm-charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 163, 95, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(200, 163, 95, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-section .section-label,
.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-label {
    color: var(--primary-gold);
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-carousel {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(200, 163, 95, 0.3);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.quote-icon-top {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(200, 163, 95, 0.4);
}

.quote-icon-top i {
    font-size: 2em;
    color: white;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1.15em;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin: 2rem 0 1.5rem 0;
    text-align: center;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--primary-gold);
    font-size: 1.1em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(200, 163, 95, 0.2);
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 163, 95, 0.1);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
}

.author-avatar i {
    font-size: 2em;
    color: var(--primary-gold);
}

.author-info {
    text-align: left;
}

.author-name {
    font-family: var(--font-display);
    font-size: 1.1em;
    font-weight: 700;
    color: white;
    margin: 0;
}

.author-location {
    font-family: var(--font-accent);
    font-size: 0.9em;
    color: var(--primary-gold);
    margin: 0;
}

.testimonial-indicators {
    bottom: -50px;
}

.testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(200, 163, 95, 0.3);
    border: none;
    margin: 0 5px;
    transition: var(--transition-fast);
}

.testimonial-indicators button.active {
    background-color: var(--primary-gold);
    width: 30px;
    border-radius: 6px;
}

.testimonial-control {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.testimonial-control .control-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(200, 163, 95, 0.3);
}

.testimonial-control .control-icon i {
    font-size: 1.5em;
    color: white;
}

.testimonial-control:hover .control-icon {
    background: linear-gradient(135deg, var(--primary-gold-dark) 0%, var(--primary-gold) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(200, 163, 95, 0.5);
}

.carousel-control-prev.testimonial-control {
    left: -70px;
}

.carousel-control-next.testimonial-control {
    right: -70px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--warm-charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 163, 95, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 163, 95, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5em;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-family: var(--font-body);
    font-size: 1.15em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-btn {
    font-family: var(--font-accent);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
    background: var(--primary-gold);
    color: white;
}

/* Active Navigation State */
.nav-item .nav-link.active {
    color: var(--primary-gold) !important;
}

.nav-item .nav-link.active::before {
    width: 80%;
}

/* Responsive Adjustments for Home Page */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2.2em;
    }
    
    .cta-title {
        font-size: 2em;
        margin-bottom: 1.5rem;
    }
    
    .cta-btn {
        width: 100%;
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.8em;
    }
    
    .stat-label {
        font-size: 0.8em;
    }
    
    .hero-carousel img {
        height: 300px;
    }
    
    .about-section,
    .practice-areas-section,
    .team-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .about-badge {
        bottom: 15px;
        left: 15px;
        padding: 0.7rem 1rem;
        font-size: 0.9em;
    }
    
    .practice-card,
    .team-card {
        margin-bottom: 1.5rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 1.8em;
    }
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .carousel-control-prev.testimonial-control {
        left: -50px;
    }
    
    .carousel-control-next.testimonial-control {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1em;
    }
    
    .quote-icon-top {
        width: 50px;
        height: 50px;
    }
    
    .quote-icon-top i {
        font-size: 1.5em;
    }
    
    .carousel-control-prev.testimonial-control,
    .carousel-control-next.testimonial-control {
        display: none;
    }
    
    .testimonial-indicators {
        bottom: -40px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 1.8em;
    }
}

/* ============================================
   FIXED STYLES FOR WHATSAPP ICONS AND POPULAR BADGES
   ============================================ */

/* CEO Card Special Styling */
.ceo-card {
    border: 2px solid var(--primary-gold);
    position: relative;
}

.ceo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    font-family: var(--font-accent);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(200, 163, 95, 0.4);
}

/* Team Social Icons - FIXED WhatsApp Icons */
.whatsapp-icon-team {
    background: var(--primary-gold) !important;
    color: white !important;
}

.whatsapp-icon-team:hover {
    background: var(--primary-gold-dark) !important;
    transform: scale(1.1) translateY(0) !important;
}

.email-icon {
    background: var(--primary-gold) !important;
    color: white !important;
}

.email-icon:hover {
    background: var(--primary-gold-dark) !important;
}

/* Keep all Popular badges consistent gold color */
.featured-badge {
    background: var(--primary-gold) !important;
    color: white !important;
}

/* Footer Layout Improvements */
.footer-links li a {
    padding: 0.25rem 0;
    display: inline-block;
    width: 100%;
}

.footer-links li a:hover {
    padding-left: 8px;
}

/* Map Section in Footer */
.map-section-footer {
    background: linear-gradient(135deg, rgba(200, 163, 95, 0.05) 0%, rgba(200, 163, 95, 0.02) 100%);
    border: 1px solid rgba(200, 163, 95, 0.2);
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
}

.footer-map {
    border: 3px solid var(--primary-gold);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

/* Footer Responsive Design */
@media (max-width: 991px) {
    .map-section-footer {
        margin-top: 2rem;
    }
    
    .footer-map {
        height: 250px !important;
    }
}

@media (max-width: 767px) {
    footer .footer-logo {
        width: 100px;
        height: 100px;
    }
    
    footer .footer-heading {
        font-size: 1.1em;
        margin-bottom: 1rem;
    }
    
    .map-section-footer {
        padding: 1rem;
    }
    
    .footer-map {
        height: 200px !important;
    }
}

/* Team Badge Improvements */
.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 163, 95, 0.1);
    color: var(--primary-gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    font-family: var(--font-accent);
    margin-top: 0.5rem;
    width: 100%;
}

.team-badge i {
    font-size: 1em;
    color: var(--primary-gold);
}

.team-badge.mt-2 {
    margin-top: 0.5rem;
}

/* Practice Cards - All with Popular Badge (gold color) */
.practice-card {
    position: relative;
}

.map-container{
    width: 800px!important;
    
}