/* =======================================================
   1. FONTS IMPORT (Montserrat + Open Sans)
   ======================================================= */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Open+Sans:wght@400;600&display=swap");

/* =======================================================
   2. CSS VARIABLES
   ======================================================= */
:root {
  /* --- COLORS --- */
  /* YOUR GREEN ACCENT (Replacing the Red) */
  --accent-color: #00e743;

  /* Primary Navy Blue */
  --primary-color: #0a2240;
  --primary-light: #0d2d4d;
  --primary-hover: #0c1f33;
  --dark-bg: #0a2240; /* Synced with primary */

  /* Neutrals */
  --white: #ffffff;
  --light-bg: #f4f7f6;
  --dark-text: #111111;
  --gray-text: #555555;
  --gold: #fbbc05;

  /* --- FONTS (Updated to match Rhino Roofing style) --- */
  /* Heavy, Geometric Sans-Serif for Headings */
  --font-heading: "Montserrat", sans-serif;
  /* Clean, readable Sans-Serif for Body */
  --font-body: "Open Sans", sans-serif;
  /* Navigation Font */
  --font-nav: "Montserrat", sans-serif;
}

/* --- GLOBAL RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--dark-text);
  line-height: 1.5;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- HEADER & NAVBAR FIX --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* UPDATED: Solid White Background */
  background: var(--white);
  /* Lighter, cleaner shadow for white bg */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px; /* Slight increase for breathing room */
}
.logo img {
  height: 65px;
}

/* UNIFORMNA TIPOGRAFIJA */
.nav-links a,
.dropdown-menu a,
.mobile-nav a,
.mob-trigger a {
  font-family: var(--font-nav) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em; /* Premium spacing */
}

/* ==========================
   ANIMACIJE (CTA + IKONICA)
   ========================== */
@keyframes ringPhone {
  0%,
  100% {
    transform: rotate(0) scale(1);
  }
  8% {
    transform: rotate(18deg) scale(1.06);
  }
  16% {
    transform: rotate(-18deg) scale(1.06);
  }
  24% {
    transform: rotate(14deg) scale(1.05);
  }
  32% {
    transform: rotate(-14deg) scale(1.05);
  }
  40% {
    transform: rotate(10deg) scale(1.04);
  }
  48% {
    transform: rotate(-10deg) scale(1.04);
  }
  60% {
    transform: rotate(0) scale(1);
  }
}

@keyframes ctaBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }
  50% {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  }
}

@keyframes ctaShine {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  15% {
    opacity: 0.25;
  }
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

.btn-call-animate i {
  display: inline-block;
  transform-origin: 50% 50%;
}

/* ===============================
   DESKTOP NAV OSNOVA
   =============================== */
nav,
.navbar,
header {
  position: relative !important;
  top: auto !important;
}

/* ===============================
   NAV LINKS & LAYOUT
   =============================== */

.nav-links {
  display: flex;
  align-items: center;
  list-style: none !important;
  /* UPDATED: Added Spacing between items */
  gap: 20px;
}

.nav-links > li {
  position: relative;
  height: 85px;
  display: flex;
  align-items: center;
}

/* default link u top nav */
.nav-links > li > a {
  /* UPDATED: Navy Color to match white background */
  color: var(--primary-color);
  padding: 0 10px; /* Reduced padding slightly since we added gap */
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

/* hover za top nav linkove */
.nav-links > li > a:hover {
  /* UPDATED: Hover color changed to accent (Red/Gold) for visibility */
  color: var(--accent-color);
}

/* ===============================
   DESKTOP DROPDOWNS
   =============================== */

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 260px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Softer shadow */
  border-top: 3px solid var(--accent-color);
  z-index: 1100;
  padding: 5px 0;
}

.dropdown-menu.show {
  display: block !important;
}

.dropdown-menu > li > a {
  color: var(--dark-text) !important;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: block;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.dropdown-menu > li > a:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--accent-color) !important;
}

/* TOP LEVEL: usluge */
.nav-links > li.has-dropdown {
  position: relative;
}

.nav-links > li.has-dropdown > .dd-link {
  /* UPDATED: Navy Color */
  color: var(--primary-color);
  padding: 0 5px 0 10px;
  height: 85px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

@media (min-width: 1025px) {
  .nav-links > li.has-dropdown > .dd-link:hover {
    color: var(--accent-color);
    opacity: 0.9;
  }
}

@media (min-width: 1025px) {
  .nav-links a.active,
  .nav-links .dd-link.active {
    color: var(--accent-color) !important;
    position: relative;
  }
}

/* strelica (dugme) */
.nav-links > li.has-dropdown > .dd-toggle {
  background: none;
  border: none;
  /* UPDATED: Navy Color */
  color: var(--primary-color);
  cursor: pointer;
  height: 85px;
  padding: 0 14px 0 5px;
  display: inline-flex;
  align-items: center;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.nav-links > li.has-dropdown > .dd-toggle:hover {
  color: var(--accent-color);
}

/* Dropdown item sa podmenijem */
.dropdown-menu > li.has-dropdown {
  display: flex;
  align-items: center;
}

.dropdown-menu > li.has-dropdown > .dd-link {
  flex: 1;
  padding: 12px 20px;
  color: var(--dark-text) !important;
  display: block;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.dropdown-menu > li.has-dropdown > .dd-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--accent-color) !important;
}

.dropdown-menu > li.has-dropdown > .dd-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  color: var(--dark-text);
  transition:
    color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.dropdown-menu > li.has-dropdown > .dd-toggle:hover {
  color: var(--accent-color);
  transform: translateX(1px);
}

.dropdown-menu .dropdown-menu {
  top: -3px;
  left: 100%;
  border-top: none;
  border-left: 3px solid var(--accent-color);
}

.dropdown-menu .open-left {
  left: auto !important;
  right: 100% !important;
  border-left: none !important;
  border-right: 3px solid var(--accent-color);
}

/* ===============================
   CTA DUGME (DESKTOP)
   =============================== */

.btn-nav-cta {
  background: var(--accent-color);
  color: white !important;
  padding: 18px 35px !important;
  border-radius: 12px;
  margin-left: 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950 !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  animation: ctaBreath 3.2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-nav-cta i {
  font-size: 1.4rem;
  transform-origin: 50% 50%;
  animation: ringPhone 1.6s ease-in-out infinite;
}

.btn-nav-cta:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  filter: brightness(1.03);
}

.btn-nav-cta:active {
  transform: translateY(-1px) scale(1.03);
}

.btn-nav-cta::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transform: translateX(-120%);
}

.btn-nav-cta:hover::after {
  opacity: 1;
  animation: ctaShine 0.8s ease-out;
}

.btn-nav-cta:hover i {
  animation-duration: 1.1s;
}

/* ===============================
   MOBILE NAV
   =============================== */

.mobile-btns {
  display: none;
}
.menu-toggle {
  background: none;
  border: none;
  /* UPDATED: Navy Color so it shows on white background */
  color: var(--primary-color);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  /* UPDATED: White background for mobile menu */
  background: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  max-height: 90vh;
  overflow-y: auto;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav a {
  display: block;
  padding: 15px 20px;
  /* UPDATED: Navy text for mobile links */
  color: var(--primary-color);
}

/* Indentacija mobilno */
.mob-submenu.level-2 .mob-trigger a {
  padding-left: 35px;
}
.mob-submenu.level-3 .mob-trigger a,
.mob-submenu.level-3 > li > a {
  padding-left: 50px;
  border-left: 2px solid var(--accent-color);
}
.mob-submenu.level-4 > li > a {
  padding-left: 65px;
  border-left: 2px solid var(--accent-color);
}

.mob-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mob-arrow {
  padding: 15px 20px;
  color: var(--accent-color);
  cursor: pointer;
  transition: 0.3s;
}
.mob-arrow.rotate {
  transform: rotate(180deg);
}
.mob-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.mob-submenu.open {
  max-height: 2000px;
}

/* ===============================
   CTA DUGME (MOBILE)
   =============================== */

.btn-mobile-cta {
  background: var(--accent-color) !important;
  color: white !important;
  text-align: center;
  padding: 20px !important;
  border-radius: 12px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 20px;
  text-decoration: none;
  font-weight: 950 !important;
  font-size: 1.3rem !important;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn-mobile-cta i {
  font-size: 1.5rem;
  animation: ringPhone 1.6s ease-in-out infinite;
}

.btn-mobile-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  filter: brightness(1.03);
}

.btn-mobile-cta:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-mobile-cta::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transform: translateX(-120%);
}

