/* -------------------------------------------------------------
   IMA Handyman & Property Maintenance Experts - Stylesheet
   ------------------------------------------------------------- */

/* 1. Design Tokens & CSS Variables */
:root {
  /* Colors */
  --color-primary: #0a1c35;       /* Deep slate navy */
  --color-accent: #d99d2b;        /* Warm mustard gold */
  --color-accent-hover: #b8811e;  /* Darker gold for hover state */
  --color-text-dark: #1f2d3d;     /* High contrast body text */
  --color-text-muted: #5c6b7d;    /* Muted body text */
  --color-bg-light: #f4f6f9;      /* Light background utility */
  --color-white: #ffffff;
  
  /* Glassmorphism overlays */
  --glass-navy: rgba(10, 28, 53, 0.4);
  --glass-white: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(217, 157, 43, 0.3);

  /* Fonts */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Outfit', 'Montserrat', sans-serif;

  /* Header sizing */
  --header-height: 100px;
  --header-height-scrolled: 80px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Max Width */
  --max-width: 1200px;
}

/* 2. Resets & Globals */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

svg {
  display: block;
}

/* 3. Button Typography & Layout */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(217, 157, 43, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 157, 43, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--glass-navy);
  color: var(--color-white);
  border: 1.5px solid var(--color-accent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 157, 43, 0.4);
}

.btn-secondary:active {
  transform: translateY(0);
}

.phone-icon {
  margin-right: 10px;
  width: 16px;
  height: 16px;
}

/* 4. Header & Navigation styling */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

/* Header transition on scroll */
.main-header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-primary);
  text-align: center;
}

.logo-image {
  height: 99px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.main-header.scrolled .logo-image {
  height: 81px;
}

/* Desktop navigation links */
.desktop-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  opacity: 0.85;
  padding: 8px 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* Underline slide effect on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-accent);
  opacity: 1;
}

.nav-link.active::after {
  width: 100%;
}

/* Hamburger menu button (hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 4px;
  transition: var(--transition-normal);
  transform-origin: left center;
}

/* Hamburger menu animation to 'X' */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translateY(-2px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(2px);
}

/* 5. Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--glass-white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  transition: var(--transition-fast);
  padding: 6px 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-accent);
}

.drawer-cta {
  display: flex;
  justify-content: center;
}

.btn-block {
  width: 100%;
  max-width: 320px;
}

/* 6. Hero Section styling */
.hero-section {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 600px;
  margin-top: 0; /* Background starts behind the header */
  background-image: url('hero_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

/* Overlay gradient mask to guarantee text legibility */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(8, 28, 53, 0.85) 0%,
    rgba(8, 28, 53, 0.6) 45%,
    rgba(8, 28, 53, 0.2) 100%
  );
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--header-height) 24px 0 24px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 36px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Keyframes for Hero animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 7. Responsive Styles & Breakpoints */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
  :root {
    --header-height: 90px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 17px;
    margin-bottom: 30px;
  }
}

