/* =====================================================
   TAX’S TALE – MASTER STYLESHEET (UPDATED)
   Brand-based professional tax consultancy design
===================================================== */

/* ================================
   ROOT VARIABLES (LOGO COLORS)
================================ */
:root {
  --primary: #0b4fb3;
  --primary-light: #1da1f2;
  --success: #2db55d;
  --highlight: #ffd84d;
  --accent-red: #b91c1c;

  --heading: #1f2937;
  --text: #374151;
  --muted: #6b7280;

  --white: #ffffff;
  --light-bg: #f8fafc;
  --dark: #0f172a;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 6px 18px rgba(0,0,0,0.06);
  --shadow-md: 0 16px 40px rgba(0,0,0,0.12);
}

/* ================================
   RESET & BASE
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 0;
}

a {
  text-decoration: none;
  transition: color 0.25s ease;
}

/* =====================================================
   NAVBAR – DESKTOP + MOBILE (BOOTSTRAP SAFE)
===================================================== */

/* ================================
   DESKTOP NAVBAR
================================ */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--highlight);
  /*padding: 14px 0;*/
  z-index: 1000;
}

.navbar-brand img {
  max-height: 60px;
}

/* ================================
   NAV LINKS (DESKTOP)
================================ */
.navbar .nav-link {
  position: relative;
  font-weight: 600;
  font-size: 15px;
  color: var(--heading);
  padding: 6px 0;
  transition: color 0.25s ease;
}

/* Hover + Active color */
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

/* Underline animation (desktop only) */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

/* ================================
   CTA BUTTON (DESKTOP)
================================ */
.navbar .btn-success {
  background: var(--success);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 8px 22px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.navbar .btn-success:hover {
  background: #249d52;
  transform: translateY(-1px);
}

/* ================================
   NAVBAR TOGGLER
================================ */
.navbar-toggler {
  padding: 6px 10px;
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ================================
   MOBILE OFFCANVAS
================================ */
.offcanvas {
  background: var(--white);
  width: 280px;
}

.offcanvas-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.offcanvas-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
}

.offcanvas-body {
  padding: 18px 20px;
}

/* Mobile nav links */
.offcanvas .nav-link {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, color 0.25s ease;
}

/* Remove underline on mobile */
.offcanvas .nav-link::after {
  display: none;
}

/* Mobile hover + active */
.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
  background: var(--light-bg);
  color: var(--primary);
}

/* Mobile CTA */
.offcanvas .btn-success {
  background: var(--success);
  border: none;
  padding: 12px;
  font-size: 15px;
  border-radius: 999px;
}

.offcanvas .btn-success:hover {
  background: #249d52;
}

/* ================================
   RESPONSIVE SAFETY
================================ */
@media (min-width: 992px) {
  .offcanvas {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .navbar-brand img {
    max-height: 60px;
  }

  .offcanvas {
    width: 100%;
  }

  .offcanvas-title {
    font-size: 17px;
  }

  .offcanvas .nav-link {
    font-size: 14.5px;
    padding: 11px 12px;
  }

  .offcanvas .btn-success {
    font-size: 14.5px;
  }
}

/* ================================
   NAVBAR TOGGLER ICON FIX
================================ */

/* Force dark hamburger icon */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31,41,55,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ================================
   HERO SECTION
================================ */
.hero-section {
  padding: 110px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.hero-section .badge {
  background: var(--highlight);
  color: var(--heading);
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
}

.hero-section h1 {
  font-size: 44px;
  margin-top: 14px;
}

.hero-section p {
  max-width: 560px;
  color: var(--muted);
  margin-top: 14px;
  font-size: 16px;
}

/* Hero buttons */
.hero-section .btn-success {
  background: var(--success);
  border-radius: 999px;
}

.hero-section .btn-outline-dark {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-section .btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* ================================
   HERO IMAGE
================================ */
.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Optional: slight floating effect */
@media (min-width: 992px) {
  .hero-image img {
    transform: translateY(10px);
  }
}

.hero-image img {
  border-radius: 40px;
}


/* ================================
   SECTION HEADERS (REUSABLE)
================================ */
.section-header h2 {
  font-size: 32px;
}

.section-header p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

/* ================================
   OUR SERVICES – CREATIVE DESIGN
================================ */
.our-services {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 100%
  );
}

/* Service tile */
.service-tile {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px 34px 46px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  text-align: center; /* NEW: centers content including icon */
}

.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Accent bar */
.service-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-light)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-tile:hover .service-accent {
  opacity: 1;
}

/* Icon badge */
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px; /* KEY FIX: centers icon horizontally */
}