.btn-mobile-cta:hover::after {
  opacity: 1;
  animation: ctaShine 0.8s ease-out;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-btns {
    display: flex;
  }
}
/* ===============================
   HERO SECTION LAYOUT
   =============================== */
.hero {
  position: relative;
  padding: 6rem 0 8rem 0;
  color: white;
  overflow: hidden;
  min-height: 850px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--dark-bg); /* Navy BG */
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navy Blue Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 25, 47, 0.98) 0%,
    rgba(10, 25, 47, 0.85) 50%,
    rgba(10, 25, 47, 0.5) 100%
  );
}

.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ===============================
   HERO GRID (WIDER TEXT)
   =============================== */
.hero-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* --- LEFT SIDE TEXT --- */
.license-text {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aab2bd;
  margin-bottom: 20px;
  font-weight: 700;
  border-left: 4px solid var(--accent-color);
  padding-left: 15px;
}

.hero h1 {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  width: 100%;
}

.text-accent {
  color: var(--accent-color);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: white;
  max-width: 100%;
  z-index: 999;
}

.book-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: white;
}
.book-text p {
  color: #ccc;
  font-size: 1rem;
  margin: 0;
}

/* --- TRUST BADGES --- */
.hero-badges-wrapper {
  display: flex;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 12px 25px;
  border-radius: 8px;
  color: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-3px);
}

.google-badge .stars {
  color: var(--gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rating-score {
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  margin-left: 5px;
}

.review-count {
  font-size: 0.9rem;
  color: #444;
  font-weight: 700;
}

/* ===============================
   IMAGE SLIDER (RIGHT SIDE)
   =============================== */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  padding-right: 40px;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  cursor: grab;
}

.hero-slider:active {
  cursor: grabbing;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.slide.active {
  transform: translateY(0%);
  z-index: 10;
}
.slide.prev {
  transform: translateY(-100%);
  z-index: 5;
}
.slide.next {
  transform: translateY(100%);
  z-index: 5;
}

.slide-image {
  width: 100%;
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  background-color: #222;
}

.slider-nav {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.nav-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
}

.nav-dot.active {
  background-color: var(--accent-color);
  height: 50px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 231, 67, 0.5);
}

/* ===============================
   WHITE FORM BAR (UPDATED)
   =============================== */
.hero-form-bar {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 20;
}

.horizontal-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  gap: 20px;
  align-items: center;
}

.h-field {
  position: relative;
  background: #f4f6f8;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.h-field:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 231, 67, 0.15);
  background: white;
}

.field-icon {
  padding-left: 18px;
  color: #555;
  font-size: 1.1rem;
}

.h-field input {
  width: 100%;
  padding: 22px 18px 22px 12px;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: #222;
  font-weight: 600;
  background: transparent;
}

.h-field input::placeholder {
  color: #888;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-hero-bar {
  background: var(--accent-color);
  color: #051020 !important;
  border: none;
  width: 100%;
  height: 100%;
  min-height: 65px;
  font-weight: 950;
  font-size: 1.1rem;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 231, 67, 0.4);
}

.btn-hero-bar:hover {
  background: #00c238;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 231, 67, 0.5);
}

.spam-notice {
  text-align: center;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* ===============================
   ANIMATIONS
   =============================== */
@keyframes ringPhone {
  0%,
  100% {
    transform: rotate(0) scale(1);
  }
  10% {
    transform: rotate(15deg) scale(1.1);
  }
  20% {
    transform: rotate(-15deg) scale(1.1);
  }
  30% {
    transform: rotate(10deg) scale(1.05);
  }
  40% {
    transform: rotate(-10deg) scale(1.05);
  }
  50% {
    transform: rotate(0) scale(1);
  }
}

@keyframes ctaBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 231, 67, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 231, 67, 0.5);
  }
}

@keyframes ctaShine {
  0% {
    transform: translateX(-150%) skewX(-15deg);
  }
  100% {
    transform: translateX(150%) skewX(-15deg);
  }
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  } /* Hide Desktop Nav */
  .mobile-btns {
    display: flex;
  } /* Show Mobile Nav Button */

  .hero-slider-wrapper {
    display: none !important;
  }
  .hero-top-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .license-text {
    border-left: none;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 5px;
    padding-left: 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-badges-wrapper {
    justify-content: center;
  }
  .horizontal-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .btn-hero-bar {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
    padding: 0 15px;
  }
  .logo img {
    height: 55px;
  }
  .hero {
    padding: 4rem 0;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-description {
    text-align: left;
    font-size: 18px;
  }
  .horizontal-form-grid {
    grid-template-columns: 1fr;
  }
  .btn-hero-bar {
    grid-column: span 1;
  }
  .hero-form-bar {
    padding: 25px;
  }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  position: relative;
  padding: 100px 0 120px 0;
  text-align: center;
  overflow: hidden;
  background-color: #ffffff;

  /* ROOFING PATTERN */
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5 L35 20 H5 L20 5 Z' fill='%230a2240' fill-opacity='0.03'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

/* Remove old overlays since we want white */
.testi-bg,
.testi-overlay {
  display: none;
}

.relative-z {
  position: relative;
  z-index: 10;
}

/* SECTION HEADERS */
.section-header {
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.section-main-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-color); /* Navy Blue Text */
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.1;
}

.section-main-title .text-accent {
  color: var(--accent-color); /* Neon Green Highlight */
  position: relative;
  display: inline-block;
}

.section-main-title .text-accent::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-color);
  opacity: 0.3;
  z-index: -1;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* SWIPER SPECIFIC - EQUAL HEIGHT FIX */
.testimonialSwiper {
  padding: 20px 15px 70px 15px !important;
}

/* This ensures the swiper slides themselves stretch to the tallest card's height */
.testimonialSwiper .swiper-slide {
  height: auto;
  display: flex;
}

.swiper-pagination-bullet {
  background: var(--primary-color) !important;
  opacity: 0.3;
  width: 10px;
  height: 10px;
}
.swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
  opacity: 1;
  width: 12px;
  height: 12px;
}

/* CARD DESIGN */
.review-snap-card {
  background: #ffffff;
  padding: 40px;
  text-align: left;
  border-radius: 8px;

  /* EQUAL HEIGHT FIXES */
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%; /* Take up full height of the swiper-slide */
  min-height: 380px;

  /* Deep shadow to pop against white bg */
  box-shadow: 0 10px 40px rgba(10, 34, 64, 0.08);
  border: 1px solid rgba(10, 34, 64, 0.05);

  /* Green Accent Border on Top */
  border-top: 5px solid var(--accent-color);
  transition: transform 0.3s ease;
}

.review-snap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(10, 34, 64, 0.12);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.user-info-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar-circle {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  border: 2px solid var(--accent-color);
}

.user-meta-data h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0;
  color: var(--primary-color);
  font-weight: 800;
}

.user-meta-data .stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin: 4px 0;
}

