/*
  Wandeto Advocates - Custom Styles
  A professional law firm website using Bootstrap 5
*/

/* ===================================
   About Section
   =================================== */
.about-section {
  background: var(--light-bg);
}
:root {
  --primary-color: #0B1F3A;      /* Navy Blue - primary background/color */
  --secondary-color: #142F5B;     /* Secondary Navy - footer background */
  --accent-color: #C62828;        /* Red - main accent for headings, CTA, visibility */
  --accent-highlight: #C62828;    /* Red - highlights, buttons, small accents */
  --accent-hover: #A02020;        /* Darker red for hover */
  --text-dark: #2d3748;           /* Dark gray for text */
  --text-light: #718096;          /* Light gray for secondary text */
  --white: #ffffff;
  --light-bg: #F5F7FA;            /* Light background */
  --border-color: #e2e8f0;       /* Light border color */
  --success-color: #38a169;
  --error-color: #e53e3e;
  
  /* Typography */
  --font-primary: 'Corbel', sans-serif;
  --font-secondary: 'Corbel', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --card-border-radius: 8px;
  --transition-speed: 0.3s;
}

/* Theme Toggle Dropdown */
.theme-toggle {
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item {
  cursor: pointer;
}

/* ===================================
   Typography
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color);
}

/* ===================================
   Buttons
   =================================== */
.btn {
  font-family: var(--font-primary);
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--card-border-radius);
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--accent-highlight);
  border-color: var(--accent-highlight);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 50, 55, 0.3);
}

.btn-outline-primary {
  border-color: var(--accent-highlight);
  color: var(--accent-highlight);
}

.btn-outline-primary:hover {
  background-color: var(--accent-highlight);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--accent-color);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ===================================
   Navbar
   =================================== */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
  transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Mobile responsive */
@media (max-width: 767px) {
  .navbar {
    padding: 5px 0;
  }
  
  .navbar.scrolled {
    padding: 0;
  }
}

.navbar-brand {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 45px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.navbar-brand .brand-text {
  white-space: nowrap;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.navbar-brand .brand-text .firm-name {
  color: #0B1F3A !important;
  font-weight: 700 !important;
  font-size: 1.3rem;
}

.navbar-brand .brand-text .firm-title {
  color: #C62828 !important;
  font-weight: 600 !important;
  font-size: 1.2rem;
}

/* Team member colors */
.member-name {
  color: #c62828 !important;
  font-weight: 600;
}

.member-designation {
  color: #0b1f3a !important;
  font-weight: 700;
}

/* Team cards equal height */
.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.team-card .team-info {
  flex-grow: 1;
}

.navbar-brand .brand-text span {
  color: var(--accent-color);
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 18px;
  position: relative;
  font-size: 0.95rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 18px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 36px);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  background: transparent;
  position: relative;
  width: 35px;
  height: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  width: 35px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  flex-shrink: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Top line - longest/full width */
.navbar-toggler-icon::after {
  width: 15px;
  position: relative;
  top: 10px;
}

/* Middle line - medium length */
.navbar-toggler-icon {
  width: 25px;
}

/* Bottom line - shortest */
.navbar-toggler-icon::before {
  width: 35px;
  position: relative;
  bottom: 10px;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}

.hero-section .container {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 5 !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.02) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-carousel .carousel-inner {
  height: 100%;
}

.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel .carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(26, 26, 46, 0.7), rgba(22, 22, 42, 0.8)); */
  z-index: 1;
}

.hero-carousel {
  min-height: 60vh;
}

.scroll-link {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  animation: bounce 2s infinite;
}

.scroll-link span {
  display: block;
  width: 20px;
  height: 20px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding-right: 50px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
}

.hero-content h1 {
  color: var(--white);
          font-size: 1.4rem;
        text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--accent-color);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 35px;
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 45vh;
  }

  .hero-carousel {
    min-height: 45vh;
  }

  .hero-section .container {
    position: relative !important;
    top: auto;
    left: auto;
    transform: none;
    padding: 1rem;
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 8px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
  }

  .hero-content p,
  .hero-values {
    font-size: 1rem;
  }

  .hero-scroll {
    display: none;
  }

  .hero-carousel .carousel-item img {
    object-position: center top;
  }
}