.service-icon i {
  color: #ffffff;
  font-size: 24px;
}

/* Icon color variants */
.service-icon.blue {
  background: linear-gradient(135deg, #0b4fb3, #1da1f2);
}
.service-icon.green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
.service-icon.purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}
.service-icon.yellow {
  background: linear-gradient(135deg, #f59e0b, #facc15);
}
.service-icon.teal {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}
.service-icon.red {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* Text */
.service-tile h5 {
  font-size: 17.5px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading);
}

.service-tile p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* Spacing between rows */
.our-services .row {
  row-gap: 34px;
}

/* Mobile */
@media (max-width: 575px) {
  .our-services {
    padding: 90px 0;
  }

  .service-tile {
    padding: 34px 28px 38px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .service-icon i {
    font-size: 22px;
  }
}



/* ================================
   WHY CHOOSE US – CARD STRUCTURE
================================ */
.why-us-cards {
  padding: 120px 0;
  background: var(--white);
}

/* Card */
.why-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  height: 100%;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.why-card:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}

/* Icon */
.why-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.why-card-icon i {
  color: #ffffff;
  font-size: 22px;
}

/* Icon colors */
.why-card-icon.blue {
  background: linear-gradient(135deg, #0b4fb3, #1da1f2);
}
.why-card-icon.green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
.why-card-icon.yellow {
  background: linear-gradient(135deg, #f59e0b, #facc15);
}
.why-card-icon.purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}
.why-card-icon.teal {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}
.why-card-icon.red {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* Text */
.why-card h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading);
}

.why-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* Spacing between rows */
.why-us-cards .row {
  row-gap: 30px;
}

/* Mobile */
@media (max-width: 575px) {
  .why-us-cards {
    padding: 90px 0;
  }

  .why-card {
    padding: 30px 26px;
  }

  .why-card-icon {
    width: 54px;
    height: 54px;
  }

  .why-card-icon i {
    font-size: 20px;
  }
}


/* Ensure icon stays centered on all devices */
.why-card-icon {
  margin-left: 0;
}

/* Mobile alignment */
@media (max-width: 575px) {
  .why-card {
    text-align: center; /* center content on mobile */
  }

  .why-card-icon {
    margin: 0 auto 16px; /* center icon horizontally */
  }
}


/* ================================
   PROCESS – TIMELINE DESIGN
================================ */
.process-timeline {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--light-bg) 0%,
    #ffffff 100%
  );
}

/* Wrapper */
.process-wrapper {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  position: relative;
}

/* Horizontal connector line */
.process-wrapper::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

/* Individual item */
.process-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Icon circle */
.process-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon i {
  font-size: 22px;
  color: var(--white);
}