.user-meta-data .source {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.google-icon-top {
  width: 28px;
  opacity: 1;
}

/* CONTENT */
.card-inner-content {
  position: relative;
  padding-right: 0;
  flex-grow: 1; /* This pushes the card content to fill available space */
  display: flex;
  align-items: center; /* Centers short text vertically within the box if desired */
}

.card-inner-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
  font-style: italic;
  width: 100%;
}

/* BUTTON */
.section-footer {
  margin-top: 30px;
}

.btn-full-green {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 18px 50px;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 6px;
  transition: 0.3s;
  border: 2px solid var(--accent-color);
  box-shadow: 0 5px 20px rgba(0, 231, 67, 0.2);
}

.btn-full-green:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(10, 34, 64, 0.1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .section-main-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }
  .section-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
  .review-snap-card {
    padding: 30px 20px;
    min-height: auto;
    height: auto; /* Let it be natural on mobile stacks */
  }
  .testimonialSwiper .swiper-slide {
    height: auto;
  }
}

/* ===============================
   MEET THE OWNER SECTION
   =============================== */
.owner-section {
  position: relative;
  /* Light grey background to contrast with the Navy elements */
  background-color: #f4f7f6;
  padding: 100px 0;
  overflow: hidden;
}

.owner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Text takes slightly more space */
  gap: 4rem;
  align-items: center;
}

/* --- TYPOGRAPHY --- */
.owner-subtitle {
  font-family: var(--font-body);
  color: var(--accent-color); /* Neon Green */
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.owner-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color); /* Navy */
  text-transform: uppercase;
  margin-bottom: 25px;
  line-height: 1;
}

.owner-bio p {
  font-family: var(--font-body);
  color: #555;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.owner-bio strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* --- RIBBON VALUES (The Red/Blue bars from your image, adapted) --- */
.owner-values-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-ribbon {
  display: flex;
  align-items: stretch;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.value-ribbon:hover {
  transform: translateX(10px);
}

/* 1. The Icon Box (Left side, angled) */
.ribbon-icon {
  background-color: var(--accent-color); /* Neon Green */
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color); /* Navy Icon */
  position: relative;
  z-index: 2;
  /* Skew it to create the angle */
  transform: skewX(-20deg);
  margin-right: -10px; /* Pull text box closer */
}

.ribbon-icon i {
  /* Un-skew the icon so it looks straight */
  transform: skewX(20deg);
}

/* 2. The Text Box (Middle, Navy) */
.ribbon-text-box {
  background-color: var(--primary-color); /* Navy */
  color: white;
  flex-grow: 1;
  padding: 15px 30px 15px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Skew matches the icon */
  transform: skewX(-20deg);
  position: relative;
  z-index: 1;
}

/* Un-skew text inside */
.ribbon-text-box h3,
.ribbon-text-box p {
  transform: skewX(20deg);
}

.ribbon-text-box h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  color: white;
}

.ribbon-text-box p {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.2;
}

/* 3. The Tail (Right side accent) */
.ribbon-tail {
  width: 15px;
  background-color: var(--accent-color); /* Green Tip */
  transform: skewX(-20deg);
  margin-left: 5px;
}

/* --- RIGHT SIDE IMAGE --- */
.owner-image-wrapper {
  position: relative;
  height: 600px;
  width: 100%;
}

.image-clipper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* This creates the sharp diagonal cut on the left side of the image */
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  border-bottom: 8px solid var(--primary-color);
}

.image-clipper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.owner-image-wrapper:hover .image-clipper img {
  transform: scale(1.03);
}

/* --- NAME BADGE OVERLAY --- */
.owner-name-badge {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: rgba(10, 34, 64, 0.95); /* Deep Navy, slight transparency */
  padding: 25px 40px 25px 60px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%); /* Angled left edge */
  text-align: right;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.badge-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #ccc;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.badge-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}

.badge-underline {
  height: 4px;
  width: 100%;
  background: var(--accent-color); /* Neon Green underline */
  margin-top: 10px;
  border-radius: 2px;
}

/* --- BOTTOM DECORATION --- */
.owner-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--primary-color);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .owner-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .owner-content {
    text-align: center;
    padding: 0 20px;
  }

  /* Center the ribbons on mobile/tablet */
  .value-ribbon {
    max-width: 600px;
    margin: 0 auto;
  }

  .owner-image-wrapper {
    height: 500px;
  }

  /* Remove complicated clip-path on mobile for simpler look, or keep it */
  .image-clipper {
    clip-path: none;
    border-radius: 8px;
  }

  .owner-name-badge {
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: none;
    text-align: center;
    padding: 20px;
  }
}

/* ===============================
   SERVICES SECTION
   =============================== */
.services-section {
  padding: 0;
  background-color: #ffffff;
}

.main-services-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 80px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- ROW LAYOUT --- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 Split */
  gap: 5rem;
  align-items: center;
  margin-bottom: 100px;
}

/* --- IMAGE WRAPPER & DECORATION --- */
.service-img-wrapper {
  position: relative;
  width: 100%;
}

.service-img-box {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-img-box img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-img-box:hover img {
  transform: scale(1.03);
}

/* The Navy/Green Bar at Bottom */
.img-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--primary-color); /* Navy Blue */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 30px;
  overflow: hidden;
}

.img-footer-bar h3 {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 2;
  margin: 0;
  letter-spacing: 1px;
}

/* The Green Angled Stripes */
.bar-stripes {
  position: absolute;
  right: -20px;
  top: 0;
  height: 100%;
  width: 150px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent-color),
    var(--accent-color) 15px,
    var(--primary-color) 15px,
    var(--primary-color) 30px
  );
  z-index: 1;
  transform: skewX(-20deg);
  border-left: 5px solid white;
}

/* --- TEXT CONTENT --- */
.service-desc {
  font-family: var(--font-body);
  font-size: 1.15rem; /* Slightly larger for readability */
  color: #555;
  margin-bottom: 35px;
  line-height: 1.7;
}

/* The Grid of Services */
.service-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 20px;
  margin-bottom: 50px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.service-item i {
  font-size: 1.4rem;
  color: var(--primary-color);
  width: 25px;
  text-align: center;
}

.service-item span {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--dark-text);
}

/* --- STRONG CTA BUTTON --- */
.btn-service-cta-strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-color); /* Neon Green */
  color: var(--primary-color); /* Navy Text */
  padding: 22px 50px; /* Massive Padding */
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 4px;
  transition: all 0.2s ease;

  /* "Block" Shadow for strength */
  box-shadow: 0 8px 0 #00992b; /* Darker green block shadow */
  margin-top: 10px;
}

.btn-service-cta-strong:hover {
  transform: translateY(4px); /* Press down effect */
  box-shadow: 0 4px 0 #00992b; /* Smaller shadow on press */
  background-color: #00c238;
}

