/* =========================================================
   Shrivastava and Associates — Premium Law Firm Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #A7EBF2;
  --primary-light: #fffed0;
  --secondary-black: #1A1A1A;
  --secondary-gray: #3A3A3A;
  --accent-button: #234C6A;
  --accent-hover: #1a3a52;
  --text-dark: #111111;
  --text-light: #FFFFFF;
  --border: rgba(167, 235, 242, 0.25);
  --glass: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 16px rgba(35, 76, 106, 0.10);
  --shadow-md: 0 8px 40px rgba(35, 76, 106, 0.15);
  --shadow-lg: 0 20px 60px rgba(35, 76, 106, 0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #f8fafb;
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 500;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: var(--secondary-gray);
}

/* ── Utilities ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-button);
  background: rgba(167, 235, 242, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-button);
}

.section-title {
  font-family: var(--font-display);
  color: var(--secondary-black);
  margin-bottom: 0.75rem;
}

.section-title span {
  color: var(--accent-button);
  font-style: italic;
}

.section-subtitle {
  max-width: 580px;
  color: var(--secondary-gray);
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--accent-button);
  border-radius: 2px;
  margin: 1.2rem 0 2rem;
}

.divider-center {
  margin: 1.2rem auto 2rem;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-button);
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(35, 76, 106, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(35, 76, 106, 0.45);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--accent-button);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-call:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Navbar ── */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

#mainNav.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  transition: padding 0.35s;
}

#mainNav.scrolled .nav-inner {
  padding: 12px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo-text {
  line-height: 1.15;
}

.nav-logo-text .firm-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.nav-logo-text .firm-tagline {
  font-size: 0.68rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(167, 235, 242, 0.1);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(16px);
  padding: 16px 24px 24px;
  gap: 4px;
  border-top: 1px solid rgba(167, 235, 242, 0.15);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-mobile-menu a:hover {
  color: var(--primary);
  background: rgba(167, 235, 242, 0.08);
}

.nav-mobile-menu .btn-primary {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--secondary-black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e42 40%, #0f2235 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/high-court-low-1943-860.jpg') center/cover no-repeat;
  opacity: 0.18;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 27, 42, 0.5) 0%, rgba(13, 27, 42, 0.85) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(167, 235, 242, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(167, 235, 242, 0.05) 0%, transparent 40%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(167, 235, 242, 0.12);
  border: 1px solid rgba(167, 235, 242, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-badge i {
  color: var(--primary-light);
}

.hero-title {
  font-family: var(--font-display);
  color: var(--text-light);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero-title span {
  color: var(--primary);
  font-style: italic;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(167, 235, 242, 0.15);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 27, 42, 0.7) 100%);
}

.hero-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-button);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-card-title {
  font-size: 0.7rem;
  color: var(--secondary-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-button);
  line-height: 1;
}

.hero-card-sub {
  font-size: 0.72rem;
  color: var(--secondary-gray);
}

.hero-badge-2 {
  position: absolute;
  top: 20px;
  right: -16px;
  z-index: 2;
  background: var(--accent-button);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero-badge-2 .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.hero-badge-2 .lbl {
  font-size: 0.68rem;
  opacity: 0.8;
  letter-spacing: 0.06em;
}

/* ── Sections Common ── */
section {
  padding: 40px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 1.8rem;
}

/* ── About Section ── */
#about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-img-simple {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-simple img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(167, 235, 242, 0.08);
  border: 1px solid rgba(167, 235, 242, 0.15);
  transition: var(--transition);
}

.about-feature:hover {
  background: rgba(167, 235, 242, 0.15);
  transform: translateY(-1px);
}

.about-feature-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  background: var(--accent-button);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.about-feature h5 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1px;
}

.about-feature p {
  font-size: 0.75rem;
  color: var(--secondary-gray);
  line-height: 1.4;
}

/* ── Services Section ── */
#services {
  background: #f0f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(167, 235, 242, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-button));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(167, 235, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  color: var(--accent-button);
}

.service-card:hover .service-icon {
  background: var(--accent-button);
  color: #fff;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--secondary-gray);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-button);
  transition: var(--transition);
}