/* Step count */
.step-count {
  position: absolute;
  bottom: -8px;
  right: -8px;
  background: var(--white);
  color: var(--heading);
  font-size: 12px;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Icon color variants */
.process-icon.blue {
  background: linear-gradient(135deg, #0b4fb3, #1da1f2);
}

.process-icon.green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.process-icon.yellow {
  background: linear-gradient(135deg, #f59e0b, #facc15);
}

.process-icon.purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* Content */
.process-content h5 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--heading);
}

.process-content p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ================================
   RESPONSIVE – MOBILE FLOW
================================ */
@media (max-width: 991px) {
  .process-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .process-wrapper::before {
    display: none;
  }

  .process-item {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .process-icon {
    margin: 0;
    width: 56px;
    height: 56px;
    min-width: 56px;
  }

  .step-count {
    bottom: -6px;
    right: -6px;
  }
}


@media (max-width: 991px) {
  .process-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .process-wrapper::before {
    display: none;
  }

  .process-item {
    text-align: center;              /* FIX */
    display: block;                  /* REMOVE side alignment */
    padding: 30px 24px;
  }

  .process-icon {
    margin: 0 auto 14px;             /* CENTER ICON */
    width: 56px;
    height: 56px;
  }

  .step-count {
    bottom: -6px;
    right: -6px;
  }

  .process-content {
    text-align: center;              /* CENTER TEXT */
  }
}


/* ================================
   AWESOME FEATURES – TYPOGRAPHY UPDATE
================================ */

.awesome-features {
  padding: 90px 0;
  background: var(--light-bg);
}

/* Section header */
.awesome-features .section-header h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.awesome-features .section-header p {
  font-size: 15px;
  max-width: 680px;
  margin: 6px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Feature title */
.feature-content h5 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

/* Feature text */
.feature-content p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* Feature item layout remains same */
.feature-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Mobile refinement */
@media (max-width: 575px) {
  .awesome-features .section-header h2 {
    font-size: 26px;
  }

  .feature-content h5 {
    font-size: 16px;
  }

  .feature-content p {
    font-size: 14px;
  }
}



/* ================================
   CTA – COMPACT & ROUNDED
================================ */
.cta-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.cta-box {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light)
  );
  border-radius: 22px;
  padding: 42px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.cta-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.cta-content p {
  font-size: 15px;
  color: #e0ecff;
  max-width: 520px;
  line-height: 1.6;
}

/* CTA Button */
.cta-btn {
  background: var(--highlight);
  color: var(--heading);
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #ffcf2d;
  transform: translateY(-2px);
}

/* ================================
   CTA – MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 26px;
  }

  .cta-content h3 {
    font-size: 22px;
  }

  .cta-content p {
    font-size: 14.5px;
  }

  .cta-btn {
    padding: 12px 26px;
  }
}


/* ================= TESTIMONIALS SECTION ================= */
.testimonials-section {
  padding: 90px 0;
  background: #f9fafb;
  overflow: hidden;
}

/* ================= SLIDER ================= */
.testimonial-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* ================= CARD ================= */
.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px 32px 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);

  flex: 0 0 calc(33.3333% - 16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-size: 42px;
  color: #facc15;
  line-height: 1;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 26px;
}

/* ================= CLIENT ================= */
.client-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-img img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #facc15;
}

.client-info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.client-info span {
  font-size: 13px;
  color: #6b7280;
}

/* ================= CONTROLS (ARROWS) ================= */
.testimonial-controls {
  pointer-events: none;
}

.testimonial-controls button {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2563eb;
  color: #ffffff;
  border: none;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  z-index: 20;
  transition: all 0.3s ease;
}

.prev-btn {
  left: -56px;
}

.next-btn {
  right: -56px;
}

.testimonial-controls button:hover {
  background: #1d4ed8;
  transform: translateY(-50%) scale(1.08);
}

/* ================= DOTS ================= */
.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  gap: 10px;
}

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
  background: #2563eb;
  width: 24px;
  border-radius: 6px;
}

/* ================= RESPONSIVE ================= */