.btn-service-cta-strong i {
  font-size: 1.1rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .service-row {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 3rem;
  }

  /* Force Images to appear ABOVE text on Mobile */
  .service-row .service-img-wrapper {
    order: -1;
  }

  .service-img-box img {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 600px) {
  .service-list-grid {
    grid-template-columns: 1fr; /* 1 Column on small screens */
    row-gap: 15px;
  }

  .main-services-title {
    font-size: 2.2rem;
  }

  .btn-service-cta-strong {
    width: 100%;
    justify-content: center;
  }
}
/* --- Link Styles for Service Items --- */
.service-item {
  text-decoration: none; /* Remove underline */
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

/* Hover effect for the list items */
.service-item:hover {
  border-bottom-color: var(--accent-color);
  padding-left: 5px;
}

.service-item:hover span {
  color: var(--primary-color);
}

.service-img-link {
  text-decoration: none;
  display: block;
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 600px) {
  /* Make the "RESIDENTIAL / COMMERCIAL" text smaller on mobile */
  .img-footer-bar h3 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }

  .img-footer-bar {
    height: 60px; /* Slightly shorter bar for better proportions */
    padding-left: 20px;
  }

  .bar-stripes {
    width: 100px; /* Narrower stripes for small screens */
  }

  .main-services-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  padding: 5rem 0;
  background: white;
  text-align: center;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #eee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}
.stars {
  color: #facc15;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-style: italic;
  color: var(--gray-text);
  margin-bottom: 0;
}

/* ===============================
   2. PORTFOLIO SECTION STYLES
   =============================== */
.portfolio-section {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
}

.section-header {
  margin-bottom: 50px;
}

.main-services-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.text-accent {
  color: var(--accent-color);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* --- PORTFOLIO SLIDER --- */
.portfolioSwiper {
  padding: 20px 20px 60px 20px !important; /* Space for shadow & dots */
  overflow: hidden; /* Keeps slides inside */
}

.swiper-slide {
  height: auto; /* Ensures cards are equal height */
  display: flex; /* Fix for card height alignment */
}

/* CARD STYLES */
.portfolio-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid transparent;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(10, 34, 64, 0.15);
  border-bottom: 4px solid var(--accent-color);
}

/* IMAGE AREA */
.portfolio-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  width: 100%;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.1);
}

/* Hover Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 34, 64, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay i {
  color: var(--accent-color);
  font-size: 2rem;
}

/* CONTENT AREA */
.portfolio-content {
  padding: 25px;
  text-align: left;
  flex-grow: 1; /* Pushes content to fill height */
}

.portfolio-cat {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

.portfolio-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3;
  margin-top: 0;
}

.portfolio-loc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

.portfolio-loc i {
  color: var(--accent-color);
  margin-right: 5px;
}

/* --- SWIPER NAVIGATION --- */
.portfolioSwiper .swiper-button-next,
.portfolioSwiper .swiper-button-prev {
  color: var(--accent-color);
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  top: 50%;
  transform: translateY(-50%);
}

.portfolioSwiper .swiper-button-next:after,
.portfolioSwiper .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: 900;
}

.portfolioSwiper .swiper-button-next:hover,
.portfolioSwiper .swiper-button-prev:hover {
  background: #00c238;
  color: var(--primary-color);
}

.portfolioSwiper .swiper-pagination-bullet {
  background: var(--primary-color) !important;
  opacity: 0.3;
  width: 10px;
  height: 10px;
}
.portfolioSwiper .swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
  opacity: 1;
}

/* --- FOOTER CTA --- */
.portfolio-footer-cta {
  text-align: center;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.btn-portfolio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--accent-color);
  color: var(--primary-color) !important;
  padding: 25px 60px;
  min-width: 300px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 231, 67, 0.4);
  border: 3px solid var(--accent-color);
  transition: all 0.3s ease;
}

.btn-portfolio-cta:hover {
  background-color: var(--primary-color);
  color: var(--accent-color) !important;
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(10, 34, 64, 0.3);
}

.cta-helper-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
}

/* MOBILE */
@media (max-width: 768px) {
  .btn-portfolio-cta {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    min-width: auto;
  }
}

/* ===============================
   OUR PROCESS SECTION
   =============================== */
.process-section {
  position: relative;
  padding: 100px 0 120px 0;
  text-align: center;
  overflow: hidden; /* Keeps the stripes inside */

  /* 1. BACKGROUND COLOR */
  background-color: #f4f7f9;

  /* 2. BACKGROUND DOTS (Moved here from cards) */
  /* This creates a pattern of tiny Navy dots */
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
  background-size: 20px 20px; /* Space between dots */

  /* Faint opacity for the dots so they don't distract */
  isolation: isolate;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(
    255,
    255,
    255,
    0.85
  ); /* White wash over dots to make them subtle */
  z-index: -1;
}

/* =========================================
   THE "AMERICAN/BRANDED" STRIPE BAR
   (Adds that flag feel at the bottom)
   ========================================= */
.process-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  /* Angled Stripes: Navy, White, Green */
  background: repeating-linear-gradient(
    45deg,
    var(--primary-color),
    var(--primary-color) 20px,
    #ffffff 20px,
    #ffffff 30px,
    var(--accent-color) 30px,
    var(--accent-color) 50px
  );
  border-top: 4px solid var(--primary-color);
  z-index: 10;
}

.mb-20 {
  margin-bottom: 20px !important;
}

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

/* --- GRID LAYOUT --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 80px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* --- THE CARD (Clean White) --- */
.process-card {
  position: relative;
  background-color: #ffffff;
  padding: 70px 20px 40px 20px;
  border-radius: 8px;

  /* Deep shadow to make it "float" above the dots */
  box-shadow: 0 15px 35px rgba(10, 34, 64, 0.1);

  /* Removed the dots from here */
  background-image: none;
  border: 1px solid rgba(255, 255, 255, 1);

  transition: transform 0.3s ease;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(10, 34, 64, 0.2);
  border-bottom: 5px solid var(--accent-color); /* Pop of green on hover */
}

/* --- FLOATING ICONS --- */
.process-icon {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 5px solid #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.navy-bg {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

.green-bg {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* --- CARD CONTENT --- */
.step-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-text);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.process-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* --- FOOTER TEXT --- */
.process-footer {
  position: relative;
  z-index: 2;
}

.process-footer p {
  font-family: var(--font-heading); /* Made bolder */
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  display: inline-block;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px 30px;
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ===============================
   SPECIAL OFFERS SECTION
   =============================== */
.offers-section {
  position: relative;
  padding: 120px 0;
  color: white;
  text-align: center;
  overflow: hidden;
  background-color: var(--primary-color);
}

/* Background Image Styling */
.offers-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.offers-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Optional: grayscale makes it look more dramatic/serious like the memorial photo */
  filter: grayscale(100%);
}

/* The Heavy Navy Overlay */
.offers-overlay {
  position: absolute;
  inset: 0;
  /* 90% Opacity Navy Blue - Allows faint image to show through but keeps text legible */
  background: rgba(10, 34, 64, 0.9);
  z-index: 1;
}

/* Helper classes */
.text-white {
  color: #ffffff !important;
}
.text-light {
  color: #e0e0e0 !important;
}

/* --- OFFERS GRID --- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  align-items: start;
}

/* --- OFFER CARD --- */
.offer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

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

/* Icon Circles */
.offer-icon-circle {
  width: 110px;
  height: 110px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.offer-icon-circle i {
  font-size: 3rem;
  color: var(--primary-color); /* Navy Icons */
}

/* Featured Card (Veteran) Styling */
.featured-card .offer-icon-circle.accent-bg {
  background-color: white; /* Keep white bg for contrast */
  border: 4px solid var(--accent-color); /* Green Border */
  transform: scale(1.1); /* Slightly bigger */
}

.featured-card .offer-icon-circle i {
  color: var(--accent-color); /* Neon Green Icon */
}

/* Typography */
.offer-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.offer-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  max-width: 350px;
  margin: 0 auto;
}

/* Thank You Badge */
.offer-badge {
  margin-top: 15px;
  background: var(--accent-color);
  color: var(--primary-color);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 5px 15px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* White Border Button variant */
.btn-service-cta-strong.border-white {
  border: 2px solid white;
  margin-top: 40px;
}

.btn-service-cta-strong.border-white:hover {
  background: white;
  color: var(--primary-color) !important;
  border-color: white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .offers-grid {
    grid-template-columns: 1fr; /* Stack vertically on tablet/mobile */
    gap: 60px;
  }

  .offer-desc {
    max-width: 500px;
  }
}

/* ===============================
   FAQ SECTION (Clean / Classic Style)
   =============================== */
.faq-section {
  padding: 100px 0;
  background-color: #ffffff; /* Pure White, No Dots */
}

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

.faq-header h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-color); /* Navy */
  text-transform: uppercase;
  line-height: 1.2;
}

