/* K CHETAN & ASSOCIATES - KCMehta Style Replica */

/* ========================================
   CSS Variables & Root Configuration
======================================== */
:root {
  /* Primary Palette (Professional Blue Theme) */
  --primary-color: #003366;
  --primary-dark: #002244;
  --primary-light: #004d99;
  --secondary-color: #6c757d;
  --accent-color: #f37021; /* Orange Accent (matching CA India logo) */

  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #888888;
  --text-white: #ffffff;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-overlay: rgba(0, 51, 102, 0.85);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #003366 0%, #004d99 100%);
  --gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);

  /* Spacing - Optimized for wider layout */
  --container-max: 1440px;
  --section-spacing: 70px;
  --header-height: 80px;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Inter", sans-serif;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul,
ol {
  list-style: none;
}

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

/* ========================================
   Typography
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

/* ========================================
   Layout Utilities
======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.section {
  padding: var(--section-spacing) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
}

.btn-outline:hover {
  background: var(--text-white);
  color: var(--primary-color);
}

.btn-gold {
  background: var(--accent-color);
  color: var(--text-dark);
  border-color: var(--accent-color);
}

.btn-gold:hover {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--text-white);
}

/* ========================================
   Header & Navigation
======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

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

.logo img {
  height: 55px;
  width: auto;
}

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

.logo-text .firm-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.logo-text .firm-type {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--primary-color);
}

.nav-links > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-links > li:hover > a::after,
.nav-links > li > a.active::after {
  width: 100%;
}

.nav-links > li > a.btn {
  color: var(--text-white) !important;
  margin-left: 10px;
}

.nav-links > li > a.btn:hover {
  color: var(--primary-color) !important;
}

.nav-links > li > a.btn::after {
  display: none;
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 25px;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.dropdown li a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-dark);
  min-width: 800px;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 1000;
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.mega-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.mega-col ul li {
  margin-bottom: 12px;
}

.mega-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.mega-col ul li a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

/* Tabbed Mega Menu Layout */
.mega-menu-tabs {
  min-width: 650px;
  padding: 0;
  overflow: hidden;
  background: var(--bg-dark);
}

.mega-menu-tabs .mega-menu-inner {
  display: flex;
  grid-template-columns: none;
  gap: 0;
}

.mega-menu-sidebar {
  width: 260px;
  background: var(--bg-dark);
  padding: 30px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-menu-sidebar h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 0 25px;
}

.mega-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 25px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: var(--transition-fast);
}

.mega-nav-item:hover,
.mega-nav-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #c8102e;
  color: var(--text-white);
}

.mega-nav-item a {
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.mega-nav-item:hover a,
.mega-nav-item.active a {
  color: var(--text-white);
}

.mega-nav-item.active {
  border-left-color: #c8102e;
}

.mega-nav-item i {
  font-size: 0.75rem;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.mega-nav-item:hover i,
.mega-nav-item.active i {
  opacity: 1;
  transform: translateX(3px);
}

.mega-menu-content {
  flex: 1;
  padding: 30px 35px;
  background: var(--bg-dark);
  min-height: 280px;
}

.mega-tab-content {
  display: none;
}

.mega-tab-content.active {
  display: block;
}

.mega-tab-content h4 {
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.mega-tab-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-tab-content ul li {
  margin-bottom: 12px;
}

.mega-tab-content ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.mega-tab-content ul li a:hover {
  color: var(--text-white);
  padding-left: 8px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  color: var(--text-white);
}

.hero-content .tagline {
  color: var(--text-white);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  opacity: 1;
}

.hero-content h1 {
  color: var(--text-white);
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--accent-color);
}

.hero-content .description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.floating-animation {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-content .description {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ========================================
   Stats Section
======================================== */
.stats-section {
  background: var(--primary-color);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  color: var(--text-white);
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   About Section
======================================== */
.about-section {
  background: var(--bg-light);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: 12px;
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature i {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Services Section
======================================== */
.services-section {
  background: var(--bg-white);
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.tab-btn {
  padding: 12px 25px;
  background: var(--bg-light);
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

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

/* Premium Service Card */
.service-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 2px 10px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Animated gradient border */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #d4af37,
    #f4e5c2,
    #d4af37,
    #b8860b,
    #d4af37
  );
  background-size: 200% 100%;
  animation: shimmerGold 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes shimmerGold {
  0%,
  100% {
    background-position: 200% 0;
  }
  50% {
    background-position: -200% 0;
  }
}

/* Corner accent */
.service-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 60%
  );
  border-radius: 50%;
  transition: all 0.6s ease;
}

/* Premium hover effect with 3D tilt */
.service-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-2deg);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 15px 30px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: scale(1.5);
  opacity: 0.15;
}

/* Premium Icon Style */
.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.06),
    inset 0 -2px 5px rgba(0, 0, 0, 0.02),
    inset 0 2px 5px rgba(255, 255, 255, 0.8);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, #d4af37, #f4e5c2, #d4af37);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.service-icon i {
  font-size: 1.8rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-8px) scale(1.08);
  box-shadow:
    0 15px 35px rgba(212, 175, 55, 0.25),
    inset 0 -2px 5px rgba(0, 0, 0, 0.02),
    inset 0 2px 5px rgba(255, 255, 255, 0.8);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-card:hover .service-icon i {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1.1);
}

/* Premium Typography */
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.service-card:hover h3 {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-medium);
  margin-bottom: 0;
  line-height: 1.7;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
}

