:root {
  --primary-text: #1A1A1A;
  --bg-color: #FFFFFF;
  --accent-color: #E63946;
  --accent-hover: #CC2E3A;
  --light-grey: #F0F0F0;
  --muted-grey: #6B7280;
  --font-primary: 'Inter', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-primary);
  color: var(--primary-text);
  background-color: var(--bg-color);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: var(--primary-text); }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; margin-bottom: 1.5rem; color: var(--primary-text); }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.75rem; color: var(--primary-text); }
p { font-size: 1.125rem; font-weight: 400; line-height: 1.6; color: var(--muted-grey); margin-bottom: 1rem; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-color);
  z-index: 1000;
  transition: box-shadow 0.3s ease-in-out;
  border-bottom: 1px solid var(--light-grey);
}
header.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  color: var(--primary-text);
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  font-weight: 600;
  color: var(--primary-text);
  transition: color 0.3s;
}
.phone-link:hover {
  color: var(--accent-color);
}

/* Primary CTA Button */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--bg-color);
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Secondary CTA Button */
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--accent-color);
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
}
.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

/* Mobile Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-text);
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-phone-icon {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-text);
}

/* Main Layout */
main {
  padding-top: 80px; 
}

section {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--light-grey);
}

.bg-dark {
  background-color: var(--primary-text);
  color: var(--bg-color);
}
.bg-dark h2, .bg-dark h3, .bg-dark p {
  color: var(--bg-color);
}

/* Headings Accent Line */
.heading-accent::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin-top: 1.25rem;
}
.text-center .heading-accent::after {
  margin-left: auto;
  margin-right: auto;
}
.text-center {
  text-align: center;
}

/* Hero Section */
.hero-banner {
  height: calc(100vh - 80px);
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}
.hero-text {
  color: var(--bg-color);
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}
.hero-p {
  color: var(--light-grey);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Internal Page Hero */
.internal-hero {
  height: 300px;
  background-color: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}
.internal-hero h1 {
  margin-bottom: 0;
}

/* Layout Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Service Cards */
.service-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--light-grey);
  transition: all 0.3s ease-in-out;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  transition: all 0.2s ease-out;
}
.service-card:hover .service-icon {
  filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.6));
  transform: scale(1.05);
}
.service-card p {
  flex-grow: 1;
}

/* Feature Box (Why Choose Us) */
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-color);
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  transition: all 0.2s ease-out;
}
.feature-box:hover .feature-icon {
  filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.6));
  transform: scale(1.05);
}

/* Project Cards */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}
.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 26, 26, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
  text-align: center;
}
.project-card:hover img {
  transform: scale(1.05);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-overlay h3 {
  color: var(--bg-color);
  margin-bottom: 0.5rem;
}
.project-overlay p {
  color: var(--light-grey);
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--primary-text);
  color: var(--bg-color);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h3 {
  color: var(--bg-color);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer-col p, .footer-col a {
  color: #A0AEC0;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--accent-color);
}
.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}
.footer-col ul li {
  margin-bottom: 0.75rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #A0AEC0;
}

/* Forms */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.contact-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #CCC;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: var(--bg-color);
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}
.form-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease-out;
  transform-origin: center;
}
.form-group:focus-within::after {
  transform: scaleX(1);
}

/* Accordion FAQs */
.faq-accordion details {
  background: var(--light-grey);
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}
.faq-accordion summary {
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-accordion summary::-webkit-details-marker {
  display: none;
}
.faq-accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s;
}
.faq-accordion details[open] summary::after {
  transform: rotate(45deg);
}
.faq-accordion p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0; left: 30px;
  height: 100%;
  width: 4px;
  background: var(--light-grey);
}
.timeline-step {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}
.timeline-step:last-child {
  margin-bottom: 0;
}
.step-number {
  position: absolute;
  left: 0; top: 0;
  width: 64px; height: 64px;
  background: var(--accent-color);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-color);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2rem; }
  
  .header-actions .btn-primary, .header-actions .phone-link {
    display: none;
  }
  .hamburger { display: block; }
  .mobile-phone-icon { display: block; margin-right: 1rem; }
  
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    padding: 2rem;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  nav ul li { width: 100%; text-align: center; }
  .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  
  .contact-form { grid-template-columns: 1fr; }
}

/* Testimonial Slider */
.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding-bottom: 2rem;
  scrollbar-width: none; /* Firefox */
}
.testimonial-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.testimonial-item {
  min-width: calc(50% - 1rem);
  scroll-snap-align: start;
  background: var(--light-grey);
  padding: 3rem 2rem;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .testimonial-item { min-width: 100%; }
}
.testimonial-item p {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--primary-text);
  margin-bottom: 1.5rem;
}
.testimonial-item .client-name {
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--accent-color);
}