.faq-header .highlight {
  color: var(--accent-color); /* Neon Green */
}

/* --- ACCORDION LIST --- */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  border-top: 2px solid #eaeaea; /* Top Line */
}

/* Individual Item Container */
.faq-item {
  border-bottom: 2px solid #eaeaea; /* Separator Line */
  background: transparent;
}

/* --- THE QUESTION --- */
.faq-question {
  width: 100%;
  padding: 30px 10px; /* Spacing */
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color); /* Navy Text */
  text-transform: uppercase;
  letter-spacing: -0.5px;
  padding-right: 20px;
  transition: color 0.3s ease;
}

/* Hover Effect */
.faq-question:hover span {
  color: var(--accent-color); /* Turns Green on Hover */
}

/* --- THE ICON CIRCLE --- */
.faq-icon-box {
  width: 45px;
  height: 45px;
  background-color: #f4f7f6; /* Light Grey Default */
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-icon-box i {
  font-size: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

/* --- ACTIVE STATE (When Open) --- */
.faq-item.active .faq-icon-box {
  background-color: var(--accent-color); /* Green Background */
  border-color: var(--accent-color);
}

.faq-item.active .faq-icon-box i {
  color: var(--primary-color); /* Navy Icon */
  transform: rotate(180deg); /* Flip Arrow/Rotate Plus */
}

/* --- THE ANSWER --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0.5, 1);
}

.faq-answer p {
  padding: 0 10px 40px 10px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555; /* Dark Grey readable text */
  margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .faq-header h2 {
    font-size: 1.8rem;
  }
  .faq-question {
    padding: 25px 0;
  }
  .faq-question span {
    font-size: 1rem;
  }
  .faq-icon-box {
    width: 35px;
    height: 35px;
  }
}
/* --- SERVING SECTION STYLES --- */
.serving-section {
  padding: 100px 0;
  background-color: #fff;
  color: #0a2240;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #0a2240;
}

.serving-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Tekstualni deo */
.serving-content h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

.serving-content h2 .highlight {
  color: #ff0000;
}

.serving-desc {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Pill lokacije */
.locations-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.loc-pill {
  background-color: #eef4f9;
  padding: 18px 25px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
}

.loc-pill i {
  color: #ff0000;
  font-size: 1.3rem;
}

.loc-pill:hover {
  background-color: #e2ecf5;
  transform: translateX(5px);
}

.serving-footer-text {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 30px;
}

.btn-serving-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ff0000;
  color: #fff !important;
  padding: 18px 45px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

/* MAPA SA OVERLAYOM */
.map-wrapper {
  position: relative;
  height: 550px;
  border-radius: 20px;
  overflow: visible; /* Dozvoljava kartici da malo "izađe" ako treba */
}

.map-container {
  height: 100%;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

.map-overlay-card {
  position: absolute;
  top: 30px;
  right: 30px;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  min-width: 250px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.card-text h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.card-text span {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 5px;
}

.card-phone {
  font-weight: 800;
  color: #0a2240;
  font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .serving-grid {
    grid-template-columns: 1fr;
  }
  .map-wrapper {
    height: 450px;
    order: 2;
  }
  .serving-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .serving-content h2 {
    font-size: 2.5rem;
  }
  .locations-pill-grid {
    grid-template-columns: 1fr;
  }
  .map-overlay-card {
    right: 10px;
    left: 10px;
    top: auto;
    bottom: 20px;
  }
}

/* ===============================
   SERVICE AREAS SECTION
   =============================== */
.service-areas-section {
  padding: 100px 0;
  /* Dark Navy Background to match reference */
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.area-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ffffff;
}

.area-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 50px;
}

/* --- LOCATION PILLS GRID --- */
.locations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* Space between pills */
  margin-bottom: 50px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* THE PILL BUTTON */
.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  /* Transparent bg with White Border */
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;

  padding: 12px 25px;
  border-radius: 50px; /* Makes it pill shaped */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.location-pill i {
  color: var(--accent-color); /* Neon Green Pin */
  font-size: 1rem;
}

/* Hover Effect: Fills White, Text turns Navy */
.location-pill:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- MAP WRAPPER --- */
.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  /* Set fixed height for the map window */
  height: 500px;

  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);

  /* White semi-transparent border */
  border: 4px solid rgba(255, 255, 255, 0.1);
  background: #f0f0f0;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Decorative Badge on Map */
.map-overlay-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  pointer-events: none; /* Allows clicks to go through to map controls */
  z-index: 10;
}

.map-overlay-badge i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Responsive height adjustment */
@media (max-width: 768px) {
  .map-wrapper {
    height: 350px; /* Slightly smaller on mobile */
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .area-title {
    font-size: 2.2rem;
  }

  .location-pill {
    padding: 10px 18px;
    font-size: 0.85rem;
    flex: 1 1 auto; /* Allows pills to shrink/grow on mobile */
    justify-content: center;
  }

  .map-wrapper {
    min-height: 300px;
  }
}
/* ===============================
   FOOTER (EXACT LAYOUT REPLICA)
   =============================== */
.footer {
  font-family: var(--font-body);
  position: relative;
  z-index: 5;
}

/* --- 1. TOP SECTION (Light) --- */
.footer-top {
  background-color: white; /* Light Grey background */
  padding: 80px 0 100px 0; /* Extra bottom padding for the badge overlap */
  color: #333;
}

.footer-grid {
  display: grid;
  /* Exact 4-column layout proportions from image */
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

/* Logo & Tagline */
.footer-logo {
  max-width: 220px;
  margin-bottom: 15px;
}

.tagline-box p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.4;
  color: #444;
  font-weight: 500;
  /* The underline effect from the image */
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 4px;
}

/* Headings */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: #000;
  letter-spacing: 0.5px;
}

/* Links List */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Office / Contact Column */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 1.1rem;
  color: #333;
}

.icon-box {
  color: var(--primary-color); /* Navy Icons */
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
}

.contact-row a {
  text-decoration: none;
  color: #333;
}

/* The Big Button */
.footer-big-btn {
  display: block;
  background-color: var(--accent-color); /* Neon Green */
  color: var(--primary-color); /* Navy Text */
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  padding: 18px 0;
  margin-top: 30px;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.footer-big-btn:hover {
  background-color: #00c238;
  transform: translateY(-2px);
}

/* --- 2. MIDDLE SECTION (Navy Blue) --- */
.footer-middle {
  background-color: var(--primary-color); /* Navy Blue */
  color: white;
  padding: 60px 0 80px 0;
  position: relative;
}

/* The Floating Badge (Circle in Middle) */
.footer-floating-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%); /* Moves it up 50% to bridge sections */
  width: 120px;
  height: 120px;
  background-color: var(--primary-color); /* Matches Navy bg */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Add border or shadow to separate from top section */
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  border: 5px solid #f4f6f8; /* Light border matching top bg */
  z-index: 10;
}

.badge-inner {
  font-size: 3rem;
  color: var(--accent-color); /* Green Icon */
}

/* Middle Text Content */
.footer-middle-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.footer-credits strong {
  color: var(--accent-color);
}

/* --- 3. BOTTOM WAVE (Green Bar with Socials) --- */
.footer-bottom-wave {
  position: relative;
  background-color: var(--primary-color); /* Navy base to hide gaps */
  height: 100px;
  overflow: hidden;
}