/* Tablet: 2 cards */
@media (max-width: 991px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

/* Mobile: 1 card */
@media (max-width: 767px) {
  .testimonials-section {
    padding: 70px 0;
  }

  .testimonial-track {
    gap: 20px;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-controls button {
    width: 40px;
    height: 40px;
  }
}

/* ================================
   GLOBAL SAFETY FIXES (CRITICAL)
================================ */
html, body {
  width: 100%;
  overflow-x: hidden;
}

section,
.about-hero,
.about-text-section,
.about-intro,
.why-choose-us,
.our-commitment,
.our-approach {
  max-width: 100vw;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header height offset (for fixed/sticky header) */
:root {
  --header-height: 80px;
}

/* ================================
   ABOUT TEXT SECTIONS – ENHANCED TYPOGRAPHY
================================ */
.about-text-section {
  padding: 100px 0;
  background: #ffffff;
}

.about-text-section.light {
  background: #f8fafc;
}

.about-text-section h2 {
  font-size: 34px;
  margin-bottom: 22px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.about-text-section p {
  font-size: 17px;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 960px;
}

.about-list {
  padding-left: 22px;
  max-width: 960px;
}

.about-list li {
  font-size: 16.5px;
  color: #475569;
  margin-bottom: 12px;
  line-height: 1.8;
}

.about-list strong {
  color: #0f172a;
  font-weight: 600;
}

/* ================================
   ABOUT HERO TYPOGRAPHY BOOST
================================ */
.about-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* ================================
   ABOUT US HERO
================================ */
.about-hero {
  padding: 120px 0 90px;
  background: linear-gradient(135deg, #0b1c4d, #121a4d);
  color: #ffffff;
  position: relative;
  margin-top: var(--header-height);
}

.about-hero-content {
  max-width: 760px;
  overflow-wrap: break-word;
}

.about-hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 16px;
  color: #dbeafe;
  line-height: 1.7;
}

/* ================================
   MOBILE CENTER ALIGNMENT
================================ */
@media (max-width: 768px) {
  .about-hero {
    padding: 90px 0 70px;
  }

  .about-hero-content {
    margin: 0 auto;
    text-align: center;
  }

  .about-hero h1 {
    font-size: 32px;
  }

  .about-hero p {
    font-size: 15px;
  }
}

/* ================================
   ABOUT – WHO WE ARE
================================ */
.about-intro {
  padding: 90px 0;
  background: #ffffff;
}

.about-intro-content {
  max-width: 520px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-intro-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.divider-line {
  width: 60px;
  height: 4px;
  background: #1d4ed8;
  border-radius: 2px;
  margin: 18px 0 22px;
}

.about-intro-content p {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-intro-visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.10);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .about-intro {
    padding: 70px 0;
  }

  .about-intro-content {
    max-width: 100%;
  }

  .about-intro-content h2 {
    font-size: 32px;
  }

  .about-intro-visual {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .about-intro {
    text-align: center;
  }

  .divider-line {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================================
   WHY CHOOSE US
================================ */
.why-choose-us {
  padding: 100px 0;
  background: #f8fafc;
}

.why-choose-us .section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.why-choose-us .section-header p {
  font-size: 15.5px;
  color: #475569;
  max-width: 560px;
  margin: 0 auto;
}

.why-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 30px;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  text-align: left;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: #ffffff;
}

.why-icon.blue { background: #1d4ed8; }
.why-icon.green { background: #16a34a; }
.why-icon.yellow { background: #facc15; color: #1f2937; }
.why-icon.purple { background: #7c3aed; }
.why-icon.teal { background: #0d9488; }
.why-icon.red { background: #dc2626; }

.why-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14.8px;
  color: #475569;
  line-height: 1.7;
}

/* ================================
   OUR COMMITMENT
================================ */
.our-commitment {
  padding: 110px 0;
  background: #ffffff;
}

.commitment-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
}

.commitment-content {
  max-width: 560px;
}

.commitment-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 18px;
}

.commitment-content .intro-text {
  font-size: 16.5px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 26px;
}

.commitment-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.commitment-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  color: #334155;
  line-height: 1.65;
}

.commitment-point i {
  color: #16a34a;
  font-size: 16px;
  margin-top: 4px;
}

/* ================================
   OUR APPROACH
================================ */
.our-approach {
  padding: 110px 0;
  background: #f8fafc;
}

.approach-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 38px 32px;
  height: 100%;
  text-align: left;
  box-shadow: 0 14px 36px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  overflow: hidden;
}

.approach-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.12);
}

.step-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: #ffffff;
}

.step-icon.blue { background: #2563eb; }
.step-icon.green { background: #16a34a; }
.step-icon.yellow { background: #facc15; color: #1f2937; }
.step-icon.purple { background: #7c3aed; }
.step-icon.teal { background: #0d9488; }
.step-icon.red { background: #dc2626; }

/* ================================
   MOBILE FIXES
================================ */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .commitment-image img {
    height: auto;
    max-height: 320px;
  }
}



/* ================================
   INNER HERO (ABOUT / SERVICES)
================================ */
.inner-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}

/* Background image for SERVICES */
.services-hero {
  background-image: url("../assets/images/services-hero.jpg"); 
  /* Use any professional office / tax-related image */
}

/* Dark overlay */
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 79, 179, 0.85),
    rgba(15, 23, 42, 0.85)
  );
  z-index: 1;
}

/* Content */
.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Heading */
.inner-hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

/* Breadcrumb */
.breadcrumb-wrap {
  font-size: 14px;
  margin-bottom: 14px;
  color: #e5e7eb;
}

.breadcrumb-wrap a {
  color: #ffd84d;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-wrap span {
  margin: 0 6px;
}

/* Description */
.inner-hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 600px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .inner-hero {
    min-height: 260px;
    text-align: center;
  }

  .inner-hero-content {
    margin: 0 auto;
  }

  .inner-hero-content h1 {
    font-size: 32px;
  }

  .inner-hero-content p {
    font-size: 15px;
  }

  .breadcrumb-wrap {
    justify-content: center;
  }
}


/* ================================
   SERVICE CATEGORIES
================================ */
.service-categories {
  padding: 110px 0;
  background: #ffffff;
}

.service-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.service-card i {
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 14px;
}

.service-card h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Load more button */
.services-load-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.services-load-btn:hover {
  background: var(--primary-dark);
}

/* Prevent button from disappearing after expand */
.service-categories {
  overflow: visible;
}

.servicesGrid {
  overflow: visible;
}

/* Keep load more / less button visible */
.service-categories .text-center {
  position: relative;
}


/* ================================
   RESPONSIVE
================================ */
@media (max-width: 767px) {
  .service-categories {
    padding: 90px 0;
  }

  .service-card {
    padding: 32px 26px;
  }

  .service-card i {
    font-size: 30px;
  }
}


/* ================================
   SERVICE ICON COLOR VARIANTS
================================ */
.service-card i {
  font-size: 40px;
  margin-bottom: 18px;
}

/* Blue – Tax & Compliance */
.service-card .fa-file-invoice-dollar,
.service-card .fa-scale-balanced,
.service-card .fa-clipboard-check {
  color: #2563eb;
}

/* Green – Accounting & Payroll */
.service-card .fa-book,
.service-card .fa-users-gear {
  color: #16a34a;
}

/* Purple – Corporate / ROC */
.service-card .fa-building-columns,
.service-card .fa-file-contract {
  color: #7c3aed;
}

/* Orange – GST / Trade / License */
.service-card .fa-receipt,
.service-card .fa-id-card,
.service-card .fa-certificate {
  color: #ea580c;
}

/* Teal – Advisory / Consulting */
.service-card .fa-handshake,
.service-card .fa-comments,
.service-card .fa-gears {
  color: #0d9488;
}

/* Red – FSSAI / Regulatory */
.service-card .fa-utensils {
  color: #dc2626;
}


/* Icon container look */
.service-card i {
  background: rgba(0,0,0,0.04);
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



/* ================================
   TRUST & ASSURANCE SECTION
================================ */
.trust-section {
  padding: 120px 0;
  background: #ffffff;
}

/* Left grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Trust card */
.trust-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 26px 22px;
  transition: all 0.3s ease;
}

/* Icon */
.trust-card i {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Title */
.trust-card h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--heading);
}

/* Text */
.trust-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Hover */
.trust-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

/* Right image */
.trust-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-section {
    padding: 90px 0;
  }
}

@media (max-width: 575px) {
  .trust-card {
    padding: 22px 18px;
  }

  .trust-card h6 {
    font-size: 15px;
  }
}


/* ================================
   TRUST ICON – CIRCULAR DESIGN
================================ */
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
}

/* Icon colors */
.trust-icon.blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.trust-icon.green {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.trust-icon.purple {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.trust-icon.orange {
  background: rgba(234, 88, 12, 0.12);
  color: #ea580c;
}

.trust-icon.teal {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
}

.trust-icon.red {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

/* Slight animation */
.trust-card:hover .trust-icon {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* ================================
   TRUST ICON – CENTER ALIGN FIX
================================ */

/* Ensure card content alignment */
.trust-card {
  text-align: center; /* Centers icon + text safely */
}

/* Center icon block */
.trust-icon {
  margin: 0 auto 14px; /* KEY FIX */
}

/* If icon is used directly (fallback safety) */
.trust-card i {
  display: block;
  margin: 0 auto 10px;
}

/* ================================
   RESPONSIVE SAFETY
================================ */
@media (max-width: 991px) {
  .trust-card {
    text-align: center;
  }
}





/* ================================
   CONTACT HERO BACKGROUND
================================ */
.contact-hero {
  background-image: url("../assets/images/contact-hero.jpg");
  background-size: cover;
  background-position: center;
}



/* ================================
   CONTACT SECTION
================================ */
.contact-section {
  padding: 100px 0;
  background: #ffffff;
}

/* INFO CARDS */
.contact-info-card {
  background: #eaf6ff;
  border-radius: 26px;
  padding: 34px 28px;
  text-align: center;
  height: 100%;
}

.contact-info-card h6 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
  color: var(--heading);
}

.contact-info-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

.info-icon {
  width: 56px;
  height: 56px;
  background: #2da7ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 22px;
}

/* IMAGE */
.contact-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

/* FORM */
.contact-form-box {
  background: #eaf6ff;
  padding: 46px 42px;
  border-radius: 26px;
}

.contact-form-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 26px;
}

/* INPUTS */
.input-group-custom {
  position: relative;
}

.input-group-custom i {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: #2da7ff;
  font-size: 16px;
}

.input-group-custom input,
.input-group-custom select,
.input-group-custom textarea {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 14.5px;
  background: #ffffff;
}

.input-group-custom.textarea textarea {
  border-radius: 22px;
  min-height: 130px;
  resize: none;
  padding-top: 16px;
}

/* BUTTON */
.contact-submit-btn {
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact-submit-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .contact-form-box {
    padding: 36px 28px;
  }

  .contact-image {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .contact-info-card {
    padding: 28px 22px;
  }

  .contact-form-box h3 {
    text-align: center;
  }
}



/* ================================
   CONTACT MAP SECTION
================================ */
.contact-map-section {
  padding: 90px 0;
  background: #f8fafc;
}

.contact-map-section .section-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.contact-map-section .section-header p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
}

/* MAP CONTAINER */
.map-wrapper {
  margin-top: 40px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #ffffff;
}

/* RESPONSIVE IFRAME */
.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* MOBILE */
@media (max-width: 575px) {
  .map-wrapper iframe {
    height: 320px;
  }

  .contact-map-section .section-header h2 {
    font-size: 26px;
  }
}



/* ================================
   PORTFOLIO HERO BACKGROUND
================================ */
.portfolio-hero {
  background-image: url("../assets/images/portfolio-hero.jpg");
  background-size: cover;
  background-position: center;
}



/* ================================
   PORTFOLIO GRID
================================ */
.portfolio-section {
  padding: 100px 0;
  background: #f8fafc;
}

.portfolio-item {
  display: block;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  height: 100%;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* IMAGE */
.portfolio-img {
  height: 220px;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.08);
}

/* INFO */
.portfolio-info {
  padding: 22px;
}

.portfolio-info h6 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--heading);
}

.portfolio-info span {
  font-size: 13px;
  color: var(--muted);
}

/* MOBILE */
@media (max-width: 575px) {
  .portfolio-img {
    height: 190px;
  }

  .portfolio-info h6 {
    font-size: 15px;
  }
}

/* ================================
   FOOTER – PREMIUM DESIGN
================================ */
.site-footer {
  position: relative;
  background: linear-gradient(135deg, #0b1c4d, #121a4d);
  color: #e5e7eb;
  padding: 110px 0 40px;
  overflow: hidden;
}

/* Abstract background shape */
.footer-bg-shape {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.04), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.03), transparent 50%);
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

