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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--primary-dark);
    overflow-x: hidden;
}

h1, h2, h3, .logo-font {
    font-family: 'Montserrat', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER & NAVIGATION */
/* HEADER & PREMIUM RESPONSIVE NAVIGATION CSS */
:root {
    --primary-dark: #0a192f;
    --accent-gold: #c5a059;
    --white: #ffffff;
    --text-light: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

header.main-header {
    background: var(--primary-dark);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 2000; /* Stays flawlessly over all components overlay */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Elite Branding Logo Configurations */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.08);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

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

.logo-text .name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    color: var(--white);
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 3.2px;
    margin-top: 2px;
}

/* Nav Menu Desk Setup */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

/* Premium Underline Hover Animation */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--accent-gold);
}

.nav-links li a:hover::after {
    width: calc(100% - 32px);
}

/* Elegant CTA Button Layout */
.nav-links li a.nav-cta {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 3px;
    margin-left: 10px;
}

.nav-links li a.nav-cta::after {
    display: none; /* No line under button */
}

.nav-links li a.nav-cta:hover {
    background: var(--accent-gold);
    color: var(--primary-dark) !important;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

/* Mobile Toggle Hamburger styling */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    z-index: 2100;
}

.nav-container-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 12, 22, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1998;
}

/* ULTRA RESPONSIVE MEDIA BREAKPOINT RULE */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    .nav-container-mask.active {
        display: block;
    }

    /* Mobile Drawer Menu Transformation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default offscreen */
        width: 280px;
        height: 100vh;
        background: #060e1a; /* Deeper midnight blue flavor */
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px;
        gap: 25px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1999;
    }

    .nav-links.active {
        right: 0; /* Slides smooth horizontally inward */
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
    }

    .nav-links li a::after {
        left: 0;
    }

    .nav-links li a:hover::after {
        width: 40px; /* Short underlines on drawer mode */
    }

    .nav-links li a.nav-cta {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
        background: var(--accent-gold);
        color: var(--primary-dark);
    }
}

@media (max-width: 480px) {
    .logo-text .name {
        font-size: 1.1rem;
    }
    .logo-text .sub {
        font-size: 0.62rem;
        letter-spacing: 2.2px;
    }
}

/* HERO SECTION - THE MASTERPIECE */
.hero-premium {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), 
                url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content { width: 100%; }
.hero-sub { color: var(--accent-gold); text-transform: uppercase; letter-spacing: 5px; margin-bottom: 1rem; font-weight: 600; }
.hero-premium h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-premium h1 span { color: var(--accent-gold); }
.hero-desc { max-width: 800px; margin: 0 auto 2.5rem; font-size: 1.1rem; color: var(--text-muted); }

/* BUTTONS */
.btn-gold {
    background: var(--accent-gold);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--accent-gold);
    transition: var(--transition);
}
.btn-gold:hover { background: transparent; color: var(--accent-gold); }

/* ABOUT SECTION */
/* ABOUT SECTION MODERN REWRITE */
.about-section { 
    padding: 100px 0; 
    background: var(--white); 
}

.about-flex { 
    display: flex; 
    gap: 60px; 
    align-items: flex-start; /* Aligns items to top if text is long */
}

.about-img { 
    flex: 1; 
    position: sticky;
    top: 120px; /* Kepps image in view while reading long text on desktop */
}

.about-img img { 
    width: 100%; 
    border-radius: 6px; 
    box-shadow: 25px 25px 0px -5px var(--accent-gold); 
}

.about-text { 
    flex: 1.3; 
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-text p {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 0.98rem;
}

/* Legal Expertise List Styling */
.legal-expertise-bullets {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expert-bullet {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 4px 4px 0;
}

.expert-bullet i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.expert-bullet div {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
}

.expert-bullet strong {
    color: var(--primary-dark);
}

/* Professional Credentials Grid Fix */
.about-meta-grid { 
    margin-top: 35px; 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 20px; 
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.meta-item i {
    font-size: 1.4rem;
    color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.1);
    padding: 10px;
    border-radius: 4px;
}

.meta-item span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.meta-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-dark);
    line-height: 1.4;
}

/* RESPONSIVE FIXES FOR ABOUT SECTION */
@media (max-width: 992px) {
    .about-flex { 
        flex-direction: column; 
        gap: 40px;
    }
    .about-img {
        position: relative;
        top: 0;
        width: 80%;
        margin: 0 auto;
    }
    .about-meta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .about-img {
        width: 100%;
    }
    .about-img img {
        box-shadow: 15px 15px 0px -3px var(--accent-gold);
    }
}
.section-head { color: var(--accent-gold); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: 0.9rem; }
.section-title { font-size: 3rem; margin: 10px 0 20px; }