/* Creating the "Hill" shape using CSS Clip Path or Gradient */
.wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color); /* Neon Green */
  /* This creates the 'mountain' shape: Flat sides, rising in middle */
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 65% 0, 35% 0, 0 40%);

  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px; /* Push icons down into the fat part */
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  width: 50px;
  height: 50px;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-socials a:hover {
  transform: translateY(-5px);
  color: var(--accent-color);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 Column */
    text-align: left; /* UPDATED: Aligns text to left */
  }

  /* UPDATED: Align contact rows to left */
  .contact-row {
    justify-content: flex-start;
  }

  .footer-middle-content {
    flex-direction: column;
    gap: 20px;
    text-align: center; /* Copyright stays centered as it sits under the badge */
    padding-top: 40px; /* Space for the floating badge */
  }

  .wave-shape {
    clip-path: none; /* Flat bar on mobile */
    height: 80px;
    padding-top: 0;
  }
}
/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid,
  .features-grid,
  .services-grid,
  .footer-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
  .mobile-btns {
    display: flex;
  }
  .mega-inner {
    grid-template-columns: 1fr 1fr;
  }
  .mega-col {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-grid,
  .features-grid,
  .services-grid,
  .footer-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  /* na mobilnom koristimo mobile nav, mega menu se ne prikazuje */
  .dropdown-mega .dropdown-menu.mega-menu {
    display: none !important;
  }
}

/* ===============================
   NEON BOUNCING CALL BUTTON
   =============================== */
.mobile-bounce-btn {
  /* 1. Positioning & Layout */
  display: none; /* Hidden on desktop by default */
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 65px;
  height: 65px;
  z-index: 999999; /* Always on top */

  /* 2. Flexbox for centering icon */
  display: flex; /* Changed from 'none' to 'flex' for testing, see Media Query below */
  justify-content: center;
  align-items: center;

  /* 3. "Neon Black" Theme Styling */
  background-color: #00e743; /* Dark Navy (Theme Primary) */
  color: white; /* Neon Green Icon (Theme Accent) */
  border: 2px solid #00e743; /* Neon Green Border */
  border-radius: 50%;
  font-size: 24px;
  text-decoration: none;

  /* 4. Glow & Shadow Effects */
  box-shadow:
    0 0 10px rgba(0, 231, 67, 0.5),
    /* Inner Neon Glow */ 0 10px 20px rgba(0, 231, 67, 0.5); /* Drop Shadow */

  /* 5. Animation assignment */
  animation: bounce 2s infinite;
  transition: all 0.3s ease;
}

/* Hover Effect (if clicked/touched) */
.mobile-bounce-btn:hover {
  background-color: #00e743; /* Fills with Green */
  box-shadow: 0 0 20px rgba(0, 231, 67, 0.8);
  transform: scale(1.1);
}

/* --- OPTIONAL: PULSING RING EFFECT BEHIND BUTTON --- */
.mobile-bounce-btn::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid #00e743;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

/* --- ANIMATIONS --- */

/* 1. Up and Down Bounce */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px); /* Jump Up */
  }
  60% {
    transform: translateY(-7px); /* Small Jump */
  }
}

/* 2. Expanding Ring Ripple */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0; /* Fades out as it expands */
  }
}

/* --- MEDIA QUERY (Control Visibility) --- */
/* Hide on Desktop, Show on Mobile/Tablet */
@media (min-width: 769px) {
  .mobile-bounce-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .mobile-bounce-btn {
    display: flex !important; /* Forces it to show on mobile */
  }
}

/* Animacija skakanja */
@keyframes phoneBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* Vidljivo samo na ekranima manjim od 768px */
@media (max-width: 768px) {
  .mobile-bounce-btn {
    display: flex; /* Prikazuje se na mobilnom */
    animation: phoneBounce 2s infinite; /* Pokretanje animacije */
  }
}

/* Efekat kad se klikne */
.mobile-bounce-btn:active {
  transform: scale(0.9);
  background-color: #1ebd5b;
}

/* --- BRAVAR BEOGRAD PAGE CONTENT --- */
.bravar-beograd-info {
  padding: 4rem 0;
  background: #ffffff;
}

/* TL;DR Box */
.tldr-box {
  background: #f8fafc;
  border-left: 5px solid var(--accent-color);
  padding: 2rem;
  border-radius: 0 1rem 1rem 0;
  margin-bottom: 3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.tldr-title {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tldr-list {
  margin-bottom: 1.5rem;
}
.tldr-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  position: relative;
  padding-left: 20px;
}
.tldr-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}
.tldr-cta {
  display: inline-block;
  background: var(--accent-color);
  color: #fff !important;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* Article Styling */
.seo-article h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.seo-article h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-weight: 700;
}
.seo-article p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* Locations Cloud */
.locations-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5rem 0;
}
.locations-tag-cloud span {
  background: #eff6ff;
  color: #1e40af;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #dbeafe;
}

/* Info Highlight */
.info-highlight {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 1.5rem;
  margin: 2rem 0;
}

/* Bottom CTA */
.page-footer-cta {
  text-align: center;
  background: var(--primary-color);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  margin-top: 4rem;
}
.page-footer-cta h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.cta-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.main-call-btn {
  background: var(--accent-color);
  color: #fff !important;
  padding: 1rem 2rem;
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 0.8rem;
}
.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  padding: 1rem 2rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .cta-buttons-wrap {
    flex-direction: column;
  }
  .seo-article h2 {
    font-size: 1.8rem;
  }
}

/* --- LOCATIONS INFINITE SLIDER --- */
.locations-marquee {
  padding: 40px 0;
  background-color: #f8fafc; /* Svetla pozadina */
  overflow: hidden;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.marquee-title {
  text-align: center;
  margin-bottom: 25px;
}

.marquee-title h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.marquee-wrapper {
  display: flex;
  width: 100%;
  position: relative;
  /* Fade efekat na krajevima slidera */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee-content {
  display: flex;
  gap: 20px;
  animation: scrollMarquee 40s linear infinite; /* Podešavaj sekunde za brzinu */
  white-space: nowrap;
}

/* Pauza na hover da ljudi mogu da pročitaju */
.marquee-content:hover {
  animation-play-state: paused;
}

.loc-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 20px 40px;
  border-radius: 50px; /* Pilula oblik */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
}

.loc-pill i {
  color: #ff0000; /* Crvena kvačica */
  font-size: 1.1rem;
}

/* ANIMACIJA */
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Pomera se za pola jer je sadržaj dupliran */
  }
}

/* Prilagođavanje za mobilni */
@media (max-width: 768px) {
  .marquee-content {
    animation: scrollMarquee 25s linear infinite; /* Malo brže na mobilnom jer je manji ekran */
  }
  .loc-pill {
    padding: 25px 50px;
    font-size: 1rem;
  }
}

/* ===============================
   WORK GALLERY (NON-CLICKABLE)
   =============================== */
.work-gallery-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.work-gallery-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* GRID LOGIC */
.work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns on PC */
  gap: 20px;
  margin-bottom: 60px;
}

.gallery-item {
  aspect-ratio: 4 / 3; /* Matches the 800x600 ratio */
  background-color: #f0f0f0; /* A light grey placeholder while loading */
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FOOTER CTA STYLE */
.gallery-footer-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  border-radius: 8px;
  color: white;
}

.gallery-footer-cta h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 900;
}

.gallery-footer-cta p {
  margin-bottom: 30px;
  opacity: 0.9;
}

/* RESPONSIVE LAYOUT */

/* Tablet: 2 Columns */
@media (max-width: 1024px) {
  .work-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 Column (stacked one after another) */
@media (max-width: 768px) {
  .work-gallery-section {
    padding: 60px 0;
  }

  .work-gallery-grid {
    grid-template-columns: 1fr; /* Full width items */
    gap: 15px;
  }

  .gallery-item img {
    height: auto; /* Let images be natural height on mobile or keep 300px */
    aspect-ratio: 4/3;
  }

  .gallery-footer-cta h3 {
    font-size: 1.5rem;
  }
}

/* =========================
   PRIVACY POLICY SECTION
   ========================= */

.privacy-policy-section {
  padding: 80px 0;
  background: #f8fafc;
}

.privacy-policy-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-policy-section h1 {
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: #0a2240;
  margin-bottom: 30px;
  line-height: 1.2;
}

.privacy-policy-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0a2240;
  margin-top: 45px;
  margin-bottom: 15px;
}