/* Brand */
.footer-logo {
  height: 110px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.8;
  color: #cbd5f5;
  max-width: 380px;
}

/* Titles */
.footer-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 32px;
  height: 2px;
  background: #38bdf8;
  display: block;
  margin-top: 6px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  font-size: 14.5px;
  margin-bottom: 10px;
  color: #cbd5f5;
  cursor: default;
}

/* Contact */
.footer-contact p {
  font-size: 14.5px;
  color: #cbd5f5;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Bottom bar */
.footer-bottom {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 14px;
  color: #cbd5f5;
  margin: 0;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #38bdf8;
  color: #0b1c4d;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .site-footer {
    padding: 90px 0 40px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .site-footer {
    padding: 80px 0 36px;
  }

  .footer-logo {
    height: 56px;
  }
}


.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
}

/* Body offset to prevent content hide */
body {
  padding-top: 80px; /* adjust based on navbar height */
}



/* Services toggle button – isolated, no root clash */
.services-toggle-wrapper {
  position: relative;
}

.services-toggle-btn {
  background: #4f46e5; /* hard value to avoid :root clash */
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.25);
}


/* ================= INNER HERO (GLOBAL) ================= */
.inner-hero {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 79, 179, 0.55); /* Light blue overlay */
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 720px;
}

.inner-hero-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

