/* =================================
   Cast & Craft Ventures
   Main Stylesheet
   Primary Color: #11354f
   ================================= */

/* CSS Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #11354f;
  --primary-hover: #0d2839;
  --secondary-color: #1a4d73;
  --accent-color: #f97227;
  --accent-hover: #d96120;
  --text-dark: #222;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --bg-primary: #11354f;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --transition: all 0.3s ease;
}

body {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Slab", "Georgia", serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
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-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* Delivery Plan Horizontal Layout */
.delivery-container {
  overflow-x: auto;
  padding-bottom: 20px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 phases in a row */
  gap: 20px;
  min-width: 1000px; /* Force horizontal scroll on small screens if not stacking */
}

/* On laptop/small screens, stack them vertically earlier to avoid overflow */
@media (max-width: 1150px) {
  .delivery-grid {
    grid-template-columns: 1fr;
    min-width: auto;
  }
}

.delivery-phase {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--accent-color);
  padding: 20px;
  height: 100%;
}

.phase-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.phase-letter {
  background: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.phase-title {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.phase-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phase-content li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 15px; /* Increased spacing */
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.phase-content li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Mobile Collapsible/Accordion Styles */
@media (max-width: 992px) {
  .delivery-phase {
    margin-bottom: 15px;
  }

  .phase-header {
    margin-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .phase-header::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent-color);
  }

  .delivery-phase.active .phase-header::after {
    content: "-";
  }

  .phase-content {
    display: none;
    padding-top: 15px;
    border-top: 1px solid #eee;
  }

  .delivery-phase.active .phase-content {
    display: block;
  }

  /* Make service cards simpler on mobile */
  .service-card {
    padding: 20px;
  }
}
/* =========================================
   MOBILE REFINEMENTS & STYLING FIXES (Phase 2)
   ========================================= */

/* Global Overflow Fix */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Navbar: Mobile adjustments */
@media (max-width: 768px) {
  .navbar {
    padding: 0 15px;
  }

  .logo img {
    height: 45px;
  }

  /* Ensure nav menu doesn't cover top */
  .nav-menu {
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding-bottom: 50px;
  }
}

/* Buttons: reduce size on mobile */
@media (max-width: 768px) {
  .btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .hero .btn-group {
    gap: 10px;
  }
}

/* Typography: Remove Justification on Mobile & Fix Color */
@media (max-width: 768px) {
  .text-justify {
    text-align: left;
  }
}

/* Delivery Plan Subtitle Color Fix */
.section-title p {
  color: var(--text-light) !important;
}

/* Core Values: 2 Columns on Mobile - Equal Size Cards */
@media (max-width: 768px) {
  #core-values .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  #core-values .service-card {
    padding: 15px 10px;
    min-height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 0.85;
  }

  #core-values .service-card .icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
  }

  #core-values .service-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.2;
  }
}

/* Mission & Vision: Reduce Size */
@media (max-width: 768px) {
  #mission-vision {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
  }

  .mv-card {
    padding: 25px !important;
  }

  .mv-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
  }

  .mv-card .icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }
}

