/* Code Showcase - Animated code snippet */
@keyframes fadeInWord {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(30, 115, 180, 0.3),
      0 0 40px rgba(59, 130, 246, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(30, 115, 180, 0.5),
      0 0 60px rgba(59, 130, 246, 0.2);
  }
}

.code-showcase {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(30, 115, 180, 0.3);
  border-radius: 12px;
  overflow: hidden;
  animation: slideInFromRight 0.8s ease-out, glow-pulse 3s ease-in-out infinite;
}

.code-header {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(30, 115, 180, 0.2);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.code-dot.red {
  background: #ff5f56;
}

.code-dot.yellow {
  background: #ffbd2e;
}

.code-dot.green {
  background: #27c93f;
}

.code-block {
  padding: 1.5rem;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
  overflow-x: auto;
}

.code-block code {
  display: block;
  white-space: pre;
}

.code-word {
  display: inline;
  opacity: 0;
  animation: fadeInWord 0.3s ease-out forwards;
}

.code-keyword {
  color: #60a5fa;
  font-weight: 600;
}

.code-variable {
  color: #f472b6;
}

.code-string {
  color: #4ade80;
}

.code-cursor {
  display: inline-block;
  width: 2px;
  height: 1.4rem;
  background: #60a5fa;
  margin-left: 0.2rem;
  animation: blink 1s infinite;
  margin-bottom: -4px;
}

/* Services Section - Blue creative style */
.services-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e7f3ff 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(30, 115, 180, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.services-section .section-title-blue {
  color: #1e73b4;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  height: 100%;
  box-shadow: 0 6px 20px rgba(30, 115, 180, 0.08);
  border: 1px solid rgba(30, 115, 180, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1e73b4 0%, #3b82f6 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(30, 115, 180, 0.2);
  border-color: rgba(30, 115, 180, 0.35);
}

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

.service-icon {
  font-size: 2rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.service-card h4 {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0.5rem;
  font-weight: 600; /* thinner than default */
  font-size: 1.15rem; /* slightly smaller to keep inline */
  line-height: 1.1;
  letter-spacing: 0;
  color: #0f172a;
}

@media (min-width: 576px) {
  /* Keep icon and title on one line for small+ screens */
  .service-card h4 {
    white-space: nowrap;
  }
}

.service-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-tags li {
  font-size: 0.75rem;
  color: #1e73b4;
  background: rgba(30, 115, 180, 0.08);
  border: 1px solid rgba(30, 115, 180, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

@media (max-width: 768px) {
  .services-section {
    padding: 3rem 0;
  }
  .service-card {
    padding: 1.25rem 1rem;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #10b981;
  --dark-color: #1f2937;
  --light-bg: #f9fafb;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Using Bootstrap's .container; custom container overrides removed */

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1100;
}

/* Mobile navbar collapse tweaks */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  .navbar-nav .nav-item + .nav-item {
    margin-top: 0.5rem;
  }
  .navbar-nav .btn {
    width: 100%;
  } /* Remove border/background/outline from hamburger toggler on mobile */
  .navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0.25rem 0.5rem;
  }
  .navbar-toggler:focus,
  .navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 576px) {
  .navbar-logo {
    height: 34px;
  }
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

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

.btn-primary:hover {
  background: #1d4ed8;
}
/* Creative CTA Button */
.btn-cta {
  --cta-start: #1e73b4;
  --cta-end: #3b82f6;
  position: relative;
  display: inline-block;
  padding: 0.75rem 2.75rem; /* slightly shorter height, more right padding for arrow spacing */
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  box-shadow: 0 12px 30px rgba(30, 115, 180, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  overflow: hidden;
}

.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 30%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-cta::after {
  content: "→";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  font-size: 1.25rem; /* slightly bigger arrow */
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(30, 115, 180, 0.45);
  filter: saturate(1.1);
}

.btn-cta:hover::before {
  left: 120%;
}

.btn-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 115, 180, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta,
  .btn-cta::before {
    transition: none;
  }
}

/* Premium Hire CTA (glass-gradient outline) */
.btn-hire {
  --hire-start: #1e73b4;
  --hire-end: #3b82f6;
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: #1e73b4;
  text-decoration: none;
  border: 2px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--hire-start), var(--hire-end)) border-box;
  box-shadow: 0 6px 18px rgba(30, 115, 180, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

.btn-hire:hover {
  background: linear-gradient(135deg, var(--hire-start), var(--hire-end));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(30, 115, 180, 0.28);
}

.btn-hire:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 115, 180, 0.28);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  /* keep background starting at top; add internal padding to offset fixed navbar */
  padding: calc(4.5rem + 56px) 0 3rem;
  margin-top: 0;
}

/* Hero image (desktop only) */
.hero-image {
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  max-width: 100%;
}

/* Make hero columns equal height and image keep natural size on desktop */
@media (min-width: 992px) {
  .hero-section .row {
    align-items: center;
  }
  .hero-section .col-lg-6.d-lg-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* keep image at the right inside the column */
    padding-right: 0; /* remove gutter so image sits at the edge of the column */
  }
  .hero-image {
    max-width: 520px; /* keep natural size instead of matching hero height */
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .hero-image {
    max-width: 620px;
  }
}

.hero-section h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: normal;
  color: white;
  text-align: left;
  margin-bottom: 1.5rem;
}

h1:not(.hero-section h1) {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: normal;
  color: #222;
  text-align: left;
  margin-bottom: 1.5rem;
}

h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.05rem;
  line-height: 1.1;
  letter-spacing: normal;
  color: #222;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.55rem;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  /*margin-bottom: 0.05rem;  reduced spacing */
  font-size: 1.05rem;
}

.feature-item::before {
  content: "⚡";
  font-size: 1.2rem; /* smaller icon */
  margin-right: 0.6rem;
  line-height: 1;
}

@media (max-width: 576px) {
  .feature-item {
    margin-bottom: 0.45rem;
    font-size: 1rem;
  }
  .feature-item::before {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }
}

/* Bootstrap provides a comprehensive grid system — removed custom grid overrides */

/* Technologies section styles removed (section was deleted from HTML) */

/* Features Section */
.features-section {
  padding: 4rem 0;
}

.feature-box {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Dark About Section with background image */
.about-section-dark {
  background-image: url("../img/about_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

/* Dark overlay to ensure text readability */
.about-section-dark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 42, 58, 0.85) 0%,
    rgba(13, 27, 42, 0.85) 100%
  );
  pointer-events: none;
}

/* Subtle geometric pattern background */
.about-section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(30, 115, 180, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(30, 115, 180, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.about-section-dark .container {
  position: relative;
  z-index: 1;
}

.about-section-dark h2 {
  color: #ffffff;
}

.about-section-dark .lead {
  color: #e5e7eb;
}

.about-section-dark .feature-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(30, 115, 180, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.about-section-dark .feature-box:hover {
  background: rgba(30, 115, 180, 0.1);
  border-color: #1e73b4;
  box-shadow: 0 8px 24px rgba(30, 115, 180, 0.15);
  transform: translateY(-5px);
}

.about-section-dark .feature-box h4 {
  color: #ffffff;
}

.about-section-dark .feature-box p {
  color: #d1d5db;
}

.about-section-dark .feature-box::before {
  color: #1e73b4;
}

/* Showcase Section (text left, image right) */
.showcase-section {
  padding: 4rem 0;
  text-align: center;
}
.showcase-section .col-lg-6:first-child {
  /* top-aligned, normal flow */
  display: block;
  text-align: center;
}
.showcase-section h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.1;
  letter-spacing: normal;
  color: #1e73b4;
  margin-bottom: 1.5rem;
}
.showcase-section p.lead {
  font-size: 1.25rem;
  color: #7a7a7a;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}
.showcase-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
@media (min-width: 992px) {
  .showcase-section .row {
    align-items: flex-start;
  }
  .showcase-section .row.engineers-tech-stack {
    align-items: center;
  }
}
.feature-box::before {
  content: "✓";
  font-size: 3rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* How It Works Section - Creative Blue Theme */
.how-it-works-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(30, 115, 180, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.how-it-works-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.section-title-blue {
  color: #1e73b4;
  font-size: 2.5rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: #0369a1;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Process Cards */
.process-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(30, 115, 180, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid transparent;
  height: 100%;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e73b4 0%, #3b82f6 100%);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.process-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(30, 115, 180, 0.2);
  border-color: rgba(30, 115, 180, 0.2);
}

.process-number {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #1e73b4 0%, #3b82f6 100%);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(30, 115, 180, 0.3);
}

.process-icon {
  font-size: 3rem;
  margin: 1rem 0;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.process-card:hover .process-icon {
  transform: scale(1.1);
  filter: grayscale(0);
}

.process-card h4 {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1rem 0;
}

.process-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Stats Grid */
.stats-grid {
  background: linear-gradient(135deg, #1e73b4 0%, #0369a1 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  box-shadow: 0 10px 40px rgba(30, 115, 180, 0.25);
  position: relative;
  overflow: hidden;
}

.stats-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.4;
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
  color: #e0f2fe;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .section-title-blue {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .process-card {
    padding: 2rem 1rem;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .stats-grid {
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
}

/* Old Stats Section */
.stats-section {
  background: var(--light-bg);
  padding: 4rem 0;
}

.stat-box {
  text-align: center;
  padding: 2rem;
}

.stat-box h2 {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: #666;
  font-size: 1.1rem;
}

/* Process Section */
.process-section {
  padding: 4rem 0;
}

.process-step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* Testimonials (ConcertIDC-inspired) */
.testimonial-section {
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  padding: 5rem 0;
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

.testimonial-section h2 {
  color: #ffffff;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(30, 115, 180, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.testimonial-slide {
  padding: 2rem 1rem;
}

.quote-icon {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  color: #1e73b4;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.9;
  color: #e5e7eb;
  max-width: 860px;
  margin: 0 auto 1.25rem;
}

.testimonial-author {
  color: #ffffff;
}

.testimonial-author strong {
  font-weight: 700;
}

.testimonial-author small {
  color: #9fbad6;
}

.carousel-indicators.custom-indicators {
  position: static;
  margin-top: 1.5rem;
}

.carousel-indicators.custom-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.35;
}

.carousel-indicators.custom-indicators .active {
  opacity: 1;
  background-color: #1e73b4;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(0.3);
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0 0.5rem;
  }
}

/* Blog Section */
.blog-section {
  padding: 4rem 0;
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  margin-bottom: 2rem;
  background: white;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body h5 {
  font-size: 1.2rem;
  color: #333;
}

/* Contact Section */
.contact-section {
  background: var(--dark-color);
  color: white;
  padding: 4rem 0;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  resize: vertical;
}

/* Footer (Achutha-like minimal dark style) */
.footer {
  background: #0b0f19; /* deep navy/black */
  color: #e5e7eb; /* light gray */
  padding: 2rem 0 0; /* compact vertical rhythm, no bottom padding */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial,
    sans-serif;
}

.footer .container {
  max-width: 1140px;
}

.footer-title {
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 1rem;
  color: #f3f4f6;
  margin-bottom: 0.75rem;
}

/* Short white divider under specific footer title */
.footer-title.has-underline {
  display: inline-block;
  padding-bottom: 0.25rem;
}
.footer-title.has-underline::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: #ffffff;
  opacity: 0.9;
  border-radius: 1px;
  margin-top: 0.4rem;
}

.footer p,
.footer .footer-text {
  color: #9ca3af; /* muted gray */
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.25rem 0;
}

.footer .footer-text {
  font-size: 1.05rem;
  font-weight: 600;
}

.footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer .social-links {
  color: #9ca3af;
}

.footer .social-links a {
  font-size: 1rem;
  margin-right: 0.75rem;
}

/* Contact icons and list */
.footer .contact-list {
  margin: 0.25rem 0 0;
  padding: 0;
}

.footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.4rem 0;
  font-size: 0.85rem;
}

.footer .contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: #9ca3af;
  margin-top: 0.15rem;
}

.footer .contact-item a {
  color: #9ca3af;
  font-size: 0.85rem;
}

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

.footer .contact-item a:hover {
  color: #ffffff;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #1f2937; /* subtle divider */
  margin: 1.5rem 0;
}

/* Full-width copyright section with blue background */
.footer-copyright {
  background-color: #1e73b4;
  padding: 1rem 0;
  width: 100%;
  margin: 0;
  margin-top: 0;
}

.footer-copyright .container {
  display: flex;
  justify-content: center;
}

.footer .copyright {
  color: #ffffff !important;
  font-size: 0.9rem;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* Responsive footer stacking */
@media (max-width: 768px) {
  .footer .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
}

.trusted-heading {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: #222;
  text-transform: none;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .trusted-heading {
    font-size: 1.5rem;
  }
}

.list-unstyled {
  list-style: none;
}

.list-unstyled li {
  margin-bottom: 0.5rem;
}

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

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem; /* reduce space below heading */
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar {
    position: relative;
  }

  .hero-section {
    /* offset fixed navbar while keeping background at top; tightened on mobile */
    padding: calc(0.6rem + 56px) 0 1.5rem; /* less top space so heading sits closer to nav */
  }
}

/* Icon replacements */
.icon-clock::before {
  content: "🕐";
}
.icon-check::before {
  content: "✓";
}
.icon-shield::before {
  content: "🛡️";
}
.icon-globe::before {
  content: "🌐";
}
.icon-award::before {
  content: "🏆";
}
.icon-people::before {
  content: "👥";
}
.icon-handshake::before {
  content: "🤝";
}

/* Partner logos: single-row, centered, non-scrolling, constrained width */
.partner-logos {
  gap: 0.5rem; /* tighter spacing */
  padding: 0.4rem 0;
  justify-content: center;
  max-width: 900px; /* center row and constrain width so it doesn't scroll */
  margin: 0 auto;
  overflow-x: visible;
}
.partner-logos img.logo-item {
  display: block;
  height: 36px; /* reduced height */
  width: auto;
  max-width: 120px;
}
@media (min-width: 768px) {
  .partner-logos img.logo-item {
    height: 48px;
    max-width: 160px;
  }
}
@media (min-width: 1200px) {
  .partner-logos {
    gap: 1rem; /* slightly more spacing on large screens */
  }
  .partner-logos img.logo-item {
    height: 48px; /* a little smaller on desktop */
    max-width: 140px;
  }
}

/* Mobile: allow wrapping so all logos are visible and slightly smaller */
@media (max-width: 576px) {
  .partner-logos {
    flex-wrap: wrap !important; /* override Bootstrap nowrap */
    justify-content: center;
    gap: 0.4rem;
  }
  .partner-logos img.logo-item {
    height: 30px;
    max-width: 100px;
  }
}