.inner-hero-text {
  font-size: 16.5px;
  max-width: 620px;
  opacity: 0.95;
  margin-top: 10px;
}

/* Breadcrumb */
.inner-breadcrumb {
  display: flex;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 8px;
}

.inner-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.inner-breadcrumb a:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .inner-hero {
    min-height: 260px;
    text-align: center;
  }

  .inner-hero-content {
    margin: 0 auto;
  }

  .inner-hero-title {
    font-size: 30px;
  }

  .inner-breadcrumb {
    justify-content: center;
  }
}



/* ================= CAREER SECTION ================= */
.career-section {
  padding: 90px 0;
  background: #ffffff;
}

.career-header .career-icon {
  width: 58px;
  height: 58px;
  background: #e0f2fe;
  border-radius: 14px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 26px;
}

.career-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  height: 100%;
}

.career-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-type {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
}

.job-type.pink { background: #fde2e8; color: #be123c; }
.job-type.purple { background: #ede9fe; color: #6d28d9; }

.career-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #64748b;
  margin: 12px 0;
}

.career-exp {
  font-size: 14px;
  margin-bottom: 14px;
}

.skill-tags span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: #e0f2fe;
  color: #0369a1;
  margin: 4px 6px 4px 0;
}

.skill-tags.pink span {
  background: #fde2e8;
  color: #be123c;
}