/* Service Cards: Mobile Collapsible (Accordion) */
@media (max-width: 768px) {
  /* General Service Card Reduction */
  .service-card {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.3;
  }

  /* Apply accordion ONLY to cards with expandable content (ul, p) 
     We exclude #core-values specifically just in case, though they lack ULs.
  */
  .section:not(#core-values) .service-card:has(ul),
  .section:not(#core-values) .service-card:has(p:nth-child(n + 2)) {
    /* Intro p is usually first? No icon is first. h3 is second. */
    cursor: pointer;
  }

  /* Hide ULs and Descriptions by default on mobile */
  .section:not(#core-values) .service-card ul,
  .section:not(#core-values) .service-card p:not(.subtitle) {
    /* Exclude if there's a subtitle class? usually simple p */
    display: none;
  }

  /* Show when active */
  .section:not(#core-values) .service-card.active ul,
  .section:not(#core-values) .service-card.active p {
    display: block;
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
  }

  /* Plus/Minus Indicator - Only for cards that have content to expand */
  .section:not(#core-values) .service-card:has(ul) h3::after,
  .section:not(#core-values) .service-card:has(p) h3::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-left: 10px;
  }

  .section:not(#core-values) .service-card.active h3::after {
    content: "-";
  }

  /* Fix: Core values h3 don't need flex if not collapsible, but simplified above */
}
/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

/* Orange underline for headers */
/* Orange underline for headers - Only for specific class */
.underline-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* Left-aligned underline for left-aligned headers if needed */
.text-left .section-title h2::after {
  left: 0;
  transform: none;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Text Justification */
.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

.text-justify-center-last {
  text-align: justify;
  text-align-last: center;
}

/* Background Color Variations */
.bg-light {
  background: var(--bg-light);
}

.bg-gradient-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bg-blue-tint {
  background: #f0f4f8; /* Solid tint instead of gradient to avoid banding */
}

.bg-orange-tint {
  background: #fff8f5; /* Subtle orange tint */
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

/* Transparent header for homepage hero */
header.header-transparent {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

header.header-transparent.scrolled {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

header.header-transparent .nav-menu a {
  color: var(--text-dark);
}

header.header-transparent.scrolled .nav-menu a {
  color: var(--text-dark);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  height: 80px;
}

/* Logo - show and size properly */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* Navigation Menu - Reverted to Full Size/Standard */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  height: 100%;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 0;
  border-radius: 0;
  transition: var(--transition);
  position: relative;
  font-size: 1.05rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  background: transparent;
  color: var(--accent-color);
  transform: none;
}

.nav-menu a.active {
  background: transparent;
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 30px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

/* Desktop Hero Padding */
@media (min-width: 769px) {
  .hero {
    padding: 20px 0 60px;
  }
  .hero-logo {
    margin-bottom: 5px; /* Tighter gap between logo and title */
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 !important;
    min-height: calc(100vh - 80px) !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Mobile container padding — keep paragraphs slightly away from edges */
  .container {
    padding: 0 28px;
  }
}

/* Removed pattern overlay that was causing lines */
.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--primary-color);
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Sub-page Hero Mobile Override — contact, tender, solutions, projects */
@media (max-width: 768px) {
  .hero.page-hero {
    min-height: calc(100vh - 80px) !important;
    padding: 60px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  .hero.page-hero .hero-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero.page-hero h1 {
    font-size: 1.8rem !important;
    color: #fff !important;
  }
  .hero.page-hero p {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: center !important;
  }

  /* Contact page hero — full zoom (cover) as originally */
  .hero.contact-hero {
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Tender page hero — slight zoom out to show the guy with A4 clip */
  .hero.tender-hero {
    background-size: cover !important;
    background-position: center 30% !important;
  }
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: 400;
}

.hero p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 35px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(249, 114, 39, 0.4);
}

.btn-secondary {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 53, 79, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(249, 114, 39, 0.3);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-card ul {
  list-style: none;
  margin-top: 15px;
}

.service-card ul li {
  padding: 8px 0 8px 0;
  position: relative;
  color: var(--text-light);
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-card ul li::before {
  content: "";
  min-width: 6px;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  display: block;
  margin-top: 8px;
}

/* Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-light);
  border-radius: 10px;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(249, 114, 39, 0.3);
}

.step h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Roadmap Timeline */
.roadmap-timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: calc(50% - 40px);
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-color);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -60px;
}

.phase-number {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.timeline-content h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.timeline-content ul {
  list-style: none;
}

.timeline-content ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: var(--text-light);
}

.timeline-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Tier Blocks */
.tier-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.tier-block {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary-color);
  transition: var(--transition);
}

.tier-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.tier-block .tier-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 36px;
  box-shadow: 0 5px 15px rgba(17, 53, 79, 0.3);
}

.tier-block h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Contact Form */
.contact-section {
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-item {
  margin-bottom: 30px;
  display: flex;
  align-items: start;
  gap: 15px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

/* Tier Blocks List Styles */
.tier-block ul {
  list-style: none;
  padding: 0;
}

.tier-block ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-light);
  line-height: 1.5;
}

.tier-block ul li i {
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--primary-color);
  font-size: 0.8rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Map */
.map-container {
  margin-top: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-section ul li i {
  min-width: 25px; /* Ensure icon has fixed width for alignment */
  margin-right: 0 !important; /* Remove inline style margin if any, handle here */
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .timeline-line {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }

  .timeline-content::before {
    left: -60px !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
  }

  .tier-blocks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .btn-group {
    flex-direction: column;
  }

  /* Keep hero buttons horizontal even at small widths */
  .hero .btn-group {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .btn {
    width: 100%;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary-color);
}
.bg-light {
  background: var(--bg-light);
}
.mb-0 {
  margin-bottom: 0;
}
.mt-20 {
  margin-top: 20px;
}
.mt-50 {
  margin-top: 50px;
}

/* =========================================
   ANIMATIONS & SCROLL EFFECTS
   ========================================= */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade In Right */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Zoom In */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

.animate-zoom-in {
  animation: zoomIn 0.6s ease-out;
}

/* Delayed Animations */
.animation-delay-1 {
  animation-delay: 0.1s;
}

.animation-delay-2 {
  animation-delay: 0.2s;
}

.animation-delay-3 {
  animation-delay: 0.3s;
}

.animation-delay-4 {
  animation-delay: 0.4s;
}

.animation-delay-5 {
  animation-delay: 0.5s;
}

/* AOS (Animate On Scroll) Fallback */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.6s;
  transition-timing-function: ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Hero Text Animations */
.hero h1 {
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

.hero .subtitle {
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero p {
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero .btn {
  animation: zoomIn 0.6s ease-out 0.6s;
  animation-fill-mode: both;
}

/* Initial Loading State for Hero */
.hero .btn {
  opacity: 0;
}

/* Center Services Grid Items */
.services-grid {
  justify-content: center;
}

/* Hero Modifications */
.hero {
  min-height: 90vh; /* Ensure it covers most of the first page */
}

.hero .subtitle {
  font-size: 1.25rem; /* Slightly smaller as requested */
  font-weight: 300;
  margin-bottom: 30px;
  display: block; /* Ensure it respects margin */
}

/* Process Steps Styling (Delivery Approach) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.step {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 3px solid var(--accent-color);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  background: var(--accent-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 15px;
}

.step h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* =========================================
   MOBILE FIXES ROUND 3
   ========================================= */

/* 1. Typography: Force left align on mobile */
@media (max-width: 768px) {
  .text-justify {
    text-align: left !important;
  }
}

/* 2. Mission/Vision: Horizontal Icon+Text, Square-ish, Smaller */
@media (max-width: 768px) {
  #mission-vision {
    display: flex !important; /* Override grid */
    flex-direction: column;
    gap: 15px !important;
    margin-bottom: 30px !important;
  }

  .mv-card {
    display: grid !important;
    grid-template-columns: 40px 1fr !important;
    grid-template-areas: "icon title" "icon desc" !important;
    column-gap: 15px !important;
    row-gap: 5px !important;
    align-items: start !important;
    padding: 15px !important;
    text-align: left !important;
    min-height: auto !important;
  }

  .mv-card > div:first-child, /* The icon div */
  .mv-card .icon {
    grid-area: icon;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    margin: 0 !important;
    /* Center icon vertically in its area if needed, or align top */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mv-card h3 {
    grid-area: title;
    margin: 0 !important;
    font-size: 1.1rem !important;
    text-align: left;
    align-self: center;
  }

  .mv-card p {
    grid-area: desc;
    margin: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.3;
    text-align: left;
    color: var(--text-light); /* Ensure visibility */
  }
}

/* 3. Core Values: Equal Size Aesthetics - Ensure 100% height */
#core-values .service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 4. Navbar: Fixed Toggle — Glassmorphism */
@media (max-width: 768px) {
  .menu-toggle {
    position: fixed;
    top: 18px;
    right: 15px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
  }

  /* Default: dark spans for light backgrounds (inner pages) */
  .menu-toggle span {
    background: var(--primary-color);
  }

  /* On homepage hero: dark hamburger spans for white background */
  header.header-transparent .menu-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
  }

  header.header-transparent .menu-toggle span {
    background: var(--primary-color);
  }

  /* Once scrolled, keep dark spans */
  header.header-transparent.scrolled .menu-toggle {
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-color: rgba(0, 0, 0, 0.08);
  }

  header.header-transparent.scrolled .menu-toggle span {
    background: var(--primary-color);
  }

  /* Mobile nav menu: ensure visible on hero pages */
  header.header-transparent .nav-menu {
    background: var(--white);
  }

  header.header-transparent .nav-menu a {
    color: var(--text-dark);
  }

  /* Logo on mobile */
  .logo img {
    height: 55px;
  }
}

/* 5. Home Page Solutions: Smaller Icon + Title + Plus in Horizontal Line */
@media (max-width: 768px) {
  #home-solutions .services-grid {
    gap: 15px !important;
  }

  #home-solutions .service-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 15px !important;
    row-gap: 0 !important;
    padding: 15px !important;
    align-items: center !important;
  }

  #home-solutions .service-card .icon {
    grid-row: 1;
    grid-column: 1;
    margin: 0 !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
    min-width: 35px;
  }

  #home-solutions .service-card h3 {
    grid-row: 1;
    grid-column: 2;
    margin: 0 !important;
    font-size: 1rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Expandable content takes full width below */
  #home-solutions .service-card ul,
  #home-solutions .service-card p {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 15px !important;
  }
}

/* 6. Page Width: Fix Spacing */
@media (max-width: 768px) {
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .section {
    padding: 40px 0 !important;
  }
}

/* 7. Integrated Solutions (All Subservices 2cols) */
@media (max-width: 768px) {
  .service-card ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-left: 0;
  }

  .service-card ul li {
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 5px 0 5px 12px;
  }

  /* Adjust bullet position for grid items */
  .service-card ul li::before {
    top: 10px; /* Center with first line */
    margin-top: 0;
  }
}

/* =========================================
   ROUND 2 FIXES
   ========================================= */

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Hero Logo ---- */
.hero-logo {
  display: block;
  max-width: 320px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 12px;
  opacity: 0.97;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

@media (max-width: 768px) {
  /* Equidistant Spacing for Mobile Hero */
  .hero-logo {
    max-width: 140px;
    margin-bottom: 30px !important;
  }

  .hero h1 {
    font-size: 1.8rem !important;
    margin-bottom: 25px !important;
    letter-spacing: 0.5px !important;
  }

  .hero .subtitle {
    font-size: 1rem !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
  }

  .hero p {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.5px !important;
  }

  /* Hero buttons — vertical stack, same size, slightly bigger */
  .hero .btn {
    padding: 12px 40px !important;
    font-size: 1rem !important;
    line-height: normal !important;
    margin: 0 !important;
    display: block !important;
    letter-spacing: 0.5px !important;
    width: 200px !important;
    text-align: center !important;
  }

  .hero .btn-group {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .hero-content {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ---- Who We Are: Reduce space below orange line on mobile ---- */
@media (max-width: 768px) {
  #who-we-are .section-title {
    margin-bottom: 20px;
  }
}

/* ---- Global: Remove text justification on mobile ---- */
@media (max-width: 768px) {
  p,
  .section p,
  .service-card p,
  .tier-block p,
  .timeline-content p {
    text-align: left !important;
  }
}

/* ============================
   SOLUTIONS PAGE — Mobile Only
   ============================ */
@media (max-width: 768px) {
  /* Compact intro text */
  #advisory p,
  #design p,
  #management p,
  #surveying p,
  #environmental p,
  #property p,
  #delivery-plan p {
    font-size: 0.95rem !important;
    margin-bottom: 15px !important;
  }

  /* Section title spacing reduction */
  #advisory .section-title,
  #design .section-title,
  #management .section-title,
  #surveying .section-title,
  #environmental .section-title,
  #property .section-title,
  #delivery-plan .section-title {
    margin-bottom: 20px;
  }

  /* Reduce main service section headers and icons on mobile */
  #advisory .section-title h2,
  #design .section-title h2,
  #management .section-title h2,
  #surveying .section-title h2,
  #environmental .section-title h2,
  #property .section-title h2 {
    font-size: 1.25rem !important;
    line-height: 1.3;
  }

  #advisory .section-title h2 i,
  #design .section-title h2 i,
  #management .section-title h2 i,
  #surveying .section-title h2 i,
  #environmental .section-title h2 i,
  #property .section-title h2 i {
    font-size: 1.1rem !important;
    margin-right: 8px !important;
  }

  /* Make ALL solution service cards compact — consistent styling including management */
  #advisory .service-card,
  #design .service-card,
  #management .service-card,
  #surveying .service-card,
  #environmental .service-card,
  #property .service-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    padding: 12px 15px !important;
    align-items: center !important;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
    cursor: pointer;
  }

  #advisory .service-card h4,
  #design .service-card h4,
  #management .service-card h4,
  #surveying .service-card h4,
  #environmental .service-card h4,
  #property .service-card h4 {
    grid-row: 1;
    grid-column: 1 / -1;
    margin: 0 !important;
    font-size: 0.95rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--primary-color);
    line-height: 1.3;
  }

  /* Accordion indicator — all sections including management */
  #advisory .service-card h4::after,
  #design .service-card h4::after,
  #management .service-card h4::after,
  #surveying .service-card h4::after,
  #environmental .service-card h4::after,
  #property .service-card h4::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-left: 10px;
    flex-shrink: 0;
  }

  #advisory .service-card.active h4::after,
  #design .service-card.active h4::after,
  #management .service-card.active h4::after,
  #surveying .service-card.active h4::after,
  #environmental .service-card.active h4::after,
  #property .service-card.active h4::after {
    content: "−";
  }

  /* Hide descriptions and lists by default — all sections including management */
  #advisory .service-card p,
  #design .service-card p,
  #management .service-card p,
  #surveying .service-card p,
  #environmental .service-card p,
  #property .service-card p {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 10px !important;
    font-size: 0.88rem !important;
    line-height: 1.4;
  }

  #management .service-card ul {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 10px !important;
  }

  /* Show when active — all sections including management */
  #advisory .service-card.active p,
  #design .service-card.active p,
  #management .service-card.active p,
  #surveying .service-card.active p,
  #environmental .service-card.active p,
  #property .service-card.active p {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  #management .service-card.active ul {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  /* Reduce services grid gap — all sections including management */
  #advisory .services-grid,
  #design .services-grid,
  #management .services-grid,
  #surveying .services-grid,
  #environmental .services-grid,
  #property .services-grid {
    gap: 10px !important;
    margin-top: 15px !important;
  }

  /* Section padding reduction */
  #advisory,
  #design,
  #management,
  #surveying,
  #environmental,
  #property,
  #delivery-plan {
    padding: 30px 0 !important;
  }

  #management .service-card ul li {
    font-size: 0.85rem;
    padding: 4px 0;
  }
}

