@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

@font-face {
    font-family: 'Garamond Custom';
    /* You can name this whatever you want */
    src: url('https://thesimuldev.com/advocateNarenderYadav/public/website/fonts/garamond.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 
/* ============================================================
   ROOT VARIABLES
============================================================ */ 
:root {
    --font-primary: 'Garamond Custom', sans-serif;
    --font-secondary: 'Instrument Sans', sans-serif;
}

[data-theme="dark"] {
    --primary: #DAB04B;
    --primary-hover: #c49a35;
    --bg-primary: #030208;
    --bg-secondary: #071518;
    --bg-card: #0d1e22;
    --text-primary: #ffffff; 
    --text-secondary: #a0a8b0;
    --text-muted: #888888;
    --border-color: rgba(218, 176, 75, 0.2);
    --topbar-bg: #DAB04B;
    --topbar-text: #012549;
    --navbar-bg: transparent;
    --navbar-scrolled: rgba(3, 2, 8, 0.97);
    /* --overlay-hero: linear-gradient(108deg, rgba(3, 2, 8, 0.92) 0%, rgba(3, 2, 8, 0.72) 50%, rgba(3, 2, 8, 0.18) 100%); */
    --overlay-hero: linear-gradient(270deg, rgba(1, 12, 25, 0) 0%, rgba(1, 12, 25, 0.741921) 67%, rgba(1, 12, 25, 0.845034) 94.25%, #010C19 96.7%);
    --offcanvas-bg: #07090f;
    --btn-outline-border: rgba(255, 255, 255, 0.5);
    --btn-outline-text: #ffffff;
    --dark: #000000;
}

[data-theme="light"] {
    --primary: #DAB04B;
    --primary-hover: #c49a35;
    --bg-primary: #f5f3ee;
    --bg-secondary: #eae6dc;
    --bg-card: #ffffff;
    --text-primary: #0d0d0d;
    --text-secondary: #4a4a4a;
    --text-muted: #888888;
    --border-color: rgba(218, 176, 75, 0.3);
    --topbar-bg: #1a1a1a;
    --topbar-text: #DAB04B;
    --navbar-bg: transparent;
    --navbar-scrolled: rgba(245, 243, 238, 0.97);
    /* --overlay-hero: linear-gradient(108deg, rgba(245, 243, 238, 0.88) 0%, rgba(245, 243, 238, 0.65) 55%, rgba(245, 243, 238, 0.12) 100%); */
    --overlay-hero: linear-gradient(270deg, rgba(207, 210, 212, 0) 0%, rgba(211, 211, 211, 0.742) 67%, rgba(204, 205, 207, 0.845) 94.25%, #dedede 96.7%);
    --offcanvas-bg: #ffffff;
    --btn-outline-border: rgba(13, 13, 13, 0.45);
    --btn-outline-text: #0d0d0d;
}

/* ============================================================
   BASE RESET
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================================
   COMMON TYPOGRAPHY
============================================================ */
.main-heading {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.28;
    /* font-size: clamp(30px, 4vw, 54px); */
    font-size: clamp(30px, 4vw, 48px);
    color: var(--text-primary);
}

.common-heading {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px); 
    line-height: 1.3;
    color: var(--text-primary);
    text-transform: capitalize;
}

.common-sub-heading {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.35;
    color: var(--text-primary);
}

.small-heading {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 1.4;
    color: var(--text-primary);
}

.body-text {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    color: var(--text-secondary);
}

.section-label {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 2vw, 16px);
    letter-spacing: 0.18em; 
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: lowercase;
}

.accent-text {
    color: var(--primary) !important;
}

/* ============================================================
   COMMON SECTION SPACING
============================================================ */
.common-section-margin {
    margin-top: clamp(60px, 8vw, 120px);
    margin-bottom: clamp(60px, 8vw, 120px);
}

.common-section-padding {
    padding-top: clamp(50px, 6vw, 80px);
    padding-bottom: clamp(50px, 6vw, 80px);
}

/* ============================================================
   COMMON BUTTONS
============================================================ */
.common-btn-primary,
.common-btn-outline {
    font-family: var(--font-primary);
    font-size: clamp(16px, 2vw, 18px); 
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: clamp(7px, 0.75vw, 10px) clamp(12px, 1.3vw, 20px) clamp(5px, 0.75vw, 8px);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.26s ease;
    flex-shrink: 0;
    border: 1.5px solid var(--primary);
}

.common-btn-primary {
    background-color: var(--primary);
    color: #030208;
}

.common-btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: #fff;
}

.common-btn-outline {
    background-color: transparent;
    color: var(--btn-outline-text);
}

.common-btn-outline:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #030208;
}
 