/* COUNTER */
.stats-bar { background: var(--primary-dark); color: var(--white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item h3 { font-size: 3rem; color: var(--accent-gold); margin-bottom: 5px; }

/* SERVICES SECTION MODERNIZATION */
.services-section { 
    padding: 100px 0; 
    background: #f8f9fa; 
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.service-card { 
    background: var(--white); 
    padding: 40px 30px; 
    border-top: 4px solid transparent; /* Subtle gold accent border on top upon hover */
    border-radius: 6px;
    transition: var(--transition); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.service-card:hover { 
    transform: translateY(-10px); 
    border-top-color: var(--accent-gold); 
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.08); 
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1); /* Very subtle gold tint */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: var(--primary-dark);
}

.service-card i { 
    font-size: 1.8rem; 
    color: var(--accent-gold); 
    transition: var(--transition);
}

.service-card:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.service-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.6;
}

/* RESPONSIVE DESIGN ADJUSTMENTS */
@media (max-width: 768px) {
    .services-section { 
        padding: 60px 0; 
    }
    .service-card {
        padding: 30px 20px;
    }
}

/* FOOTER DESIGN MODERNIZE */
.main-footer { 
    background: #050c16; 
    color: var(--white); 
    padding: 80px 0 20px; 
}

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

.footer-logo { 
    font-size: 1.8rem; 
    color: var(--accent-gold); 
    margin-bottom: 15px; 
    display: block; 
    font-weight: 700;
}

.footer-about-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section-title {
    margin-bottom: 25px; 
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Contact Links Styling */
.footer-contact-links p, .footer-location p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px; /* Subtle layout slide effect on hover */
}

.footer-contact-links i, .footer-location i {
    color: var(--accent-gold);
    font-size: 1rem;
    width: 15px;
    text-align: center;
}

/* Social Media Button Icons Group */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insta-icon:hover {
    background: #e1306c;
    color: white;
    border-color: #e1306c;
}

.whatsapp-icon:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

/* Designer Credits Boundary Line */
.designer-credit { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    padding-top: 25px; 
    text-align: center; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.designer-credit a { 
    color: var(--accent-gold); 
    text-decoration: none; 
    font-weight: 500;
}

.designer-credit a:hover {
    text-decoration: underline;
}

/* FOOTER MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 35px;
        margin-bottom: 35px;
    }
    .footer-section-title {
        margin-bottom: 15px;
    }
    .designer-credit {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .about-flex { flex-direction: column; }
    .hero-premium h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* WHY CHOOSE US SECTION */
.why-choose-us {
    padding: 100px 0;
    background-color: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* WHY CHOOSE US CSS UPDATES */
.features-list-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 30px 0 15px 0;
    font-weight: 600;
}

/* Enhancing grid structure for the 8 features on desktop */
.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start; /* Keeps the icon aligned properly if text wraps into 2 lines */
    gap: 12px;
}

.feature-item i {
    color: var(--accent-gold);
    font-size: 1.15rem;
    margin-top: 3px;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

/* Mobile Tweak for list */
@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr; /* Single column layout on small devices */
        gap: 15px;
    }
    .features-list-title {
        font-size: 1.15rem;
    }
}
/* Image Styling */
.why-image-area {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding-left: 20px;
}

.main-why-img {
    width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 80%;
    height: 100%;
    border: 5px solid var(--accent-gold);
    z-index: -1;
    border-radius: 8px;
}

.stats-overlay {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background: var(--primary-dark);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stats-overlay h4 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.stats-overlay p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .why-image-area {
        order: -1; /* Image appears first on mobile */
    }

    .stats-overlay {
        bottom: 10px;
        left: 10px;
    }
}

/* UNIQUE SECTION STYLING */
.unique-section {
    padding: 100px 0;
    background-color: #fcfcfc; /* Very light grey for contrast */
}

.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }

.title-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto 0;
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.unique-card {
    background: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #f1f1f1;
    transition: all 0.4s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Card rises and border glows */
.unique-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--accent-gold);
}

.unique-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-dark);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: 0.4s;
}

.unique-card:hover .unique-icon-wrapper {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: rotateY(360deg);
}

.unique-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 600;
}

.unique-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .unique-grid {
        grid-template-columns: 1fr;
    }
    
    .unique-section {
        padding: 60px 0;
    }
}

/* PROCESS SECTION STYLING */
.process-section {
    padding: 100px 0;
    background-color: var(--primary-dark); /* Dark Navy Background */
    color: white;
}

.mb-60 { margin-bottom: 60px; }

/* Wrapper for Step Cards */
.process-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    position: relative;
}

/* Step Card Styling */
.step-card {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(197, 160, 89, 0.1); /* Very faint Gold color */
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 1.8rem;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Connecting Line (Only for Desktop) */
@media (min-width: 992px) {
    .process-wrapper::before {
        content: '';
        position: absolute;
        top: 60px;
        left: 10%;
        width: 80%;
        height: 2px;
        background: rgba(197, 160, 89, 0.2);
        z-index: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .process-section { padding: 60px 0; }
    .step-card { margin-bottom: 40px; }
    .step-number { font-size: 4rem; top: -10px; }
}
