/* Custom sub-bullet styling for blog */
.sub-bullet-list {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 0;
}
.sub-bullet-list li {
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
  font-size: 1rem;
}
/* Sleeker hero buttons width */

.hero-actions-row .btn {
  max-width: 220px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 991px) {
  .hero-actions-row .btn {
    max-width: 180px;
  }
}

@media (max-width: 575px) {
  .hero-actions-row .btn {
    max-width: 100%;
    width: 100%;
  }
}
/* ============================================================
   R K BAHETI & ASSOCIATES – Premium CA Firm Website Styles
   Author: Antigravity Dev
   Version: 1.0
   ============================================================ */

/* ---- ROOT VARIABLES ---- */
:root {
  --navy: #1F3A5F;
  --navy-dark: #152940;
  --navy-light: #2A4D7F;
  --teal: #2E8B8B;
  --teal-light: #3AABAB;
  --teal-dark: #1F6B6B;
  --grey-bg: #F4F6F8;
  --grey-mid: #E8ECF0;
  --grey-text: #6B7280;
  --white: #FFFFFF;
  --dark: #0D1B2A;
  --text-body: #374151;
  --gold: #C9A227;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Inter', sans-serif;

  --shadow-sm: 0 2px 12px rgba(31, 58, 95, 0.08);
  --shadow-md: 0 8px 32px rgba(31, 58, 95, 0.14);
  --shadow-lg: 0 16px 56px rgba(31, 58, 95, 0.20);
  --shadow-xl: 0 24px 80px rgba(31, 58, 95, 0.28);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- 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-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Enable bullets for article content */
.article-body ul, .blog-post-body ul {
  list-style-type: disc !important;
  list-style-position: inside !important;
  padding-left: 0 !important;
  margin-bottom: 1.5rem;
  display: block !important;
}

.article-body ul ul, .blog-post-body ul ul {
  list-style-type: circle !important;
  list-style-position: inside !important;
  margin-left: 20px !important;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-body li, .blog-post-body li {
  margin-bottom: 0.5rem;
  display: list-item !important; 
  color: var(--text-body);
}

.article-body li::marker, .blog-post-body li::marker {
  color: var(--teal);
  font-weight: bold;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- TYPOGRAPHY HELPERS ---- */
.section-pad {
  padding: 96px 0;
}

/* Custom margin utility for hero upward shift */
.hero-content-up {
  margin-top: -48px;
}

@media (max-width: 991px) {
  .hero-content-up {
    margin-top: -32px;
  }
}

@media (max-width: 575px) {
  .hero-content-up {
    margin-top: -18px;
  }
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(46, 139, 139, 0.12), rgba(31, 58, 95, 0.08));
  border: 1px solid rgba(46, 139, 139, 0.3);
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 580px;
  margin: 0 auto;
}

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

.text-accent {
  color: var(--teal);
}

.text-teal {
  color: var(--teal);
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.preloader-logo {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 4px;
  margin-bottom: 24px;
  animation: pulseLogo 1.5s ease-in-out infinite;
}

@keyframes pulseLogo {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.96);
  }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: linear-gradient(to right, var(--teal), var(--navy-light));
  width: 0;
  border-radius: 3px;
  animation: fillBar 1.8s ease forwards;
}

@keyframes fillBar {
  to {
    width: 100%;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  padding: 18px 0;
  transition: all 0.4s ease;
  background: transparent;
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgba(15, 27, 46, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

/* Logo Img Styling */
.navbar-logo {
  height: auto;
  max-height: 55px;
  width: auto;
  transition: var(--transition);
  display: block;
}

#mainNav.scrolled .navbar-logo {
  max-height: 45px;
}

.footer-logo {
  height: auto;
  max-height: 50px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: var(--transition);
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  letter-spacing: 1px;
}

#mainNav.scrolled .brand-name {
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  .navbar-logo {
    max-height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.6rem;
  }
}

/* Nav Links */
.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 12px !important;
  position: relative;
  white-space: nowrap;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
}

/* CTA nav style removed to make all items consistent */

/* Dropdown */
.dropdown-menu {
  background: rgba(15, 27, 46, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  margin-top: 8px !important;
  animation: dropdownIn 0.25s ease;
  min-width: 220px;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* Dropdowns open on click only (hover disabled) */

/* Submenu styles */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  position: absolute !important;
  top: 0 !important;
  left: auto !important;
  right: 100% !important;
  margin-top: -8px !important;
  margin-right: -2px !important;
  display: none;
  transform: none !important;
}

@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu,
  .dropdown-submenu > .dropdown-menu.show {
    display: block !important;
  }
}

@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu {
    position: static !important;
    box-shadow: none;
    background: transparent !important;
    padding-left: 1rem;
    margin-top: 0 !important;
  }
  .dropdown-submenu:active > .dropdown-menu,
  .dropdown-submenu:focus-within > .dropdown-menu {
    display: block;
  }
}