.privacy-policy-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f3b63;
  margin-top: 25px;
  margin-bottom: 10px;
}

.privacy-policy-section p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 15px;
}

.privacy-policy-section strong {
  color: #0a2240;
  font-weight: 700;
}

.privacy-policy-section ul {
  margin: 15px 0 25px 0;
  padding-left: 20px;
}

.privacy-policy-section ul li {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
  list-style: disc;
}

/* Checkmark lists */
.privacy-policy-section ul li::marker {
  color: var(--gold, #d4af37);
}

/* Contact block */
.privacy-policy-section ul li strong {
  font-weight: 700;
}

/* Subtle divider feel */
.privacy-policy-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold, #d4af37);
  margin-top: 10px;
  border-radius: 2px;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .privacy-policy-section {
    padding: 50px 20px;
  }

  .privacy-policy-section h1 {
    font-size: 2.1rem;
  }

  .privacy-policy-section h2 {
    font-size: 1.35rem;
  }

  .privacy-policy-section p,
  .privacy-policy-section ul li {
    font-size: 1rem;
  }
}

/* ===============================
   CONTACT PAGE SECTION
   =============================== */
.contact-page-section {
  padding: 80px 0;
  background-color: #f4f4f4;
}

.contact-split-wrapper {
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}

/* FORM SIDE */
.contact-form-side {
  flex: 1;
  min-width: 350px;
  padding: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
}

.contact-form-card {
  width: 100%;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px 45px 15px 15px;
  border: 1px solid #333;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 5px rgba(0, 231, 67, 0.2);
}

.input-group i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-size: 1.1rem;
}

.input-group textarea + i {
  top: 25px;
}

.contact-submit-btn {
  background-color: var(--accent-color); /* Red from reference image */
  color: #fff;
  border: none;
  padding: 18px 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
  margin-top: 10px;
}

.contact-submit-btn:hover {
  background-color: var(--navy-dark);
}

/* IMAGE SIDE */
.contact-image-side {
  flex: 1.2;
  min-width: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  min-height: 600px;
}

.image-slogan {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

/* RESPONSIVE */
/* 1. Ensure the main section doesn't have too much side padding on mobile */
@media (max-width: 768px) {
  .contact-page-section {
    padding: 40px 10px; /* Reduced from 20px to give form more room */
  }

  /* 2. Ensure the container allows the form to fill the width */
  .contact-page-section .container {
    padding: 0; /* Remove container padding so the card can grow */
    width: 100%;
  }

  /* 3. Adjust the wrapper to take full width */
  .contact-split-wrapper {
    flex-direction: column;
    width: 100%;
    margin: 0;
    border-radius: 0; /* Optional: remove rounding for a "full-bleed" look on mobile */
    box-shadow: none; /* Optional: cleaner look if it's full width */
  }

  /* 4. Fix the form side padding */
  .contact-form-side {
    padding: 40px 15px; /* Enough padding to look good, but not too much to shrink inputs */
    flex: none;
    width: 100%;
    min-width: unset; /* Remove the min-width so it doesn't push the screen out */
  }

  /* 5. Make sure the image side also takes full width */
  .contact-image-side {
    width: 100%;
    min-width: unset;
    min-height: 350px; /* Slightly shorter for mobile */
  }
}

@media (max-width: 768px) {
  .contact-page-section {
    padding: 40px 0;
  }

  .contact-split-wrapper {
    flex-direction: column; /* Stacks Form on top, Image on bottom */
  }

  .contact-form-side {
    padding: 40px 20px;
    flex: none; /* Let height be determined by content */
  }

  .contact-image-side {
    padding: 60px 20px;
    min-height: 450px;
    flex: none;
  }

  .image-slogan {
    font-size: 2.2rem;
  }
}
/* ===============================
   FLOATING BUTTONS & MODALS CSS
   =============================== */
:root {
  --neon-green: #00e743;
  --navy-dark: #0a2240;
}

/* --- 1. DESKTOP BUTTON (Hidden on Mobile) --- */
.desktop-floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--navy-dark);
  color: #fff;
  border: 2px solid var(--neon-green);
  border-radius: 50px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  animation: pulse-border 2s infinite;
}

.desktop-floating-cta .cta-text {
  font-family: "Arial", sans-serif; /* Use your heading font */
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.desktop-floating-cta .cta-icon {
  background: var(--neon-green);
  color: var(--navy-dark);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-floating-cta:hover {
  transform: translateY(-5px);
  background-color: var(--neon-green);
  color: var(--navy-dark);
  box-shadow: 0 0 30px rgba(0, 231, 67, 0.6);
}

/* --- 2. MOBILE BUTTON (Hidden on Desktop) --- */
.mobile-bounce-btn {
  display: none; /* See media query below */
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  background-color: var(--neon-green);
  color: var(--navy-dark);
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  animation: bounce 2s infinite;
}

/* --- 3. MODAL POPUP STYLES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 34, 64, 0.85); /* Dark Navy Fade */
  backdrop-filter: blur(5px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 10px;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Active States (triggered by JS) */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.custom-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Modal Header */
.modal-header {
  background: var(--navy-dark);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}
.text-neon {
  color: var(--neon-green);
}
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Modal Body */
.modal-body {
  padding: 30px;
}
.popup-form input,
.popup-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}
.popup-form input:focus {
  outline: 2px solid var(--neon-green);
  border-color: transparent;
}

.submit-btn {
  width: 100%;
  background: var(--neon-green);
  color: var(--navy-dark);
  font-weight: 900;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  text-transform: uppercase;
}
.submit-btn:hover {
  background: var(--navy-dark);
  color: var(--neon-green);
}

/* Mobile Modal Specifics */
.big-call-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--neon-green);
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px solid var(--navy-dark);
}
.modal-note {
  font-size: 0.8rem;
  color: #777;
  margin-top: 10px;
}

/* --- ANIMATIONS --- */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 231, 67, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 231, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 231, 67, 0);
  }
}

/* --- MEDIA QUERIES (The Logic) --- */
@media (max-width: 768px) {
  .desktop-floating-cta {
    display: none;
  } /* Hide PC button on Mobile */
  .mobile-bounce-btn {
    display: flex;
  } /* Show Mobile button on Mobile */
}
@media (min-width: 769px) {
  .desktop-floating-cta {
    display: flex;
  } /* Show PC button on Desktop */
  .mobile-bounce-btn {
    display: none;
  } /* Hide Mobile button on Desktop */
}
/* Update this block to include textarea */
.popup-form input,
.popup-form select,
.popup-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit; /* Ensures font matches inputs */
}

/* Add this specific rule for the text box */
.popup-form textarea {
  resize: vertical; /* Allows resizing height only, not width */
  min-height: 100px;
}

/* Focus state */
.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
  outline: 2px solid var(--neon-green);
  border-color: transparent;
}

/* --- HERO GRID ADJUSTMENT --- */
.hero-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Text wider than form */
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

/* --- HERO FORM CARD --- */
.hero-form-column {
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.hero-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-top: 5px solid var(--accent-color);
}

.form-header {
  text-align: center;
  margin-bottom: 25px;
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.2;
}

.form-header p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Vertical Fields */
.v-field {
  position: relative;
  margin-bottom: 15px;
}

.v-field .field-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1rem;
}