/* ============================
   TENDER PAGE — Mobile Only
   ============================ */
@media (max-width: 768px) {
  /* Tier blocks: icon + heading horizontal */
  .tier-block {
    padding: 20px 15px !important;
  }

  .tier-block .tier-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 20px !important;
    border-radius: 10px !important;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
  }

  .tier-block h3 {
    font-size: 1.05rem !important;
    margin-bottom: 10px;
    overflow: hidden; /* Clear float context */
  }

  .tier-block p {
    clear: both;
    font-size: 0.9rem !important;
  }

  /* FIX: Bullet icon overlap in tier blocks */
  .tier-block ul {
    list-style: none !important;
    padding: 0 !important;
  }

  .tier-block ul li {
    font-size: 0.88rem !important;
    padding: 6px 0 6px 30px !important;
    position: relative !important;
    line-height: 1.4 !important;
  }

  .tier-block ul li i {
    position: absolute !important;
    left: 5px !important;
    top: 9px !important;
    font-size: 0.7rem !important;
    color: var(--primary-color) !important;
  }

  /* ============================
     ROADMAP REDESIGN — Crisscross Dotted Path
     ============================ */
  .roadmap-timeline {
    margin: 20px auto !important;
    position: relative;
    padding: 0 10px;
  }

  /* Hide the old straight vertical line */
  .timeline-line {
    display: none !important;
  }

  /* Roadmap start marker - primary blue */
  .roadmap-start-marker {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .roadmap-start-marker i {
    font-size: 1.4rem;
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(17, 53, 79, 0.35);
  }

  /* Roadmap end marker */
  .roadmap-end-marker {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .roadmap-end-marker i {
    font-size: 1.4rem;
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(17, 53, 79, 0.35);
  }

  /* Timeline items — straight vertical stack */
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    position: relative;
    width: 100%;
  }

  .timeline-content {
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 20px !important;
    border: none !important;
    border-left: 5px solid var(--accent-color) !important;
    border-radius: 4px 12px 12px 4px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    background: var(--white);
    position: relative;
    z-index: 2;
  }

  .timeline-item:nth-child(even) .timeline-content {
    border-left: 5px solid var(--primary-color) !important;
  }

  /* Straight vertical line connector between items */
  .timeline-item::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    border-left: 2px solid var(--primary-color);
    z-index: 1;
  }

  /* Dot in the middle of the line */
  .timeline-item::before {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    z-index: 3;
  }

  /* Last item has no connector */
  .timeline-item:last-child::after,
  .timeline-item:last-child::before {
    display: none !important;
  }

  /* Start marker connector */
  .roadmap-start-marker {
    position: relative;
  }

  .roadmap-start-marker::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    border-left: 2px solid var(--primary-color);
  }

  /* End marker connector */
  .roadmap-end-marker {
    position: relative;
  }

  .roadmap-end-marker::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    border-left: 2px solid var(--primary-color);
  }

  .phase-number {
    font-size: 0.75rem !important;
    padding: 3px 10px !important;
    background: var(--accent-color) !important;
    margin-bottom: 8px;
  }

  .timeline-content h3 {
    font-size: 1rem !important;
    margin-bottom: 8px;
  }

  .timeline-content ul li {
    font-size: 0.85rem !important;
    padding: 3px 0 3px 18px !important;
  }
}