.dropdown-item {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 10px 20px;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.dropdown-item:hover,
.dropdown-submenu:hover > .dropdown-item,
.dropdown-item.show {
  background: rgba(46, 139, 139, 0.15) !important;
  color: var(--teal-light) !important;
  border-left-color: var(--teal);
  padding-left: 26px;
}

/* Hamburger */
.navbar-toggler {
  border: none;
  padding: 6px;
  outline: none;
  box-shadow: none !important;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 991px) {
  #navbarContent {
    background: rgba(15, 27, 46, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    margin-top: 12px;
    padding: 16px;
    box-shadow: var(--shadow-xl);
  }

  .navbar-nav .nav-link {
    padding: 10px 16px !important;
  }

  .dropdown-menu {
    background: rgba(31, 58, 95, 0.3) !important;
    border: none;
    box-shadow: none;
    margin-top: 0 !important;
    padding-left: 12px;
  }


}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #021a19 0%, #042f2e 55%, #064e3b 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

#home.hero-section {
  background: url('../images/hero_bg.png') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

#home .hero-overlay {
  background: linear-gradient(135deg,
      rgba(13, 27, 42, 0.92) 0%,
      rgba(31, 58, 95, 0.85) 50%,
      rgba(46, 139, 139, 0.25) 100%);
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

@media (max-width: 991px) {
  .hero-content {
    padding-top: 48px;
  }
}

@media (max-width: 575px) {
  .hero-content {
    padding-top: 28px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(46, 139, 139, 0.18);
  border: 1px solid rgba(46, 139, 139, 0.4);
  color: var(--teal-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 50px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-accent {
  color: var(--teal-light);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.8;
}



/* Hero buttons */
.btn-hero-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 8px 25px rgba(46, 139, 139, 0.45);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(46, 139, 139, 0.6);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  color: var(--white);
}

/* Hero card float */
.hero-card-float {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hcf-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  text-align: center;
}

.hcf-item:hover {
  background: rgba(46, 139, 139, 0.15);
  border-color: var(--teal);
  transform: translateY(-4px);
}

.hcf-item i {
  font-size: 1.8rem;
  color: var(--teal-light);
}

.hcf-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Responsive hero actions row */
.hero-actions-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
}

@media (max-width: 575px) {
  .hero-actions-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: stretch;
  }
  .hero-actions-row .btn {
    width: 100%;
  }
}

.scroll-dot {
  width: 20px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-dot::after {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--teal-light);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 1.8s ease infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    top: 5px;
    opacity: 1;
  }

  80% {
    top: 16px;
    opacity: 0;
  }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 14px 0;
  overflow: hidden;
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marqueeSlide 28s linear infinite;
}

.marquee-track span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-track span i {
  color: var(--teal-light);
}

@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  background: var(--grey-bg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 139, 139, 0.15);
}

.service-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
}

.service-icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 139, 139, 0.12), rgba(31, 58, 95, 0.08));
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-card:hover .service-icon-bg {
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
}

.service-icon {
  position: relative;
  z-index: 1;
  font-size: 1.9rem;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  color: var(--white);
}

.service-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.service-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
/* ============================================================
   ABOUT SECTION V2 (Middle Design)
   ============================================================ */