/* ============================================================
   STICKY HEADER
============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
    background-color: var(--topbar-bg);
    padding: clamp(6px, 0.55vw, 9px) 0;
    transition: background-color 0.35s ease;
}

.topbar-info {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--topbar-text);
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.topbar-info i {
    color: var(--dark);
    font-size: clamp(14px, 1.5vw, 16px);
}

.topbar-social a {
    color: var(--topbar-text);
    font-size: clamp(14px, 1.5vw, 16px);
    margin-left: clamp(12px, 1.1vw, 18px);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.topbar-social a:hover {
    opacity: 0.7;
}

/* ============================================================
   NAVBAR
============================================================ */
#mainNavbar {
    background-color: var(--navbar-bg);
    padding: clamp(10px, 1.1vw, 16px) 0;
    transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

#site-header.scrolled #mainNavbar {
    background-color: #000000d6;
    padding: clamp(7px, 0.75vw, 11px) 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    z-index: 100;
}

.navbar-logo-img {
    height: clamp(42px, 4vw, 58px);
    width: auto;
}

/* Toggler */
.navbar-toggler {
    border: 1.5px solid var(--border-color);
    padding: 7px 10px;
    border-radius: 0;
    box-shadow: none !important;
    outline: none;
    font-size: 15px;
}

.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%28218,176,75,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Theme toggle */
.theme-toggle-btn {
    background: none;
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================================
   NAV LINKS — shared desktop + offcanvas
============================================================ */
.navbar-nav .nav-link {
    font-family: var(--font-secondary);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    color: var(--text-primary) !important;
    padding: 7px clamp(8px, 1.2vw, 16px) !important;
    position: relative;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active-link {
    color: var(--primary) !important;
}

/* Underline effect — desktop only */
@media (min-width: 992px) {
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: clamp(8px, 0.9vw, 14px);
        right: clamp(8px, 0.9vw, 14px);
        height: 1.5px;
        background-color: var(--primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.28s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active-link::after {
        transform: scaleX(1);
    }

    .desktop-dropdown {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        pointer-events: none;
    }

    .navbar-nav .dropdown:hover>.desktop-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

}

/* ============================================================
   DROPDOWN — desktop
============================================================ */
.navbar-nav .dropdown-menu {
    background-color: var(--offcanvas-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 6px 0;
    min-width: 220px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
    margin-top: 0px !important;
}

.dropdown-menu .dropdown-item {
    font-family: var(--font-secondary);
    font-size: clamp(12px, 0.88vw, 14px);
    font-weight: 500;
    color: var(--text-primary);
    padding: 9px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    background-color: transparent;
}

.dropdown-toggle::after,
.dropdown-toggle:hover::after {
    border: none;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: rgba(218, 176, 75, 0.1);
    color: var(--primary);
}

.dropdown-divider {
    border-color: var(--border-color) !important;
    margin: 4px 0;
}

/* Multi-level submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-item .submenu-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dropdown-submenu>.submenu-panel {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 1px;
    display: none;
    background-color: var(--offcanvas-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 6px 0;
    min-width: 210px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
    z-index: 10;
    list-style: none;
}

.dropdown-submenu:hover>.submenu-panel {
    display: block;
}

.dropdown-submenu:hover>.dropdown-item .submenu-arrow {
    transform: rotate(90deg);
}

/* ============================================================
   OFFCANVAS — mobile drawer
============================================================ */
#navOffcanvas {
    background-color: var(--offcanvas-bg);
    border-left: 1px solid var(--border-color);
    width: clamp(280px, 80vw, 340px) !important;
}

#navOffcanvas .offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 18px 20px;
}

#navOffcanvas .offcanvas-header .btn-close {
    filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg);
    opacity: 0.7;
}

#navOffcanvas .offcanvas-header .btn-close:hover {
    opacity: 1;
}