.read-more i {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.service-card:hover .read-more i {
  transform: translateX(8px);
}

/* Premium Services Section Backgrounds */
.services-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 20% 20%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(0, 51, 102, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* ========================================
   Privacy Policy Premium Layout
======================================== */
.policy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: -120px; /* Pull up into hero */
  position: relative;
  z-index: 10;
}

.policy-sidebar {
  position: sticky;
  top: 120px;
  background: var(--bg-white);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.policy-sidebar h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.policy-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-nav-list li {
  margin-bottom: 15px;
}

.policy-nav-list a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: block;
  padding: 10px 15px;
  border-radius: 12px;
}

.policy-nav-list a:hover,
.policy-nav-list a.active {
  background: rgba(10, 37, 64, 0.05);
  color: var(--primary-color);
  padding-left: 20px;
}

.policy-card {
  background: var(--bg-white);
  padding: 60px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 992px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
}

/* ========================================
   Blog Card Refinements (Wow Effect)
======================================== */
.blog-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 220px; /* Fixed height for consistency */
}

/* Depth & Glow for Colored Headers (if no image) */
.blog-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
}

.blog-card:nth-child(1) .blog-image-overlay {
  background: rgba(10, 37, 64, 0.85);
}
.blog-card:nth-child(2) .blog-image-overlay {
  background: rgba(46, 125, 50, 0.85);
}
.blog-card:nth-child(3) .blog-image-overlay {
  background: rgba(230, 81, 0, 0.85);
}

.blog-image i {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
}

.blog-card:hover .blog-image i {
  transform: scale(1.2) rotate(-5deg);
  color: rgba(255, 255, 255, 0.4);
}