.skill-tags.purple span {
  background: #ede9fe;
  color: #6d28d9;
}

/* Apply button */
.apply-btn {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  border-radius: 14px;
  border: none;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.apply-btn.blue {
  background: linear-gradient(135deg,#0ea5e9,#6366f1);
}

.apply-btn.pink {
  background: linear-gradient(135deg,#f43f5e,#ec4899);
}

.apply-btn.purple {
  background: linear-gradient(135deg,#8b5cf6,#6366f1);
}

/* ================= APPLY MODAL ================= */
.apply-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.apply-modal.active {
  display: flex;
}

.apply-box {
  background: #ffffff;
  padding: 36px;
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  position: relative;
}

.apply-box input,
.apply-box textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#0ea5e9,#6366f1);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}


.apply-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.3s ease;
}

.apply-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.body.modal-open {
  overflow: hidden;
}

/* ================= JOBS SECTION ================= */

.jobs-section {
  background: #f8fafc;
}

.jobs-section .section-header h2 {
  font-weight: 700;
}

.jobs-section .section-header p {
  max-width: 650px;
  margin: 0 auto;
  color: #6b7280;
}

/* JOB CARD */
.job-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* HEADER */
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.job-header h4 {
  margin: 0;
  font-weight: 600;
}

.job-badge {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  padding: 4px 12px;
  font-size: 13px;
  border-radius: 999px;
  font-weight: 500;
}

/* META */
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
}

.job-meta i {
  color: #2563eb;
  margin-right: 6px;
}

/* EXPERIENCE */
.job-exp {
  font-size: 14px;
  margin-bottom: 16px;
}

/* SKILLS */
.job-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.job-skills span {
  background: #f1f5f9;
  color: #0f172a;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
}

/* APPLY BUTTON */
.job-apply {
  margin-top: auto;
  text-decoration: none;
  font-weight: 600;
  color: #2563eb;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  transition: color 0.2s ease;
}

.job-apply:hover {
  color: #1e40af;
}
/* ================= CONTACT INFO CARDS ================= */

.contact-info-row {
  margin-top: 10px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
  text-align: center;
  transition: all 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

/* ICON */
.contact-info-card .info-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
}

/* TITLE */
.contact-info-card h6 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #0f172a;
}

/* TEXT */
.contact-info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* LINKS */
.contact-info-card a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* MOBILE REFINEMENT */
@media (max-width: 575px) {
  .contact-info-card {
    padding: 24px 18px;
  }
}
/* ===== CONTACT ACTION LINKS ===== */

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.contact-links a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover / Focus */
.contact-links a:hover {
  background: rgba(37, 99, 235, 0.15);
  color: #1e40af;
  transform: translateY(-1px);
}

/* Email slightly wider */
.contact-links a[href^="mailto"] {
  padding-left: 18px;
  padding-right: 18px;
}
/* ================= CONTACT FORM ================= */

.contact-image img {
  width: 100%;
  border-radius: 18px;
}

/* FORM BOX */
.contact-form-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-box h3 {
  font-weight: 700;
  margin-bottom: 6px;
}

.form-subtext {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}

/* INPUT GROUP */
.input-group-custom {
  position: relative;
}

.input-group-custom i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
}

.input-group-custom input,
.input-group-custom select,
.input-group-custom textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #ffffff;
}

.input-group-custom textarea {
  resize: none;
}

.input-group-custom input:focus,
.input-group-custom select:focus,
.input-group-custom textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.input-group-custom.textarea i {
  top: 16px;
  transform: none;
}

/* SUBMIT BUTTON */
.contact-submit-btn {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.contact-submit-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

/* MOBILE */
@media (max-width: 575px) {
  .contact-form-box {
    padding: 28px 22px;
  }
}
/* ================= MOBILE MENU ================= */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 2000;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #ffffff;
  z-index: 2001;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
}

/* ACTIVE STATE */
.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* HEADER */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mobile-logo {
  font-weight: 700;
  font-size: 18px;
}

.mobile-close {
  background: none;
  border: none;
  font-size: 18px;
}

/* NAV */
.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 0;
}

.mobile-nav li a {
  display: block;
  padding: 12px 8px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  border-radius: 8px;
}

.mobile-nav li a.active,
.mobile-nav li a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* CTA */
.mobile-cta {
  margin-top: 55px;
}