/* Desktop: hide roadmap markers (they're mobile-only) */
@media (min-width: 769px) {
  .roadmap-start-marker,
  .roadmap-end-marker {
    display: none;
  }
}

/* ============================
   CONTACT PAGE — Mobile Only
   ============================ */
@media (max-width: 768px) {
  /* Fix text overflow */
  .contact-section .contact-info,
  .contact-section .contact-form {
    padding: 20px 15px !important;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 1.2rem !important;
    margin-bottom: 20px !important;
  }

  .contact-item {
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .contact-item .icon {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px;
    font-size: 14px;
  }

  .contact-item h4 {
    font-size: 0.95rem !important;
  }

  .contact-item p,
  .contact-item p a {
    font-size: 0.88rem !important;
    word-break: break-all;
  }

  /* Fix form inputs */
  .contact-form .form-group input,
  .contact-form .form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
    padding: 10px 12px !important;
  }

  .contact-form .form-group label {
    font-size: 0.9rem !important;
  }

  /* Fix button width */
  .contact-form .btn {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }

  /* Map container */
  .map-container iframe {
    height: 280px !important;
  }

  /* Contact wrapper spacing */
  .contact-wrapper {
    gap: 25px !important;
    margin-top: 25px !important;
  }

  /* Business hours section */
  .contact-info div[style*="border-top"] {
    margin-top: 20px !important;
    padding-top: 15px !important;
  }
}

/* Delivery Plan Styles - Sync with Service Cards */
.delivery-phase {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid var(--accent-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.delivery-phase:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.phase-letter {
  width: 35px;
  height: 35px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.phase-title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--primary-color);
}

.phase-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phase-content ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.phase-content ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  /* Delivery plan mobile adjustments */
  .delivery-phase {
    padding: 10px 15px !important;
    padding-bottom: 5px !important;
    border-top: 3px solid var(--primary-color) !important;
    border-left: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer;
  }
}