/* Metadata Refinement */
.blog-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* Read More Refinement */
.read-more-btn {
  margin-top: auto;
  font-weight: 800;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

.blog-card:hover .read-more-btn {
  gap: 18px;
  color: var(--primary-color);
}

.blog-card:hover .read-more-btn i {
  transform: translateX(5px);
}

/* Category Badge Styling */
.blog-category {
  position: absolute;
  top: 20px;
  left: 25px;
  z-index: 10;
  padding: 6px 18px;
  background: var(--bg-white);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   Blog Post Detail Refinements
======================================== */
.blog-details {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: flex-start;
  margin-top: -120px;
  position: relative;
  z-index: 10;
}

.blog-main-image {
  grid-column: 1 / -1; /* Span full width */
  height: 320px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.blog-main-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
}

.blog-main-image i {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

/* Category Specific Depths for Heroes */
.blog-main-image.tax-bg {
  background: linear-gradient(135deg, #0a2540 0%, #1e3a5f 100%);
}
.blog-main-image.gst-bg {
  background: linear-gradient(135deg, #e65100 0%, #f37021 100%);
}
.blog-main-image.compliance-bg {
  background: linear-gradient(135deg, #e65100 0%, #ff9800 100%);
}
.blog-main-image.audit-bg {
  background: linear-gradient(135deg, #1a237e 0%, #3f51b5 100%);
}
.blog-main-image.tds-bg {
  background: linear-gradient(135deg, #c62828 0%, #ef5350 100%);
}
.blog-main-image.ngo-bg {
  background: linear-gradient(135deg, #d84315 0%, #ff8a65 100%);
}

.blog-post-content {
  grid-column: 1; /* Main content area */
  background: var(--bg-white);
  padding: 40px;
  border-radius: 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.blog-sidebar {
  grid-column: 2; /* Sidebar area */
}

.blog-post-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 40px;
  margin-bottom: 25px;
  letter-spacing: -0.03em;
}

.blog-post-content p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-medium);
  margin-bottom: 25px;
}

.blog-post-content .lead {
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 35px;
}

.blog-post-content blockquote {
  border: none;
  background: #f8fafc;
  padding: 40px;
  border-radius: 24px;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin: 40px 0;
  position: relative;
  border-left: 6px solid var(--accent-color);
}

/* Blog Detail Sidebar */
.blog-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-box {
  background: var(--bg-white);
  padding: 35px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
}

.sidebar-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 15px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li {
  margin-bottom: 12px;
}

.sidebar-links a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: block;
  padding: 12px 18px;
  border-radius: 12px;
}

.sidebar-links a:hover {
  background: rgba(10, 37, 64, 0.05);
  color: var(--primary-color);
  padding-left: 22px;
}

@media (max-width: 992px) {
  .blog-details {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-main-image {
    height: 300px;
  }

  .blog-post-content {
    padding: 30px;
  }
}
.industries-section.services-section,
.section.industries-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.industries-section.services-section::before,
.section.industries-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 30% 0%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 100%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.industries-section .section-header h2,
.industries-section .section-header p,
.section.industries-section .section-header h2,
.section.industries-section .section-header p {
  color: white;
}

.industries-section .section-tag,
.section.industries-section .section-tag {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.industries-section .service-card,
.section.industries-section .service-card {
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.8) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.industries-section .service-card h3,
.section.industries-section .service-card h3 {
  color: white;
}

.industries-section .service-card p,
.section.industries-section .service-card p {
  color: rgba(255, 255, 255, 0.7);
}

.industries-section .service-icon,
.section.industries-section .service-icon {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.industries-section .service-icon i,
.section.industries-section .service-icon i {
  background: linear-gradient(135deg, #d4af37, #f4e5c2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Section Headers for Services Page */
.services-section .section-header {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.services-section .section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.services-section .section-tag {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.05)
  );
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-weight: 600;
}

/* Staggered animation delays for cards */
.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.15s;
}
.service-card:nth-child(3) {
  animation-delay: 0.2s;
}
.service-card:nth-child(4) {
  animation-delay: 0.25s;
}
.service-card:nth-child(5) {
  animation-delay: 0.3s;
}
.service-card:nth-child(6) {
  animation-delay: 0.35s;
}

/* Service Slider Styles */
.section-tag-line {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--text-light);
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* ========================================
   Services Section - Tabbed Navigation
======================================== */
.services-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.service-tab-btn {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.service-tab-btn:hover {
  background: rgba(0, 0, 0, 0.02);
  transform: translateY(-2px);
}

.service-tab-btn.active {
  background: #0d6efd; /* Blue color from reference image */
  color: #fff;
  border-color: #0d6efd;
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.3);
}

.services-tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.services-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

/* Base Service Card from Reference */
.service-card-ref {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  min-height: 220px;
}

.service-card-ref:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-card-ref h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.service-card-ref p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-card-ref .read-more {
  font-size: 0.85rem;
  color: #d4af37; /* Gold color for 'LEARN MORE' */
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.service-card-ref .read-more i {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.service-card-ref:hover .read-more i {
  transform: translateX(4px);
}

/* Category Hero Card (The colored block on the left/top) */
.service-category-hero {
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-height: 250px;
}

.service-category-hero h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  z-index: 2;
  position: relative;
}

.service-category-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  z-index: 2;
  position: relative;
}

/* Hero Themes & Theme Variables */
#tab-tax { --category-color: #00897b; --category-icon: '\f56e'; }
#tab-audit { --category-color: #1976d2; --category-icon: '\f570'; }
#tab-advisory { --category-color: #6a1b9a; --category-icon: '\f201'; }
#tab-risk { --category-color: #d84315; --category-icon: '\f071'; }
#tab-corporate { --category-color: #37474f; --category-icon: '\f1ad'; }
#tab-special { --category-color: #2e7d32; --category-icon: '\f4c4'; }
#tab-outsourcing { --category-color: #5c6bc0; --category-icon: '\f0c0'; }

.hero-tax { background: var(--category-color); }
.hero-audit { background: var(--category-color); }
.hero-advisory { background: var(--category-color); }
.hero-risk { background: var(--category-color); }
.hero-corporate { background: var(--category-color); }
.hero-special { background: var(--category-color); }
.hero-outsourcing { background: var(--category-color); }

/* Hero Icons (Absolute Positioning) */
.service-category-hero::after {
  content: var(--category-icon);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: -15px;
  right: -15px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.15);
  transform: rotate(-10deg);
  transition: transform 0.4s ease;
}

.service-category-hero:hover::after {
  transform: rotate(0deg) scale(1.1);
}

/* Service Card Hover Interaction */
.service-card-ref {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.service-card-ref::before {
  content: var(--category-icon);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0); /* Hidden */
  transform: rotate(-10deg);
  transition: all 0.4s ease;
  z-index: -1;
}

.service-card-ref:hover {
  background: var(--category-color);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--category-color);
}

.service-card-ref:hover h4,
.service-card-ref:hover p,
.service-card-ref:hover .read-more {
  color: #fff !important;
}

.service-card-ref:hover::before {
  color: rgba(255, 255, 255, 0.12);
  transform: rotate(0deg) scale(1.1);
}

.service-card-ref .read-more i {
  margin-left: 5px;
}

/* Slider Nav replacement styling (for the arrows next to hero card if needed) */
/* The reference image doesn't show arrows for the hero block, but rather standard cards. */
/* We will arrange the grid smartly. */

/* ========================================
   Why Choose Us
======================================== */
.why-section {
  background: var(--gradient-dark);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url("../images/pattern.svg") no-repeat right center;
  opacity: 0.1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.why-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: var(--transition-normal);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.why-icon i {
  font-size: 2rem;
  color: var(--text-dark);
}

.why-card h3 {
  color: var(--text-white);
  margin-bottom: 15px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ========================================
   Industries Section - Marquee Design
======================================== */
.industries-section {
  background: var(--gradient-dark);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.industries-section .section-header h2 {
  color: var(--text-white);
}

.industries-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.industries-section .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #ffcc00; /* Gold/Amber for 'OUR EXPERTISE' */
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  letter-spacing: 1px;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}

/* Side fades for dark background */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, #1a1a2e 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, #1a1a2e 100%);
}

.marquee-track {
  display: flex;
  gap: 25px;
  width: max-content;
}

.marquee-left {
  animation: scrollLeft 40s linear infinite;
}

.marquee-right {
  animation: scrollRight 45s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff; /* White Pill */
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-item i {
  font-size: 1.2rem;
  color: #f37021; /* Theme Orange */
}

.marquee-item span {
  font-size: 0.95rem;
  font-weight: 800;
  color: #002244; /* Dark Blue Text */
}

/* Hover effect */
.marquee-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Row 2: Alt Dark Blue Pills */
.marquee-item.alt {
  background: #1e3a8a; /* Indigo/Dark Blue Pill */
  border-color: rgba(255, 255, 255, 0.1);
}

.marquee-item.alt i,
.marquee-item.alt span {
  color: #ffffff;
}

.marquee-item.alt:hover {
  background: #2563eb; /* Slightly lighter on hover */
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
  background: var(--primary-color);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  color: var(--text-white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ========================================
   Industries Section
======================================== */
.industries-section {
  background: var(--bg-light);
  position: relative;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.industry-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-slow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.industry-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 51, 102, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: var(--transition-normal);
}

.industry-card:hover .industry-icon {
  background: var(--primary-color);
  color: var(--text-white);
  transform: rotateY(360deg);
}

.industry-card h4 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.industry-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

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

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

  .industry-card {
    padding: 30px 20px;
  }
}

/* ========================================
   Footer
======================================== */
/* ========================================
   Footer Premium
======================================== */
footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--primary-light),
    var(--accent-color)
  );
}

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

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text-white);
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--accent-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 8px;
}

.footer-links a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

/* Footer Social Box Enhancement */
.footer-social-box {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.footer-social-box .social-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-box .social-icon:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-light);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 5px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact span {
  line-height: 1.6;
}

.footer-bottom {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  margin-top: -1px; /* fix gap if any */
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--accent-color);
  color: var(--text-dark);
}

/* ========================================
   Blog Styles
======================================== */
.blog-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.blog-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-image i {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
}

/* Specific Backgrounds for Blog Cards */
.tax-bg {
  background: linear-gradient(135deg, #003366, #0056b3);
}
.gst-bg {
  background: linear-gradient(135deg, #e65100, #f37021);
}
.compliance-bg {
  background: linear-gradient(135deg, #ef6c00, #ff9800);
}
.audit-bg {
  background: linear-gradient(135deg, #4527a0, #673ab7);
}
.tds-bg {
  background: linear-gradient(135deg, #c62828, #f44336);
}
.ngo-bg {
  background: linear-gradient(135deg, #00838f, #00bcd4);
}

.blog-content {
  padding: 25px;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 51, 102, 0.05);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.blog-title a {
  color: inherit;
  transition: var(--transition-normal);
}

.blog-title a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Blog Detail Page Styles */
.blog-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.blog-main-image {
  height: 450px;
  border-radius: 24px;
  margin-bottom: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-main-image i {
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.25);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.blog-post-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 50px 0 25px;
  letter-spacing: -0.03em;
}

.blog-post-content p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-medium);
  margin-bottom: 30px;
}

.blog-post-content .lead {
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.6;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 30px;
  margin-bottom: 40px;
  display: inline-block;
}

.blog-post-content blockquote {
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 6px solid #d4af37;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.7;
  margin: 50px 0;
  color: var(--primary-dark);
  border-radius: 0 15px 15px 0;
  position: relative;
}

.blog-post-content blockquote::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.1);
  font-style: normal;
}

.blog-post-content ul {
  margin-bottom: 30px;
}

.blog-post-content li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.blog-post-content li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.cta-box {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 40px;
  border-radius: 12px;
  margin-top: 50px;
}

.cta-box h4 {
  color: var(--text-white);
  margin-bottom: 10px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

/* Sidebar Styles */
.sidebar-box {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.sidebar-box h4 {
  margin-bottom: 25px;
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.sidebar-box h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.sidebar-links li {
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  padding-bottom: 12px;
}

.sidebar-links li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-links a {
  color: var(--text-medium);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.sidebar-links a i {
  font-size: 0.8rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.sidebar-links a:hover {
  color: var(--primary-color);
}

.sidebar-links a:hover i {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .blog-details {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    position: static;
    margin-top: 50px;
  }
}

/* ========================================
   Utility Tools Section
======================================== */
.tools-section {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.tools-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 107, 0.05) 0%,
    transparent 70%
  );
  z-index: 1;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto 0;
  position: relative;
  z-index: 2;
}

.tool-card {
  background: var(--bg-white);
  padding: 50px 40px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tool-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 169, 107, 0.2);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.05),
    inset 0 -2px 5px rgba(0, 0, 0, 0.02),
    inset 0 2px 5px rgba(255, 255, 255, 1);
}

.tool-icon i {
  font-size: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.5s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 51, 102, 0.1));
}

.tool-card:hover .tool-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0, 51, 102, 0.25);
}

.tool-card:hover .tool-icon i {
  background: linear-gradient(135deg, #d4af37, #f4e5c2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(0.9);
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
}

.tool-card h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.tool-card:hover h3 {
  color: var(--primary-color);
}

.tool-card p {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 35px;
  max-width: 300px;
}

.tool-btn {
  margin-top: auto;
  font-weight: 700;
  color: var(--text-white);
  background: var(--primary-color);
  padding: 14px 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.tool-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.tool-card:hover .tool-btn {
  background: var(--accent-color);
  color: var(--text-dark);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  padding-right: 35px;
}

.tool-card:hover .tool-btn i {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .tools-grid {
    gap: 30px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .tool-card {
    padding: 40px 30px;
  }
}

/* ========================================
   Leadership Section
======================================== */
.leadership-section {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.leader-card {
  background: var(--bg-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.leader-card:hover {
  transform: translateX(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.leader-image {
  flex: 0 0 320px;
  height: auto;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
}

.leader-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(0, 0, 0, 0.03);
}

.leader-info h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.leader-role {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 0;
  border-bottom: 2px solid var(--accent-color);
}

.leader-bio {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.leader-social {
  display: flex;
  gap: 12px;
}

.leader-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.leader-social a:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

@media (max-width: 992px) {
  .leader-card {
    flex-direction: column;
  }

  .leader-image {
    flex: none;
    height: 400px;
    width: 100%;
  }

  .leader-info {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .leader-image {
    height: 320px;
  }

  .leader-info h3 {
    font-size: 1.4rem;
  }

  .leader-bio {
    font-size: 1rem;
  }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive Design
======================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
  .slider-category-card {
    width: 220px;
    min-width: 220px;
    padding: 28px 22px;
  }

  .slider-prev {
    left: 230px;
  }

  .slider-card {
    min-width: calc(50% - 25px);
    padding: 22px 20px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-spacing: 60px;
  }

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

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

  .service-slider {
    flex-direction: column;
    border-radius: 12px;
  }

  .slider-category-card {
    width: 100%;
    min-width: 100%;
    padding: 24px;
    border-radius: 12px 12px 0 0;
    text-align: center;
  }

  .slider-track-wrapper {
    padding: 15px 0;
  }

  .slider-arrow {
    display: flex;
    top: auto;
    bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .slider-prev {
    left: 15px;
  }

  .slider-next {
    right: 15px;
  }

  .slider-card {
    min-width: 280px;
    margin: 0 8px;
  }

  .mega-menu {
    min-width: 600px;
    padding: 30px;
  }

  .mega-menu-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --section-spacing: 50px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .logo img {
    height: 42px;
  }
  
  .logo-text .firm-name {
    font-size: 0.85rem;
  }
  
  .logo-text .firm-type {
    font-size: 0.6rem;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    gap: 0;
    transform: translateX(-100%);
    transition: var(--transition-normal);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links > li {
    width: 100%;
    text-align: center;
  }

  .nav-links > li > a {
    padding: 12px;
    justify-content: center;
  }

  .dropdown,
  .mega-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: var(--bg-light);
    min-width: 100%;
    padding: 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .about-image::before {
    display: none;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .service-card,
  .why-card {
    padding: 25px 20px;
  }

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

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

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* Marquee responsive */
  .marquee-container::before,
  .marquee-container::after {
    width: 80px;
  }

  .marquee-item {
    padding: 12px 20px;
    gap: 10px;
  }

  .marquee-item i {
    font-size: 1.1rem;
  }

  .marquee-item span {
    font-size: 0.85rem;
  }

  .slider-card {
    min-width: 250px;
  }

  .slider-card h4 {
    font-size: 1rem;
  }

  .slider-card p {
    font-size: 0.85rem;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  :root {
    --section-spacing: 40px;
    --header-height: 65px;
  }

  .container {
    padding: 0 15px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item {
    padding: 15px;
  }

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

  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

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

  /* Marquee mobile */
  .marquee-container {
    padding: 10px 0;
  }

  .marquee-container::before,
  .marquee-container::after {
    width: 40px;
  }

  .marquee-item {
    padding: 10px 16px;
  }

  .marquee-item span {
    font-size: 0.8rem;
  }

  .slider-category-card {
    padding: 20px;
  }

  .slider-category-card h3 {
    font-size: 1.1rem;
  }

  .slider-category-card p {
    font-size: 0.85rem;
  }

  .slider-card {
    min-width: 220px;
    padding: 18px 15px;
  }

  .service-slider {
    margin-bottom: 20px;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .footer-col h4 {
    font-size: 1.1rem;
  }

  .footer-links li a {
    font-size: 0.9rem;
  }
}

/* ========================================
   Service Detail Pages
======================================== */
.service-detail-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
  margin-top: var(--header-height);
  padding: 60px 0;
}

.service-detail-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  opacity: 1;
}

.service-detail-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 30% 0%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 100%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    );
}

.service-detail-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 100%;
}

.service-detail-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-white);
  margin-bottom: 15px;
}

.service-detail-hero .service-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* Hero Service Icon */
.hero-service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.2),
    rgba(212, 175, 55, 0.1)
  );
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  animation: pulse 2s ease-in-out infinite;
}

.hero-service-icon i {
  font-size: 2.5rem;
  color: #d4af37;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0.1);
  }
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

/* Hero Highlights/Stats */
.hero-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.highlight-item i {
  font-size: 1.3rem;
  color: #d4af37;
}

.highlight-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Breadcrumb */
.service-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.service-breadcrumb a,
.service-breadcrumb span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.service-breadcrumb a:hover {
  color: #d4af37;
}

.service-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
}

.service-breadcrumb .current {
  color: #d4af37;
  font-weight: 500;
}

/* Service Content */
.service-content {
  padding: 80px 0;
  background: var(--bg-white);
}

.service-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-main h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 2rem;
}

.service-main p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-main ul {
  margin: 20px 0 30px 0;
}

.service-main ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-medium);
}

.service-main ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #d4af37;
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  padding-bottom: 12px;
  border-bottom: 2px solid #d4af37;
}

.sidebar-card ul li {
  margin-bottom: 12px;
}

.sidebar-card ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-medium);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.sidebar-card ul li a:hover,
.sidebar-card ul li a.active {
  background: var(--primary-color);
  color: var(--text-white);
}

.sidebar-card ul li a i {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Service Features Grid */
.service-features {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
}

.service-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 20% 20%,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.service-features .section-header h2 {
  color: var(--text-white);
}

.service-features .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.8),
    rgba(15, 23, 42, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 35px;
  text-align: center;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card .feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15),
    rgba(212, 175, 55, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-card .feature-icon i {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #d4af37, #f4e5c2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Service Approach */
.service-approach {
  padding: 80px 0;
  background: var(--bg-light);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.approach-step {
  text-align: center;
  position: relative;
}

.approach-step::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -15px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, transparent);
}

.approach-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

.approach-step h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.approach-step p {
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* Related Services */
.related-services {
  padding: 80px 0;
  background: var(--bg-white);
}

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

.related-card {
  background: linear-gradient(145deg, #f8fafc, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition-normal);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.related-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.related-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 15px;
}

.related-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-card:hover .learn-more {
  gap: 12px;
}

/* Service Detail Responsive */
@media (max-width: 992px) {
  .service-content-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: relative;
    top: 0;
  }

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

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .approach-step::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .service-detail-hero {
    min-height: 40vh;
    padding: 40px 0;
  }

  .service-detail-hero h1 {
    font-size: 1.8rem;
  }

  .features-grid,
  .related-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .service-content,
  .service-features,
  .service-approach,
  .related-services {
    padding: 50px 0;
  }
}

/* ========================================
   Enhanced Page Hero Sections
   ======================================== */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: var(--primary-color);
  background:
    radial-gradient(circle at 0% 0%, var(--primary-dark) 0%, transparent 50%),
    radial-gradient(
      circle at 100% 100%,
      var(--primary-light) 0%,
      transparent 50%
    ),
    var(--primary-color);
  overflow: hidden;
  margin-top: var(--header-height);
  padding: 60px 0;
}

/* Compact Article Hero */
.page-hero.compact-hero {
  min-height: 280px;
  padding: 60px 0 160px; /* Increased bottom padding for overlap */
}

.page-hero.compact-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 10px;
}

.section.compact-section {
  padding-top: 0; /* Remove top padding since content is pulled up */
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.3;
}

.hero-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  filter: blur(120px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.shape-1 {
  top: -100px;
  right: -100px;
}
.shape-2 {
  bottom: -100px;
  left: -100px;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .hero-content {
  max-width: 100% !important;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  color: var(--text-white);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 20px auto 0;
  border-radius: 2px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
  font-size: 0.85rem;
  font-weight: 500;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--text-white);
}

.breadcrumbs span {
  color: var(--accent-color);
}

.breadcrumbs i {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   WhatsApp Floating Button
======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float i {
  font-size: 35px;
  margin-right: 10px;
  color: white !important;
}

.whatsapp-float span {
  font-size: 16px;
  font-weight: 600;
  color: white !important;
  white-space: nowrap;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 10px;
    width: 60px;
    height: 60px;
    justify-content: center;
    border-radius: 50%;
  }
  .whatsapp-float i {
    margin-right: 0;
  }
  .whatsapp-float span {
    display: none;
  }
}

/* ========================================
   Industries Marquee
======================================== */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 15px 0;
  margin-bottom: 25px;
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.marquee-left {
  animation: scrollLeft 40s linear infinite;
}

.marquee-right {
  animation: scrollRight 40s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}

@keyframes scrollRight {
  0% { transform: translateX(calc(-50% - 10px)); }
  100% { transform: translateX(0); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  padding: 18px 35px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.marquee-item i {
  color: var(--accent-color);
  font-size: 1.3rem;
}

.marquee-item.alt {
  background: rgba(0, 51, 102, 0.9);
  color: var(--text-white);
  border: none;
}

.marquee-item.alt i {
  color: var(--text-white);
}

.marquee-item.alt:hover {
  background: #004d99;
  box-shadow: 0 10px 20px rgba(0, 51, 102, 0.3);
}

/* Gradients for smooth fade effect */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10%;
  min-width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white) 0%, transparent 100%);
}