.service-link:hover {
  gap: 10px;
}

/* ── Why Choose Us ── */
#why {
  background: #fff;
}

.why-header {
  margin-bottom: 2rem;
}

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

.why-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.why-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(35, 76, 106, 0.3) 100%);
}

.why-content {}

.why-content>p {
  color: var(--secondary-gray);
  font-size: 1rem;
  line-height: 1.7;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.5rem;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #f8fafb;
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.why-feature:hover {
  background: rgba(167, 235, 242, 0.12);
  border-color: var(--accent-button);
  box-shadow: var(--shadow-sm);
}

.why-feature-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--accent-button);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.why-feature:hover .why-feature-icon {
  transform: scale(1.1);
}

.why-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-black);
  margin-bottom: 3px;
}

.why-feature p {
  font-size: 0.82rem;
  color: var(--secondary-gray);
  line-height: 1.5;
}

/* ── Testimonials ── */
#testimonials {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e42 100%);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/legal-consultant1500-1000.jpeg') center/cover no-repeat;
  opacity: 0.06;
}

.testimonials-header {
  color: #fff;
}

.testimonials-header .section-tag {
  color: var(--primary);
  background: rgba(167, 235, 242, 0.15);
}

.testimonials-header .section-title {
  color: #fff;
}

.testimonials-header .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.testimonials-header .divider {
  background: var(--primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(167, 235, 242, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 235, 242, 0.35);
  transform: translateY(-4px);
}

.testimonial-quote-icon {
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--primary);
  line-height: 0.5;
  margin-bottom: 1.2rem;
  opacity: 0.7;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-stars {
  color: var(--primary-light);
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(167, 235, 242, 0.4);
  background: var(--accent-button);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── FAQ ── */
#faq {
  background: #f0f9fa;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2rem;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(167, 235, 242, 0.2);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(167, 235, 242, 0.5);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-question h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-black);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(167, 235, 242, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-button);
  font-size: 1rem;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--accent-button);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--secondary-gray);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ── Gallery ── */
#gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(5) {
  grid-column: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(35, 76, 106, 0.6) 100%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 20px;
  color: #fff;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Contact Section ── */
#contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact-info p {
  font-size: 1rem;
  color: var(--secondary-gray);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #f8fafb;
  border-radius: var(--radius);
  border: 1px solid rgba(167, 235, 242, 0.25);
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(167, 235, 242, 0.1);
  border-color: rgba(167, 235, 242, 0.5);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--accent-button);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-item-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-gray);
  margin-bottom: 4px;
}

.contact-item-value {
  font-weight: 600;
  color: var(--secondary-black);
  font-size: 0.95rem;
}

.contact-item-value a {
  color: inherit;
  transition: var(--transition);
}

.contact-item-value a:hover {
  color: var(--accent-button);
}

.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

.contact-form-wrap {
  background: #f8fafb;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(167, 235, 242, 0.2);
}

.contact-form-wrap h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap p {
  margin-bottom: 2rem;
  font-size: 0.92rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary-black);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(167, 235, 242, 0.35);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-button);
  box-shadow: 0 0 0 3px rgba(35, 76, 106, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-notice {
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--secondary-gray);
}

.form-notice i {
  color: var(--accent-button);
}

/* ── Footer ── */
#footer {
  background: var(--secondary-black);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-logo-text .firm-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo-text .firm-tagline {
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

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

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social:hover {
  background: var(--accent-button);
  color: #fff;
  border-color: var(--accent-button);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-links a::before {
  content: '›';
  opacity: 0.4;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.58);
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ── Floating Buttons ── */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  animation: float-in 0.5s ease forwards;
  opacity: 0;
}

.float-btn:nth-child(1) {
  animation-delay: 0.2s;
}

.float-btn:nth-child(2) {
  animation-delay: 0.4s;
}

.float-btn:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }

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

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.float-btn.whatsapp {
  background: #25D366;
  color: #fff;
}

.float-btn.call-btn {
  background: var(--accent-button);
  color: #fff;
}

.float-btn.back-top {
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  opacity: 0;
  pointer-events: none;
}