.hero-values {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 1rem;
  letter-spacing: 1px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* ===================================
   Team Hero Section
   =================================== */
.team-hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}

.team-hero .container {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 5 !important;
  background: #2d374875;
  border-radius: 5px;
}

/* ===================================
   Section Styles
   =================================== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 20px auto 0;
}

.section-bg {
  background-color: var(--light-bg);
}

/* ===================================
   Info Bar (Contact Quick Links)
   =================================== */
.info-bar {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 8px 0;
}

.info-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-item i {
  font-size: 1rem;
  color: var(--white);
}

.info-item span {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.info-item a {
  color: var(--white);
  transition: color var(--transition-speed) ease;
}

.info-item a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links .bi{
  font-size: small;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--white);
  transition: all var(--transition-speed) ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-links a:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* ===================================
   Service Cards
   =================================== */
.service-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 35px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--white);
}

.service-card h4 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-weight: 500;
  color: var(--secondary-color);
}

.service-card .card-link i {
  transition: transform var(--transition-speed) ease;
}

.service-card .card-link:hover i {
  transform: translateX(5px);
}

/* ===================================
   Feature Box
   =================================== */
.feature-box {
  text-align: center;
  padding: 40px 30px;
}

.feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all var(--transition-speed) ease;
}

.feature-box:hover .feature-icon {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

.feature-box:hover .feature-icon i {
  color: var(--white);
}

.feature-box h4 {
  margin-bottom: 15px;
}

.feature-box p {
  color: var(--text-light);
}

/* ===================================
   About Page Styles
   =================================== */
.about-hero {
    background: linear-gradient(135deg, rgb(11 31 58 / 90%) 0%, rgb(11 31 58 / 90%) 100%), url(https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1920&h=1080&fit=crop) center center;
    background-size: cover;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.services-hero {
    background: linear-gradient(135deg, rgb(11 31 58 / 90%) 0%, rgb(11 31 58 / 90%) 100%), url(https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&h=1080&fit=crop) center center;
    background-size: cover;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.team-hero {
    background: linear-gradient(135deg, rgb(11 31 58 / 90%) 0%, rgb(11 31 58 / 90%) 100%), url(https://images.unsplash.com/photo-1533645782036-997947a9d529?q=80&w=870&auto=format&fit=crop) center center;
    background-size: cover;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.latest-updates-hero {
    background: linear-gradient(135deg, rgb(11 31 58 / 90%) 0%, rgb(11 31 58 / 90%) 100%), url(https://images.unsplash.com/photo-1479142506502-19b3a3b7ff33?w=1920&h=1080&fit=crop) center center;
    background-size: cover;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.services-hero h1,
.team-hero h1,
.latest-updates-hero h1 {
  color: var(--white);
  margin-bottom: 15px;
}

.services-hero p,
.team-hero p,
.latest-updates-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-hero h1 {
  color: var(--white);
  margin-bottom: 15px;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-values {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 0.5rem;
  letter-spacing: 1px;
  font-style: italic;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/" !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: bold;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
  color: var(--accent-color);
}

.about-content {
  padding: 80px 0;
}

@media (max-width: 991px) {
  .about-content {
    padding: 0 20px;
  }
}

.about-text h2 {
  margin-bottom: 25px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent-color);
  z-index: 1;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent-color);
  z-index: 1;
}

/* Mission, Vision, Values */
.mvv-section {
  background-color: var(--light-bg);
  padding: 80px 0;
}

.mvv-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

.mvv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.mvv-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.mvv-card h4 {
  margin-bottom: 15px;
}

.mvv-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(237, 50, 55, 0.95), transparent);
  transition: bottom var(--transition-speed) ease;
}

.team-card:hover .team-overlay {
  bottom: 0;
}

.team-overlay .social-links {
  justify-content: center;
}

.team-overlay .social-links a {
  width: 35px;
  height: 35px;
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.team-overlay .social-links a:hover {
  background-color: var(--white);
}

.team-info {
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 50px;
}

.team-info .social-links {
  margin-top: auto;
  position: fixed;
  bottom: 0;
  margin-bottom: .5rem;
}

.team-info h5 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.team-info span {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Why Choose Us */
.why-choose-us {
  background-color: var(--light-bg);
  padding: 80px 0;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .why-choose-us {
    padding: 20px 0;
  }
}

.why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.why-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.why-content h5 {
  margin-bottom: 8px;
}

.why-content p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ===================================
   Services Page Styles
   =================================== */
.services-grid {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .services-grid {
    padding: 10px 0;
  }

  .services-grid .service-item{
    margin-bottom: 10px !important;
  }

  .services-grid .service-item .service-item-image{
    min-height: auto !important;
  }
}

/* ======================================
   Service Card Grid
====================================== */
.services-grid-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.service-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-title {
  padding: 20px;
  text-align: center;
  background: #fff;
}

.service-card-title h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0b1f3a;
  font-weight: 600;
}

/* ======================================
   Service Detail Page
====================================== */
.service-detail-content {
  padding: 60px 0;
  background: #fff;
}

.service-detail-main {
  background: #fff;
}

.service-detail-image {
  border-radius: 8px;
  overflow: hidden;
}

.service-detail-main h2 {
  color: #0b1f3a;
  font-size: 2rem;
}

.service-detail-description {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.8;
}

.service-detail-features {
  margin-top: 30px;
}

.service-detail-features h4 {
  color: #0b1f3a;
}

.service-features-list {
  list-style: none;
  padding: 0;
}

.service-features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: #555;
  display: flex;
  align-items: center;
}

.service-features-list li:last-child {
  border-bottom: none;
}

.service-detail-cta {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.service-detail-cta h4 {
  color: #0b1f3a;
  margin-bottom: 10px;
}

.service-detail-cta p {
  color: #666;
  margin-bottom: 20px;
}

.service-detail-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.sidebar-card h4 {
  color: #0b1f3a;
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f59e0b;
}

.other-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.other-services-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.other-services-list li:last-child {
  border-bottom: none;
}

.other-services-list a {
  color: #555;
  transition: color 0.3s ease;
}

.other-services-list a:hover {
  color: #f59e0b;
}

.contact-card {
  background: #0b1f3a;
  color: #fff;
}

.contact-card h4 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.service-back-link {
  margin-top: 40px;
}

.service-item {
  margin-bottom: 40px;
}

.service-item:nth-child(odd) .service-item-content {
  order: 1;
}

.service-item:nth-child(even) .service-item-content {
  order: 2;
}

.service-item:nth-child(even) .service-item-image {
  order: 1;
}

@media (max-width: 991px) {
  .service-item:nth-child(odd) .service-item-content,
  .service-item:nth-child(even) .service-item-content,
  .service-item:nth-child(even) .service-item-image {
    order: 0;
  }
}

.service-item-content {
  padding: 30px;
}

.service-item-content h3 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.service-item-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

.service-item-image {
  position: relative;
  height: 100%;
  min-height: 300px;
  border-radius: var(--card-border-radius);
  overflow: hidden;
}

.service-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.service-item-image:hover .service-item-overlay {
  opacity: 1;
}

.service-item-overlay .service-icon-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform var(--transition-speed) ease;
}

.service-item-image:hover .service-item-overlay .service-icon-lg {
  transform: scale(1);
}

.service-item-overlay .service-icon-lg i {
  font-size: 2.5rem;
  color: var(--white);
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-hero {
  background: linear-gradient(135deg, rgb(11 31 58 / 90%) 0%, rgb(11 31 58 / 90%) 100%),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=1080&fit=crop') center center;
  background-size: cover;
  padding: 100px 0 80px;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 {
  color: var(--white);
  margin-bottom: 15px;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section {
  padding: 80px 0;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 35px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-info-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.contact-info-content h5 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-info-content p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-info-content a {
  color: var(--text-light);
}

.contact-info-content a:hover {
  color: var(--secondary-color);
}

/* Contact Form */
.contact-form-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 40px 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-card h3 {
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--card-border-radius);
  padding: 14px 18px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 242, 18, 0.15);
}

.form-control.is-invalid {
  border-color: var(--error-color);
}

.invalid-feedback {
  font-size: 0.85rem;
  color: var(--error-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* Map Section */
.map-section {
  padding: 0 0 80px;
}

.map-container {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(11, 31, 58, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

.back-to-top i {
  font-size: 1.25rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.9);
  padding: 70px 0 30px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.footer-about {
  margin-top: 15px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-highlight);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  color: var(--accent-highlight);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact p {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact p i {
  color: #ffffff;
  width: 20px;
}

.footer-contact p a {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--accent-color);
}

.footer-bottom small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1199px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-content h1 {
    font-size: 1.35rem;
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 60px 0;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 80px;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .info-bar-content {
    justify-content: center;
    text-align: center;
  }
  
  .info-item {
    justify-content: center;
  }
  
  .about-image {
    margin-top: 20px;
  }
  
  .footer {
    padding: 50px 0 30px;
  }
  
  .footer > .row > div {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 50px 0;
  }
  
  body {
    font-size: 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--card-border-radius);
    margin-top: 15px;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 15px;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .service-card {
    padding: 30px 25px;
  }
  
  .contact-info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer-bottom {
    padding-top: 20px;
  }
}

@media (max-width: 575px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
  
  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
  
  .hero-content h1 {
    font-size: 1.2rem;
  }
  
  .section-title p {
    font-size: 0.95rem;
  }
  
  .info-bar-content {
    flex-direction: column;
  }
  
  .contact-form-card {
    padding: 30px 20px;
  }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-content .spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================================
   Utility Classes
   =================================== */
.text-accent {
  color: var(--accent-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

/* ===================================
   Blog Styles
   =================================== */
.latest-updates-card {
  border: none;
  border-radius: var(--card-border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
  overflow: hidden;
}

.latest-updates-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.latest-updates-card .card-img-top {
  height: 300px;
  object-fit: cover;
}

.latest-updates-placeholder {
  height: 200px;
  background-color: var(--light-bg);
}

.latest-updates-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.latest-updates-card .card-title a:hover {
  color: var(--accent-color) !important;
}

.latest-updates-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.latest-update-post {
  background: var(--white);
  border-radius: var(--card-border-radius);
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.latest-update-post img {
  max-width: 100%;
  height: auto;
  border-radius: var(--card-border-radius);
}

.share-section {
  border-top: 1px solid var(--border-color);
}

/* ===================================
   Admin Styles
   =================================== */
.admin-sidebar {
  min-height: 100vh;
  background: var(--primary-color);
}

.admin-card {
  border: none;
  border-radius: var(--card-border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-card {
  border-radius: var(--card-border-radius);
  padding: 25px;
  transition: all var(--transition-speed) ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.font-primary {
  font-family: var(--font-primary);
}

.font-secondary {
  font-family: var(--font-secondary);
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Card hover effect */
.card-hover {
  transition: all var(--transition-speed) ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Box shadow */
.shadow-sm-custom {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.shadow-md-custom {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.shadow-lg-custom {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Border radius */
.rounded-custom {
  border-radius: var(--card-border-radius);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   Form Validation Styles
   =================================== */
.form-control.error {
  border-color: var(--error-color);
}

.form-control.success {
  border-color: var(--success-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* ===================================
   Page Specific Styles
   =================================== */

/* Home Page Stats */
.stats-section {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  padding: 60px 0;
  color: var(--white);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-section .btn-outline-light {
  border-color: var(--white);
  color: var(--white);
  background-color: transparent;
}

.cta-section .btn-outline-light:hover {
  background-color: var(--white);
  color: var(--accent-color);
}

/* Testimonials */
.testimonial-card {
  background-color: var(--white);
  border-radius: var(--card-border-radius);
  padding: 40px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h6 {
  margin-bottom: 3px;
  color: var(--primary-color);
}

.testimonial-author span {
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* Marquee/Scroll effects */
.client-logos {
  padding: 50px 0;
  background-color: var(--light-bg);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition-speed) ease;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}