@media (max-width: 991.98px) {
    #navOffcanvas .offcanvas-body {
        padding: 12px 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .dropdown-item {
        padding: 10px 28px;
        border-bottom: 1px solid rgba(218, 176, 75, 0.06);
        color: var(--text-primary);
    }

    .navbar-nav .dropdown-item:hover {
        color: var(--primary);
        background-color: rgba(218, 176, 75, 0.07);
    }

    .mobile-sub-item {
        padding-left: 42px !important;
    }

    #mobileAreaPractice,
    #mobileRERA,
    #mobileRealEstate,
    #mobileNRI {
        background-color: rgba(218, 176, 75, 0.03);
        border-top: 1px solid var(--border-color);
    }

    .desktop-dropdown {
        display: none !important;
    }
}

@media (min-width: 992px) {
    #navOffcanvas {
        position: static !important;
        width: auto !important;
        transform: none !important;
        visibility: visible !important;
        background: transparent !important;
        border: none !important;
        flex: 1;
    }

    #navOffcanvas .offcanvas-body {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        padding: 0;
        justify-content: end;
    }

    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
}

.mobile-chevron {
    font-size: 12px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}




/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: clamp(600px, 94vh, 900px);
    margin-top: -90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: clamp(60px, 8vw, 100px);
    padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-label {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 2vw, 16px);
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: clamp(16px, 2.5vw, 24px);
    display: block;
}

.hero-title {
    margin-bottom: clamp(18px, 1.8vw, 28px);
}

.hero-sub {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 2vw, 16px); 
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: clamp(26px, 2.8vw, 42px);
    max-width: 85%;
}

.hero-sub .accent-text {
    font-weight: 700;
}

.hero-section .common-btn-outline,
.hero-section .common-btn-primary{
    width: fit-content;
}


 

/* ============================================================
   FOUNDER SECTION
============================================================ */
.founder-section {
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.founder-img {
    display: block;
    min-height: clamp(400px, 60vh, 650px);
    object-fit: cover;
    object-position: center top;
}

.founder-img-overlay {
    position: absolute;
    bottom: clamp(10px, 1.5vw, 16px);
    left: clamp(10px, 1.5vw, 16px);
    right: clamp(10px, 1.5vw, 16px);
    height: 55%;
    background: linear-gradient(180deg, transparent 0%, rgba(3, 2, 8, 0.85) 60%, rgba(3, 2, 8, 0.98) 100%);
    pointer-events: none;
    z-index: 1;
}

.founder-img-text {
    position: absolute;
    bottom: clamp(20px, 3vw, 36px);
    left: 0;
    right: 0;
    padding: 0 20px;
    z-index: 2;
}

.founder-advocate-title {
    font-family: var(--font-primary);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.founder-divider {
    margin: 10px 0;
    opacity: 0.8;
}

.founder-img-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(9px, 0.8vw, 11px);
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 12px;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number .accent-text {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 500;
}

.stat-label {
    font-size: clamp(12px, 2vw, 16px);
    margin-bottom: 0;
    color: var(--text-muted);
}
.border-divider{
    border-color: var(--primary) !important;
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1380px;
    }
}




/* ============================================================
   INTRO SECTION
============================================================ */
.intro-divider {
    position: relative;
    display: flex;
    align-items: center; 
}

.intro-divider::before,
.intro-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 30%, var(--border-color) 70%, transparent);
}

.intro-divider-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 clamp(12px, 2vw, 24px);
    background: var(--bg-primary);
}

.intro-divider-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.intro-strip-wrap {
    overflow: hidden;
}

.intro-strip {
    display: flex;
    height: clamp(280px, 36vw, 440px);
    padding: 0 clamp(24px, 4vw, 60px);
    gap: 0;
}

.intro-strip-item {
    flex: 1;
    overflow: hidden;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    margin-left: -14px;
    transition: flex 0.4s ease;
}

.intro-strip-item:first-child {
    clip-path: polygon(0% 0%, 100% 0%, 92% 100%, 0% 100%);
    margin-left: 0;
}

.intro-strip-item:last-child {
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.intro-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.intro-strip-item:hover {
    flex: 1.5;
}

.intro-strip-item:hover img {
    transform: scale(1.02);
}

.intro-swiper {
    padding: 0 clamp(16px, 4vw, 32px);
}

.intro-swiper .swiper-slide {
    width: 72vw;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
}

.intro-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* ============================================================
   PRACTICE AREAS SECTION
============================================================ */
.practice-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color);
    /* height: clamp(220px, 26vw, 340px); */
    height: clamp(220px, 24vw, 290px);
    cursor: pointer;
}