.float-btn.back-top.show {
  opacity: 1;
  pointer-events: all;
  animation: none;
}

.float-label {
  position: absolute;
  right: 64px;
  background: rgba(26, 26, 26, 0.88);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.float-btn-wrap:hover .float-label {
  opacity: 1;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--accent-button);
  padding: 16px 0;
  overflow: hidden;
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--primary);
  font-size: 1rem;
}

/* ── Alert ── */
.alert-success {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: rgba(167, 235, 242, 0.2);
  border: 1px solid rgba(167, 235, 242, 0.5);
  color: var(--accent-button);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-error {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s !important;
}

.delay-2 {
  transition-delay: 0.2s !important;
}

.delay-3 {
  transition-delay: 0.3s !important;
}

.delay-4 {
  transition-delay: 0.4s !important;
}

.delay-5 {
  transition-delay: 0.5s !important;
}

.delay-6 {
  transition-delay: 0.6s !important;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

  .about-img-stack {
    display: none;
  }

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

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

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

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

@media (max-width: 768px) {

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .trust-bar-inner {
    justify-content: center;
  }

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

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

  section {
    padding: 40px 0;
  }
}

/* ── Services Page ── */
.breadcrumb-nav {
  background: #f8fafb;
  border-bottom: 1px solid rgba(167, 235, 242, 0.2);
  padding: 12px 0;
}

.breadcrumb {
  margin-bottom: 0;
  background: transparent;
  margin-top: 10px;
  color: #fff;
  display: flex;
  justify-content: center;

}

.breadcrumb-item+.breadcrumb-item::before{
  color: #fff;
}

.breadcrumb-item a {
  /* color: var(--accent-button); */
  color: white;
  font-weight: 500;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--accent-hover);
}

.breadcrumb-item.active {
  /* color: var(--secondary-gray); */
  color: #fff;
}

.services-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e42 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/high-court-low-1943-860.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.services-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.services-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.services-list-section {
  background: #fff;
  padding: 50px 0;
}

.services-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(167, 235, 242, 0.2);
  transition: var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(167, 235, 242, 0.5);
  transform: translateY(-2px);
}

.service-detail-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-detail-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  background: var(--accent-button);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
}

.service-detail-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.service-detail-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--secondary-black);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.service-short-desc {
  color: var(--accent-button);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-full-desc {
  color: var(--secondary-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-details-list {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-details-list h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-black);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-details-list ul {
  list-style: none;
  padding: 0;
}

.service-details-list li {
  font-size: 0.85rem;
  color: var(--secondary-gray);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-details-list li i {
  color: var(--accent-button);
  font-size: 0.7rem;
}

.btn-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-button);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-service-cta:hover {
  background: var(--accent-hover);
  transform: translateX(4px);
  gap: 12px;
}

.services-why-choose {
  background: #f0f9fa;
  padding: 50px 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}

.why-choose-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(167, 235, 242, 0.2);
  transition: var(--transition);
}

.why-choose-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(167, 235, 242, 0.5);
  transform: translateY(-4px);
}

.why-choose-icon {
  width: 60px;
  height: 60px;
  background: rgba(167, 235, 242, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-button);
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.why-choose-card:hover .why-choose-icon {
  background: var(--accent-button);
  color: #fff;
}

.why-choose-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-black);
  margin-bottom: 0.8rem;
}

.why-choose-card p {
  font-size: 0.9rem;
  color: var(--secondary-gray);
  line-height: 1.6;
}

.services-cta {
  background: linear-gradient(135deg, var(--accent-button) 0%, var(--accent-hover) 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 14px 32px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary.btn-large {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-button);
}

.btn-primary.btn-large:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-call.btn-large {
  background: var(--primary);
  color: var(--accent-button);
}

.btn-call.btn-large:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Services Page Responsive */
@media (max-width: 1100px) {
  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-img {
    height: 300px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-hero-title {
    font-size: 1.8rem;
  }

  .service-detail-content {
    padding: 20px;
  }

  .service-detail-content h2 {
    font-size: 1.4rem;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-call {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
}