.v-field input {
  width: 100%;
  padding: 15px 15px 15px 55px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

.v-field input:focus {
  border-color: var(--primary-color);
}

/* Submit Button */
.btn-hero-submit {
  width: 100%;
  background-color: var(--accent-color); /* Your Brand Red */
  color: #fff;
  border: none;
  padding: 18px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
  margin-top: 10px;
}

.btn-hero-submit:hover {
  background-color: var(--navy-dark);
}

.spam-notice {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 15px;
}

/* --- CONSENT CHECKBOX --- */
.consent-check {
  margin: 14px 0 10px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.consent-label span {
  font-size: 0.72rem;
  color: #777;
  line-height: 1.5;
}

.consent-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.consent-link:hover {
  color: var(--accent-color);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-top-grid {
    grid-template-columns: 1fr; /* Stack on tablet/mobile */
    text-align: center;
    gap: 50px;
  }

  .hero-form-column {
    justify-content: center;
  }

  .hero-badges-wrapper {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-form-card {
    padding: 30px 20px;
  }

  .form-header h3 {
    font-size: 1.3rem;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .show-on-mobile {
    display: flex !important;
  }
}

/* Mobile hero call button container */
.mobile-hero-call {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 40px;
  gap: 12px;
}

.mobile-call-subtext {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-align: center;
}

/* --- HERO EMERGENCY BUTTON (GREEN ACCENT) --- */
.hero-cta-group {
  margin-top: 30px;
  display: flex;
}

.hero-emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: var(--accent-color); /* Neon Green */
  color: var(--primary-color); /* Navy Blue text for high contrast */
  padding: 18px 40px;
  border-radius: 50px; /* Pill shape like your image */
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(0, 231, 67, 0.3); /* Green shadow */
  transition: all 0.3s ease;
}

.hero-emergency-btn i {
  font-size: 1.3rem;
  /* This makes the phone icon slightly tilt like the image */
  transform: rotate(-10deg);
}

.hero-emergency-btn:hover {
  transform: scale(1.05);
  background-color: #00ff42; /* Slightly brighter on hover */
  box-shadow: 0 15px 30px rgba(0, 231, 67, 0.5);
}

/* --- GREEN GLOW PULSE ANIMATION --- */
.pulse-green {
  animation: pulse-green-glow 2s infinite;
}

@keyframes pulse-green-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 231, 67, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 231, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 231, 67, 0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-cta-group {
    justify-content: center;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero-emergency-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
  }
}

/* --- BIG PILL MARQUEE --- */
.locations-marquee-section {
  background-color: #f9f9f9; /* Light clean background */
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.marquee-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 35px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  gap: 30px; /* Space between the big pills */
  animation: scroll-left 40s linear infinite;
}

/* THE BIG PILL */
.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 15px; /* Space between icon and text */
  padding: 20px 45px; /* LARGE PADDING */
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 100px; /* Perfect pill shape */
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem; /* BIGGER TEXT */
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.marquee-pill i {
  color: var(--accent-color); /* Neon Green Icon */
  font-size: 1.3rem; /* Bigger icon */
}

/* ANIMATION SPEED */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE: Scaled down slightly for mobile so it fits the screen */
@media (max-width: 768px) {
  .marquee-pill {
    padding: 15px 30px;
    font-size: 1rem;
  }
  .marquee-title {
    font-size: 1.3rem;
  }
}

/* --- 2. SERVICE DETAIL --- */
.service-detail-section {
  padding: 100px 0;
  background: white;
}
.detail-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.detail-list {
  list-style: none;
  margin: 25px 0;
}
.detail-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 12px;
  color: #444;
}
.detail-list li i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* --- 3. SEO CONTENT BLOCK --- */
.seo-info-section {
  padding: 80px 0;
  background: #f4f7fa;
}
.seo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
.seo-main-text h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}
.seo-main-text h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin: 30px 0 15px;
}
.seo-main-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
}
.sidebar-box {
  background: var(--primary-color);
  padding: 30px;
  border-radius: 8px;
  color: white;
  position: sticky;
  top: 100px;
}
.sidebar-box h4 {
  font-family: var(--font-heading);
  color: var(--accent-color);
  margin-bottom: 20px;
}
.sidebar-box ul {
  list-style: none;
}
.sidebar-box li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .detail-title {
    font-size: 2rem;
  }
  .sidebar-box {
    position: static;
    margin-top: 40px;
  }
}

/* --- RESIDENTIAL MAIN GALLERY GRID --- */
.residential-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin-bottom: 0;
}

.res-img-big {
  grid-column: span 2;
  height: 300px;
}

.res-img-small {
  height: 180px;
}

.res-img-wide {
  grid-column: span 2;
  height: 150px;
}

.residential-gallery-grid div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Service Checklist Styling */
.residential-service-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
  text-transform: uppercase;
}

.check-item i {
  color: var(--accent-color);
  font-size: 1rem;
}

.sidebar-v-list {
  list-style: none;
  padding: 0;
}

.sidebar-v-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .residential-service-checklist {
    grid-template-columns: 1fr;
  }
  .res-img-big {
    height: 200px;
  }
  .res-img-small {
    height: 120px;
  }
}

/* ===============================
   ROOF TYPES GRID
   =============================== */
.roof-types-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.roof-types-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.roof-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns on PC */
  gap: 30px;
  margin-bottom: 50px;
}

.type-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.type-img {
  width: 100%;
  height: 300px; /* Uniform height for all cards */
  overflow: hidden;
}

.type-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Reusing your signature Navy/Green Bar */
.type-card .img-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.type-card .img-footer-bar h3 {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0;
  z-index: 2;
}

/* Hover Effects */
.type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.type-card:hover .type-img img {
  transform: scale(1.1);
}

/* Footer CTA beneath the grid */
.section-footer-cta {
  text-align: center;
  margin-top: 40px;
}

.section-footer-cta p {
  font-family: var(--font-body);
  font-weight: 600;
  color: #666;
  margin-bottom: 20px;
}

/* RESPONSIVE */

/* Tablet: 2 Columns */
@media (max-width: 1024px) {
  .roof-types-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* Mobile: 1 Column (One after another) */
@media (max-width: 768px) {
  .roof-types-grid {
    grid-template-columns: 1fr;
  }

  .type-img {
    height: 250px;
  }

  .roof-types-section {
    padding: 60px 0;
  }
}
/* --- TOP BAR (Desktop Layout) --- */
.header-topbar {
  background-color: #f8f9fa; /* Light grey/white top bar */
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: none; /* Hidden on mobile */
}

.top-social-wrap {
  display: flex;
  justify-content: flex-end; /* Align icons to the right like your image */
  gap: 12px;
}

/* Circular Icon Style */
.soc-circle {
  width: 36px;
  height: 36px;
  background-color: #00e743; /* Using the dark blue from your example image */
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.soc-circle:hover {
  background-color: #23ce6b; /* Paramount Green on hover */
  transform: translateY(-2px);
}

/* --- MOBILE NAVBAR ICONS --- */
.mobile-btns {
  gap: 15px;
}

.nav-mobile-socials {
  display: flex;
  gap: 10px;
}

.nav-mobile-socials a {
  color: white;
  background-color: #00e743;
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* --- RESPONSIVE VISIBILITY --- */

/* Desktop only (992px and up) */
@media (min-width: 992px) {
  .header-topbar {
    display: block; /* Show the top bar */
  }
  .nav-mobile-socials {
    display: none; /* Hide mobile icons in navbar on desktop */
  }
}

/* Mobile adjustments (991px and down) */
@media (max-width: 991px) {
  .navbar {
    padding: 15px 0;
  }
  /* Hide top bar on mobile as icons move into navbar */
  .header-topbar {
    display: none;
  }
}