.about-v2 {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.about-intro-text {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-intro-text .lead {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 25px;
}

.about-intro-text p {
  color: var(--grey-text);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-collage-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 60px 0 80px;
}

.collage-item {
  flex: 1;
  max-width: 350px;
  height: 450px;
  position: relative;
  transition: var(--transition);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--white);
  transition: var(--transition);
}

.collage-item:nth-child(1) {
  transform: translateY(30px) rotate(-4deg);
}

.collage-item:nth-child(2) {
  transform: scale(1.15);
  z-index: 2;
}

.collage-item:nth-child(3) {
  transform: translateY(30px) rotate(4deg);
}

.collage-item:hover {
  transform: translateY(-10px) rotate(0) scale(1.05);
  z-index: 3;
}

.collage-item:hover img {
  border-color: var(--teal);
  box-shadow: var(--shadow-xl);
}




/* Feature Grid Styles */
.about-feature-box {
  background: var(--grey-bg);
  border-radius: var(--radius-xl);
  padding: 50px;
  border: 1px solid var(--grey-mid);
  transition: var(--transition);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.about-feature-box:hover {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.about-feature-box h3 {
  font-family: var(--font-head);
  font-size: 1.85rem;
  color: var(--navy);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-feature-box h3 i {
  color: var(--teal);
}

.about-feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-body);
  font-size: 1.05rem;
  font-weight: 500;
}

.about-feature-list li i {
  color: var(--teal);
  font-size: 1.1rem;
  margin-top: 5px;
}

/* Highlight Quote */
.about-highlight-quote {
  max-width: 1000px;
  margin: 80px auto 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  color: var(--white);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.about-highlight-quote::before {
  content: '“';
  position: absolute;
  top: -20px;
  left: 40px;
  font-family: var(--font-head);
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.about-highlight-quote p {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  margin: 0 0 30px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .about-collage-v2 {
    gap: 15px;
  }

  .collage-item {
    height: 350px;
  }

  .about-feature-box {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .about-collage-v2 {
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
  }

  .collage-item {
    max-width: 100%;
    height: 400px;
    transform: none !important;
  }

  .about-intro-text .lead {
    font-size: 1.15rem;
  }

  .about-highlight-quote p {
    font-size: 1.1rem;
  }
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white) !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 6px 20px rgba(31, 58, 95, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(31, 58, 95, 0.45);
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--grey-bg);
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--grey-mid);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 139, 139, 0.04), rgba(31, 58, 95, 0.04));
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-card:hover::after {
  opacity: 1;
}

.why-card-highlight {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: transparent;
}

.why-card-highlight .why-icon-ring {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.why-card-highlight .why-icon-ring i {
  color: var(--teal-light);
}

.why-card-highlight .why-title {
  color: var(--white);
}

.why-card-highlight .why-desc {
  color: rgba(255, 255, 255, 0.75);
}

.why-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 139, 139, 0.12), rgba(31, 58, 95, 0.08));
  border: 2px solid rgba(46, 139, 139, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}

.why-card:not(.why-card-highlight):hover .why-icon-ring {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-color: transparent;
}

.why-card:not(.why-card-highlight):hover .why-icon-ring i {
  color: var(--white);
}

.why-icon-ring i {
  font-size: 1.7rem;
  color: var(--teal);
  transition: var(--transition);
}

.why-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.75;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
#team {
  background: var(--white);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

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

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

.team-socials {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 27, 42, 0.9), transparent);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px 16px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.team-card:hover .team-socials {
  transform: translateY(0);
}

.team-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  transition: var(--transition);
}

.team-social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

.team-info {
  padding: 24px 22px;
}

.team-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--teal);
  text-transform: uppercase;
  background: rgba(46, 139, 139, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.7;
}

/* ============================================================
   KNOWLEDGE BANK
   ============================================================ */
.knowledge-section {
  background: var(--grey-bg);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

.blog-card:hover .blog-img {
  transform: scale(1.06);
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 1;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-meta span {
  font-size: 0.75rem;
  color: var(--grey-text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-meta span i {
  color: var(--teal);
}

.blog-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--teal);
}

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 18px;
}

.blog-read-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  width: fit-content;
}

.blog-read-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-custom {
  border: 2px solid var(--navy);
  color: var(--navy) !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-outline-custom:hover {
  background: var(--navy);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: url('../images/hero_bg.png') center center / cover no-repeat;
  padding: 96px 0;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(31, 58, 95, 0.90) 100%);
}

.cta-section .container-xl {
  position: relative;
  z-index: 1;
}