/* Mobile & Tablets */
@media (max-width: 768px) {
  .logo-image {
    height: 99px;
  }

  .main-header.scrolled .logo-image {
    height: 81px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-header.scrolled {
    height: var(--header-height);
  }

  .hero-section {
    height: 90vh;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 28, 53, 0.9) 0%,
      rgba(8, 28, 53, 0.75) 60%,
      rgba(8, 28, 53, 0.6) 100%
    );
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-btn-group {
    justify-content: center;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  :root {
    --header-height: 80px;
  }

  .logo-image {
    height: 68px;
  }

  .main-header.scrolled .logo-image {
    height: 56px;
  }

  .hero-section {
    height: 100vh;
    min-height: 520px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-group .btn {
    width: 100%;
  }
}

/* =============================================================
   8. About Section Styles
   ============================================================= */
.about-section {
  padding: 110px 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 70px;
}

/* Left Column: Text Content */
.about-content {
  flex: 1.1;
}

.about-label {
  font-family: var(--font-secondary);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 12px;
}

.about-title {
  font-family: var(--font-secondary);
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-paragraphs p {
  font-family: var(--font-primary);
  font-size: 15.5px;
  color: var(--color-text-dark);
  line-height: 1.65;
  opacity: 0.9;
}

/* Right Column: Features Grid */
.about-features {
  flex: 0.9;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1.5px solid rgba(10, 28, 53, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 28, 53, 0.03);
  background-color: var(--color-white);
}

.feature-cell {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 38px 24px;
  background-color: var(--color-white);
  transition: background-color var(--transition-fast);
}

/* Clean grid borders styling without duplication */
.feature-cell:nth-child(odd) {
  border-right: 1.5px solid rgba(10, 28, 53, 0.08);
}

.feature-cell:nth-child(1),
.feature-cell:nth-child(2),
.feature-cell:nth-child(3),
.feature-cell:nth-child(4) {
  border-bottom: 1.5px solid rgba(10, 28, 53, 0.08);
}

.feature-cell:hover {
  background-color: #fbfcfd;
}

.feature-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.feature-icon {
  width: 38px;
  height: 38px;
  stroke-width: 1.8;
}

.feature-cell:hover .feature-icon-container {
  transform: scale(1.12);
  color: var(--color-accent);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-text-bold {
  font-family: var(--font-secondary);
  font-size: 13.5px;
  font-weight: 850;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.feature-text-sub {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 555;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* =============================================================
   9. Scroll-Triggered Reveal Animations
   ============================================================= */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.grid-cell-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Grid cell staggered delay animation list */
.features-grid .grid-cell-reveal:nth-child(1) { transition-delay: 0.05s; }
.features-grid .grid-cell-reveal:nth-child(2) { transition-delay: 0.15s; }
.features-grid .grid-cell-reveal:nth-child(3) { transition-delay: 0.25s; }
.features-grid .grid-cell-reveal:nth-child(4) { transition-delay: 0.35s; }
.features-grid .grid-cell-reveal:nth-child(5) { transition-delay: 0.45s; }
.features-grid .grid-cell-reveal:nth-child(6) { transition-delay: 0.55s; }

/* Animation active states */
.reveal-visible .reveal-left,
.reveal-visible .reveal-right {
  opacity: 1;
  transform: translateX(0);
}

.reveal-visible .grid-cell-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Media Query Adaptations for About Section */
@media (max-width: 1024px) {
  .about-section {
    padding: 80px 0;
  }
  
  .about-container {
    gap: 40px;
  }
  
  .about-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 50px;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(30px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
  }

  .reveal-visible .reveal-left,
  .reveal-visible .reveal-right {
    transform: translateY(0);
  }
  
  .about-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Redraw cell borders in single-column format */
  .feature-cell {
    border-right: none !important;
    border-bottom: 1.5px solid rgba(10, 28, 53, 0.08) !important;
    padding: 30px 20px;
  }

  .feature-cell:last-child {
    border-bottom: none !important;
  }
}

/* =============================================================
   10. Services Section Styles
   ============================================================= */
.services-section {
  padding: 110px 0;
  background-color: #f8fafd; /* Extremely light greyish-blue tint */
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(10, 28, 53, 0.03);
}

.services-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-label {
  font-family: var(--font-secondary);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 12px;
}

.services-title {
  font-family: var(--font-secondary);
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Service Card Container */
.service-card {
  background-color: var(--color-white);
  border: 1.5px solid rgba(10, 28, 53, 0.05);
  border-bottom: 4px solid var(--color-accent); /* Golden bottom border */
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(10, 28, 53, 0.02);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(10, 28, 53, 0.09);
}

/* Image container without overflow restriction to prevent badge cropping */
.service-image-container {
  position: relative;
  width: 100%;
}

/* Zoom box holding the image with overflow restriction */
.service-image-zoom-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

/* Overlapping Circular Badge centering on the seam */
.service-badge-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 10;
}

.service-badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3.5px solid var(--color-white);
  box-shadow: 0 4px 12px rgba(10, 28, 53, 0.12);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.badge-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.service-card:hover .service-badge {
  background-color: var(--color-accent);
  transform: scale(1.05);
}

/* Card Body Content */
.service-body {
  padding: 44px 24px 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.service-card-title {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.service-card-text {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text-dark);
  line-height: 1.55;
  opacity: 0.88;
}

.service-card-text strong {
  font-weight: 650;
  color: var(--color-primary);
}

/* =============================================================
   11. Services Scroll Reveal Staggered Animations
   ============================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

/* Grid card staggered delay configuration */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.35s; }

/* Trigger state added by Javascript observer */
.reveal-visible.reveal-up,
.reveal-visible .reveal-up {
  opacity: 1;
  transform: translateY(0);
}

/* Media Query Adaptations for Services Section */
@media (max-width: 1024px) {
  .services-section {
    padding: 80px 0;
  }

  .services-header {
    margin-bottom: 48px;
  }

  .services-title {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-image-zoom-box {
    height: 180px;
  }
}

/* =============================================================
   12. Recent Projects Section Styles
   ============================================================= */
.projects-section {
  padding: 110px 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-label {
  font-family: var(--font-secondary);
  font-size: 34px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Projects Grid - 6 columns on desktop */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  width: 100%;
  margin-bottom: 54px;
}

/* Project Card */
.project-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  cursor: pointer;
}

/* Image Container with thin white outline */
.project-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

/* Hover effects */
.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-card:hover .project-card-title {
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(217, 157, 43, 0.25);
}

/* Project Title Text */
.project-card-title {
  font-family: var(--font-secondary);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

/* Projects CTA Button */
.projects-cta {
  display: flex;
  justify-content: center;
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 4px;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-outline-gold:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 157, 43, 0.35);
}

.btn-outline-gold:active {
  transform: translateY(0);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.btn-outline-gold:hover .arrow-icon {
  transform: translateX(5px);
}

/* Projects Staggered Delay config */
.projects-grid .project-card:nth-child(1) { transition-delay: 0.05s; }
.projects-grid .project-card:nth-child(2) { transition-delay: 0.12s; }
.projects-grid .project-card:nth-child(3) { transition-delay: 0.19s; }
.projects-grid .project-card:nth-child(4) { transition-delay: 0.26s; }
.projects-grid .project-card:nth-child(5) { transition-delay: 0.33s; }
.projects-grid .project-card:nth-child(6) { transition-delay: 0.40s; }

/* Media Query Adaptations for Projects Section */
@media (max-width: 1024px) {
  .projects-section {
    padding: 80px 0;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .projects-label {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }

  .project-card-title {
    font-size: 11.5px;
  }
  
  .btn-outline-gold {
    width: 100%;
  }
}

/* =============================================================
   13. Testimonials Section Styles
   ============================================================= */
.testimonials-section {
  padding: 110px 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(10, 28, 53, 0.03);
}

.testimonials-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-title {
  font-family: var(--font-secondary);
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* Outer layout mapping buttons and track */
.slider-outer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  position: relative;
}

/* Slider button style */
.slider-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10, 28, 53, 0.18);
  z-index: 5;
}

.slider-btn:hover {
  background-color: var(--color-accent);
  transform: scale(1.08);
}

.slider-btn:active {
  transform: scale(0.95);
}

.slider-arrow {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

/* Slider wrapper viewport */
.testimonial-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

/* Track layout */
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

/* Testimonial Card */
.testimonial-card {
  flex-shrink: 0;
  /* Width dynamically fits 3 columns with 2 gaps of 24px */
  width: calc((100% - (24px * 2)) / 3);
  background-color: var(--color-white);
  border: 1.5px solid rgba(10, 28, 53, 0.05);
  border-radius: 8px;
  padding: 44px 32px 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10, 28, 53, 0.02);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  justify-content: space-between;
  min-height: 290px;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(10, 28, 53, 0.05);
}

/* Rating Stars */
.rating-stars {
  display: flex;
  gap: 3px;
  color: var(--color-accent);
  font-size: 19px;
  margin-bottom: 22px;
}

.star-icon {
  user-select: none;
}

/* Quotation description text */
.testimonial-quote {
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--color-text-dark);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* Author info container */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1.5px solid rgba(10, 28, 53, 0.05);
  padding-top: 22px;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(10, 28, 53, 0.04);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-family: var(--font-secondary);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-primary);
}

.author-location {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 555;
  color: var(--color-text-muted);
}

/* Carousel dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(10, 28, 53, 0.15);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.dot.active {
  background-color: var(--color-primary);
  transform: scale(1.25);
}

/* Media Query Adaptations for Testimonial Section */
@media (max-width: 1024px) {
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonials-title {
    font-size: 32px;
  }

  /* 2 columns on tablet width */
  .testimonial-card {
    width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  /* Absolute overlay controls to fit card size */
  .slider-outer-container {
    position: relative;
    padding: 0 12px;
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .prev-btn {
    left: -12px;
  }

  .next-btn {
    right: -12px;
  }

  .slider-btn:hover {
    transform: translateY(-50%) scale(1.05);
  }

  /* 1 column on smaller tablets */
  .testimonial-card {
    width: 100%;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .testimonials-title {
    font-size: 26px;
  }

  .testimonial-card {
    padding: 36px 20px 28px 20px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }
  
  .prev-btn {
    left: -8px;
  }

  .next-btn {
    right: -8px;
  }
}

/* =============================================================
   14. Contact Section Styles
   ============================================================= */
.contact-section {
  position: relative;
  background-color: #f8fafd; /* Light off-white background on the right */
  overflow: hidden;
  border-top: 1px solid rgba(10, 28, 53, 0.03);
}

/* On large viewports, use pseudo-element to create full-width left navy background */
@media (min-width: 992px) {
  .contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: 1;
  }
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Left Sidebar - Info Panel */
.contact-info-panel {
  background-color: var(--color-primary); /* Fallback and mobile background color */
  color: var(--color-white);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .contact-info-panel {
    padding: 100px 60px 100px 24px;
    background-color: transparent; /* Rely on section pseudo-element for background */
  }
}

.info-content {
  position: relative;
  z-index: 2;
}

.info-label {
  font-family: var(--font-secondary);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.01em;
  display: block;
  text-transform: uppercase;
}

.info-accent-line {
  width: 48px;
  height: 4px;
  background-color: var(--color-accent);
  margin: 16px 0 36px 0;
  border-radius: 2px;
}

.info-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-details-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-icon-box {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-box svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.info-text {
  font-family: var(--font-primary);
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a.info-text:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* Chevron outlines watermark graphic */
.info-watermark {
  position: absolute;
  right: -5%;
  bottom: -5%;
  width: 55%;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 1;
  display: block;
}

.info-watermark svg {
  width: 100%;
  height: auto;
}

/* Right Column - Form Panel */
.contact-form-panel {
  background-color: #f8fafd;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .contact-form-panel {
    padding: 100px 24px 100px 60px;
  }
}

.quote-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.form-group.full-width {
  grid-column: span 2;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 15px 18px;
  background-color: var(--color-white);
  border: 1.5px solid rgba(10, 28, 53, 0.08);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 14.5px;
  color: var(--color-text-dark);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3.5px rgba(217, 157, 43, 0.12);
}

/* Select Dropdown Styling */
.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper select {
  width: 100%;
  padding: 15px 40px 15px 18px;
  background-color: var(--color-white);
  border: 1.5px solid rgba(10, 28, 53, 0.08);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 14.5px;
  color: var(--color-text-dark);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Custom indicator chevron pointing down */
.custom-select-wrapper::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2d3d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.75;
}

.quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  display: flex;
  justify-content: flex-start;
}

.btn-primary-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 157, 43, 0.2);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary-submit:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 157, 43, 0.35);
}

.btn-primary-submit:active {
  transform: translateY(0);
}

.submit-arrow {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.btn-primary-submit:hover .submit-arrow {
  transform: translateX(5px);
}

/* Media Query overrides for smaller screens */
@media (max-width: 768px) {
  .contact-info-panel,
  .contact-form-panel {
    padding: 60px 24px;
  }

  .info-label {
    font-size: 22px;
  }

  .info-watermark {
    width: 40%;
  }
}

@media (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .btn-primary-submit {
    width: 100%;
  }
}

/* =============================================================
   15. Footer Section Styles
   ============================================================= */
.main-footer {
  background-color: var(--color-white);
  padding: 80px 0 30px 0;
  border-top: 1.5px solid rgba(10, 28, 53, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 0.8fr;
  gap: 40px;
  width: 100%;
  margin-bottom: 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Column 1: Profile Block */
.footer-logo-block {
  display: flex;
  margin-bottom: 20px;
}

.footer-logo-image {
  height: 98px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
  opacity: 0.9;
}

/* General Column Elements */
.footer-col-title {
  font-family: var(--font-secondary);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text-dark);
  opacity: 0.85;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
  opacity: 1;
}

/* Service Areas sub-grid layout */
.footer-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.footer-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bullets-list li {
  position: relative;
  padding-left: 12px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-text-dark);
  opacity: 0.85;
  line-height: 1.35;
}

.footer-bullets-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}

.footer-areas-sub {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 18px;
}

/* Social Media Circular Buttons */
.footer-social-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.social-circle svg {
  width: 20px;
  height: 20px;
}

.facebook-circle {
  background-color: var(--color-primary); /* Slate navy matching the design */
}

.instagram-circle {
  /* Instagram sunset gradient */
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.tiktok-circle {
  background-color: #000000;
}

.social-circle:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Copyright Bottom Bar */
.footer-bottom-bar {
  border-top: 1.5px solid rgba(10, 28, 53, 0.06);
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-copy,
.footer-credit {
  font-family: var(--font-primary);
  font-size: 12.5px;
  color: var(--color-text-muted);
  opacity: 0.85;
}

/* Responsive Footer Breakpoints */
@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .footer-profile-col {
    grid-column: span 2;
    border-bottom: 1px solid rgba(10, 28, 53, 0.05);
    padding-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-profile-col {
    grid-column: span 1;
    border-bottom: none;
    padding-bottom: 0;
    align-items: center;
  }

  .footer-logo-block {
    justify-content: center;
  }

  .footer-areas-grid {
    justify-content: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-bullets-list {
    text-align: left;
  }

  .footer-social-row {
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .footer-logo-image {
    height: 78px;
  }
}