.practice-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.practice-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 2, 8, 0.90) 0%, rgba(3, 2, 8, 0.45) 50%, rgba(3, 2, 8, 0.15) 100%);
    transition: background 0.35s ease;
    z-index: 1;
}

.practice-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(14px, 1.8vw, 22px);
    z-index: 2;
}

.practice-card-title {
    font-family: var(--font-primary);
    font-size: clamp(15px, 1.3vw, 19px);
    font-weight: 700;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: clamp(6px, 0.6vw, 10px);
}

.practice-card-text {
    font-family: var(--font-secondary);
    font-size: clamp(12px, 0.9vw, 13px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.practice-card:hover img {
    transform: scale(1.07);
}

.practice-card:hover::after {
    background: linear-gradient(to top, rgba(3, 2, 8, 0.80) 0%, rgb(75 85 218 / 14%) 60%, rgba(3, 2, 8, 0.25) 100%);
}

.practice-card:hover .practice-card-title {
    color: var(--primary);
}

.practice-swiper { padding: 0 clamp(16px, 4vw, 32px); }

.practice-swiper .swiper-slide {
    width:  78vw;
    height: clamp(480px, 120vw, 640px);
}

.practice-swiper .swiper-slide > div {
    display:        flex;
    flex-direction: column;
    gap:            12px;
    height:         100%;
}

.practice-swiper .swiper-slide .practice-card {
    flex:   1;
    height: auto;
}


/* ============================================================
   TESTIMONIALS SECTION
============================================================ */
.testimonial-swiper {
    overflow: hidden;
}

.testimonial-card {
    display: flex;
    align-items: stretch;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    min-height: clamp(220px, 24vw, 320px);
}
 
.testimonial-card-left {
    flex: 1;
    padding: clamp(24px, 3vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(12px, 1.4vw, 20px);
}

.testimonial-text {
    font-family: var(--font-secondary);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-stars {
    color: var(--primary);
    font-size: clamp(13px, 1vw, 15px);
    letter-spacing: 2px;
}

.testimonial-name {
    font-family: var(--font-secondary);
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 600;
    color: var(--primary);
}

.testimonial-arrows {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    justify-content: center;
}

.testimonial-prev,
.testimonial-next {
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
    border-radius: 0;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.testimonial-card-right {
    width: clamp(180px, 28vw, 360px);
    flex-shrink: 0;
    overflow: hidden;
    padding: 12px;
}

.testimonial-card-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    max-height: 290px;
}

/* Mobile stacked */
@media (max-width: 767.98px) {
    .testimonial-card {
        flex-direction: column-reverse;
    }

    .testimonial-card-right {
        width: 100%;
        height: clamp(180px, 50vw, 240px);
    }

    .testimonial-card-left {
        padding: 20px;
    }
}

/* ============================================================
   CTA BANNER SECTION
============================================================ */
.cta-card {
    display: flex;
    align-items: stretch;
    background-color: var(--primary);
    min-height: clamp(220px, 26vw, 320px);
    overflow: hidden;
}

.cta-card-left {
    flex: 1;
    padding: clamp(28px, 4vw, 54px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(12px, 1.4vw, 18px);
}

.cta-phone {
    font-family: var(--font-secondary);
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #030208;
}

.cta-heading {
    font-family: var(--font-primary);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.25;
    color: #030208;
    margin: 0;
}

/* Override common-btn-outline for dark bg on gold card */
.cta-btn {
    border-color: #030208 !important;
    color: #030208 !important;
    width: fit-content;
}

.cta-btn:hover {
    background-color: #030208 !important;
    color: var(--primary) !important;
    border-color: #030208 !important;
}

.cta-socials {
    display: flex;
    gap: clamp(12px, 1.2vw, 18px);
}

.cta-socials a {
    color: #030208;
    font-size: clamp(15px, 1.2vw, 18px);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cta-socials a:hover {
    opacity: 0.6;
}

.cta-card-right {
    /* width: clamp(380px, 42vw, 760px); */
    flex-shrink: 0;
    overflow: hidden;
}

.cta-images {
    display: flex;
    height: 100%;
    gap: 3px;
}

.cta-img-item {
    flex: 1;
    overflow: hidden;
}

.cta-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cta-img-item:hover img {
    transform: scale(1.06);
}

/* Mobile stacked */
@media (max-width: 767.98px) {
    .cta-card {
        flex-direction: column;
    }

    .cta-card-right {
        width: 100%;
        height: clamp(180px, 50vw, 240px);
    }

    .cta-card-left {
        padding: 24px;
    }
}



/* ============================================================
   TEAM SECTION
============================================================ */
/* .team-sub {
    max-width: 520px;
} */

.team-grid {
    display: flex;
    gap: clamp(10px, 2vw, 30px);
}

.team-card {
    flex: 1;
    position: relative;
    height: clamp(380px, 44vw, 450px);
}

.team-card-img {
    width: 100%;
    height: 100%;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.team-card:hover .team-card-img img {
    transform: scale(1.05);
}

/* Info bar — absolute overlay at bottom */
.team-card-info {
    position: absolute;
    bottom: -45px;
    left: 0;
    right: 0;
    width: 80%;
    margin: auto;
    background-color: var(--bg-card);
    text-align: center;
    padding: clamp(14px, 1.6vw, 22px) clamp(12px, 1.2vw, 18px);
}

.team-name {
    font-family: var(--font-primary);
    font-size: clamp(16px, 2.2vw, 32px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-role {
    font-family: var(--font-secondary);
    font-size: clamp(11px, 0.85vw, 13px);
    color: var(--text-secondary);
}

/* Mobile */
@media (max-width: 991.98px) {
    .team-grid {
        flex-direction: column;
        gap: 80px;
    }

    .team-card {
        height: clamp(300px, 75vw, 460px);
    }

    .hero-section {
        margin-top: -65px;
    }

}




/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-img {
    overflow: hidden;
    border-radius: 8px;
    height: clamp(220px, 26vw, 340px);
}

.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* White card — stays white on both themes */
.contact-card {
    background: #ffffff;
    border-radius: clamp(12px, 1.5vw, 20px);
    padding: clamp(14px, 2.5vw, 36px);
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    font-family: var(--font-secondary);
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 500;
    color: #555555;
}

.contact-field input,
.contact-field textarea {
    font-family: var(--font-secondary);
    font-size: clamp(13px, 1vw, 15px);
    color: #0d0d0d;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--primary);
    outline: none;
    padding: 6px 0;
    width: 100%;
    resize: none;
    transition: border-color 0.25s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-bottom-color: #c49a35;
}

.contact-submit {
    width: 100%;
    background-color: var(--primary);
    color: #0d0d0d;
    border: none;
    font-family: var(--font-secondary);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 600;
    padding: clamp(13px, 1.3vw, 17px);
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.25s ease;
    letter-spacing: 0.04em;
}

.contact-submit:hover {
    background-color: var(--primary-hover);
}





/* ============================================================
   GALLERY SECTION
============================================================ */
.gallery-overflow {
    overflow: hidden;
    width: 100%;
}

.gallery-overflow:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-track {
    display: flex;
    gap: clamp(14px, 2vw, 24px);
    width: max-content;
    will-change: transform;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes marqueeRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.gallery-item {
    height: clamp(185px, 18vw, 260px);
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.1);
}

 


/* ============================================================
   BLOG SECTION
============================================================ */
.blog-all-link {
    font-family: var(--font-secondary);
    font-size: clamp(10px, 0.85vw, 13px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.blog-all-link:hover {
    color: var(--primary);
}

.blog-arrow-btn {
    width: clamp(24px,2vw,44px);
    height: clamp(24px,2vw,44px);
    border-radius: 50%;
    background-color: var(--primary);
    color: #030208;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.blog-arrow-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.08);
    color: #030208;
}

.blog-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    height: clamp(200px, 22vw, 300px);
    margin-bottom: clamp(14px, 1.4vw, 20px);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    bottom: clamp(10px, 1vw, 14px);
    left: clamp(10px, 1vw, 14px);
    font-family: var(--font-secondary);
    font-size: clamp(10px, 0.75vw, 12px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    background-color: rgba(3, 2, 8, 0.65);
    padding: 5px 10px;
    backdrop-filter: blur(4px);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 0.8vw, 12px);
}

.blog-title {
    font-family: var(--font-primary);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    transition: color 0.25s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-text {
    font-family: var(--font-secondary);
    font-size: clamp(12px, 0.9vw, 14px);
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.blog-read-link {
    font-family: var(--font-secondary);
    font-size: clamp(11px, 0.82vw, 13px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: clamp(4px, 0.5vw, 8px);
    transition: color 0.25s ease;
}

.blog-card:hover .blog-read-link {
    color: var(--primary);
}

/* Mobile swiper */
.blog-swiper {
    overflow: hidden;
}

.blog-swiper .swiper-slide {
    width: 78vw;
}



/* ============================================================
   ACHIEVEMENTS SECTION
============================================================ */
.achievements-swiper {
    overflow: hidden;
}

.achievement-slide-img {
    /* height: clamp(160px, 18vw, 240px); 
    border: 1px solid var(--border-color); */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.achievement-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    filter: grayscale(20%);
    position: relative;
    z-index: 10;
}

/* .achievement-slide-img::before {
    content: '';
    position: absolute;
    background-image: url('https://thesimuldev.com/advocateNarenderYadav/public/website/img/achievements_bg.svg');
    background-size: contain;
    background-repeat: no-repeat;
    height: calc(100% + 20px);
    width: calc(100% + 20px);
    top: 0px;
    z-index: 5;
    left: 0px;
} */

.achievement-slide-img:hover img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.achievements-arrows {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.achievements-prev,
.achievements-next {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.25s ease;
}

.achievements-prev:hover,
.achievements-next:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    overflow: hidden; 
}

.footer-body {
    position: relative;
    background: url(https://thesimuldev.com/advocateNarenderYadav/public/website/img/footer-bg-img.webp);
    padding-bottom: clamp(40px, 8vw, 90px);
    background-size: cover;
    background-position: center 75%;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgb(3 2 8 / 52%);
    z-index: 1;
}

/* Logo block */
.footer-top-block {
    position: relative;
    z-index: 2;
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(30px, 4vw, 65px);
}

.footer-logo-img {
    width: clamp(130px, 16vw, 240px);
    height: auto;
    margin-bottom: clamp(14px, 1.6vw, 22px);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-tagline-line {
    width: clamp(36px, 5vw, 70px);
    height: 1px;
    background: var(--primary);
    opacity: 0.55;
}

.footer-tagline-text {
    font-family: var(--font-secondary);
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.footer-firm-name {
    font-family: var(--font-primary);
    font-size: clamp(22px, 2.8vw, 38px);
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

/* Full-width horizontal rule */
.footer-rule {
    position: relative;
    z-index: 2;
    border: none;
    border-top: 1px solid rgba(218, 176, 75, 0.28);
    margin: 0;
    opacity: 1;
}

/* Info panels block */
.footer-bottom-block {
    position: relative;
    z-index: 2;
}

.footer-panel-row {
    margin-bottom: clamp(14px, 2vw, 24px);
}

.footer-panel-row:last-child {
    margin-bottom: 0;
}

/* Each panel — left + right border, brownish bg */
.footer-info-panel {
    border-left: 1px solid rgba(218, 176, 75, 0.28);
    border-right: 1px solid rgba(218, 176, 75, 0.28);
    background: rgb(20 10 4 / 70%);
    padding: clamp(20px, 2.5vw, 36px) clamp(18px, 2vw, 30px);
    height: 100%;
}

/* Heading with bottom border */
.footer-col-heading {
    font-family: var(--font-primary);
    font-size: clamp(15px, 1.2vw, 19px);
    font-weight: 500;
    color: var(--text-primary);
    padding-bottom: clamp(10px, 1vw, 14px);
    margin-bottom: clamp(14px, 1.5vw, 22px);
    border-bottom: 1px solid rgba(218, 176, 75, 0.25);
}

.footer-text {
    font-family: var(--font-secondary);
    font-size: clamp(12px, 0.9vw, 14px);
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

/* Mobile — stack panels, drop side borders, add top border instead */
@media (max-width: 767.98px) {
    .footer-info-panel {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(218, 176, 75, 0.28);
        border-bottom: 1px solid rgba(218, 176, 75, 0.28);
    }

    .footer-bottom-block .row>div+div .footer-info-panel {
        border-top: none;
    }
}

@media (min-width: 992px) {
    .footer-info-panel {
        padding: clamp(16px, 1.8vw, 26px) clamp(12px, 1.2vw, 18px);
    }

    .footer-col-heading {
        font-size: clamp(13px, 1vw, 16px);
    }
}