.cta-badge {
  color: var(--teal-light);
  border-color: rgba(46, 139, 139, 0.4);
  background: rgba(46, 139, 139, 0.1);
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 560px;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-features li i {
  color: var(--teal-light);
  font-size: 1rem;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white) !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 8px 30px rgba(46, 139, 139, 0.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(46, 139, 139, 0.65);
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white) !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--white);
}

/* REDESIGNED CONTACT SECTION */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.contact-info-card {
  background: var(--grey-bg);
  padding: 35px 25px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-mid);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
  background: var(--white);
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}


.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(46, 139, 139, 0.12), rgba(31, 58, 95, 0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 1.1rem;
  border: 1px solid rgba(46, 139, 139, 0.2);
  transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1);
}

.contact-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(46, 139, 139, 0.2);
  border: none;
}

.contact-cta-link i {
  font-size: 0.8rem;
}

.contact-cta-link:hover {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 58, 95, 0.3);
  color: var(--white);
}

.contact-info-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin: 0;
}

.contact-info-value a {
  color: var(--teal);
  font-weight: 500;
}

.contact-info-value a:hover {
  color: var(--navy);
}





/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  padding: 80px 0 60px;
}



.footer-about-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social-icon:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: inline-block;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list li i {
  color: var(--teal);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer-contact-list a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
}

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

.footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

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

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(46, 139, 139, 0.45);
  transition: var(--transition);
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(46, 139, 139, 0.6);
}

/* ============================================================
   SUCCESS / ERROR TOAST
   ============================================================ */
.toast-notif {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.35s ease;
  border-left: 4px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.toast-notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   AOS Overrides
   ============================================================ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablets */
@media (max-width: 1199px) {
  .section-pad {
    padding: 80px 0;
  }

  .hero-content {
    padding-top: 90px;
  }
}

/* Tablets */
@media (max-width: 991px) {
  .hero-title {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }



  .contact-form {
    padding: 30px 24px;
  }
}

/* Large phones */
@media (max-width: 767px) {
  .section-pad {
    padding: 64px 0;
  }

  .hero-section {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-actions {
    flex-direction: column;
      margin-bottom: 12px;
    }

    @media (max-width: 991px) {
      .hero-actions {
        margin-bottom: 8px;
      }
    }

    @media (max-width: 575px) {
      .hero-actions {
        margin-bottom: 4px;
      }
    }
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }



  .contact-form {
    padding: 24px 18px;
  }

  .footer-top {
    padding: 56px 0 40px;
  }

  .blog-meta {
    flex-direction: column;
    gap: 4px;
  }

  .marquee-track {
    gap: 40px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .cta-title {
    font-size: 1.7rem;
  }

  .hero-stat {
    padding: 8px 10px;
  }

  .stat-num,
  .hero-stat>span:nth-child(2) {
    font-size: 1.4rem;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
  }

  .why-card {
    padding: 28px 20px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .team-info {
    padding: 18px 16px;
  }

  .blog-body {
    padding: 18px;
  }

  .career-card {
    padding: 28px 20px;
  }
}

/* ========== PHILOSOPHY CARDS ========== */
.philosophy-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: all 0.3s ease;
}

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

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-icon-wrapper {
  text-align: center;
}

.philosophy-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transition: all 0.3s ease;
}

.philosophy-icon-ring.philosophy-icon-accent {
  background: linear-gradient(135deg, var(--accent-color), #ff7b7b);
}

.philosophy-icon-ring i {
  font-size: 2rem;
  color: #fff;
}

.philosophy-card:hover .philosophy-icon-ring {
  transform: scale(1.1) rotate(5deg);
}

.philosophy-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-align: center;
}

.philosophy-desc {
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  font-size: 0.95rem;
}

.philosophy-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.feature-item:hover {
  background: rgba(var(--primary-rgb), 0.05);
  padding-left: 8px;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-item span {
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .philosophy-card {
    padding: 24px;
    margin-bottom: 24px;
  }

  .philosophy-icon-ring {
    width: 70px;
    height: 70px;
  }

  .philosophy-icon-ring i {
    font-size: 1.7rem;
  }

  .philosophy-title {
    font-size: 1.3rem;
  }
}