:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img,
button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand .logo {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 0.75rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #040508;
}

.hero-section {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #d4f1d4 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.eyebrow {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #c8e6c9;
  color: #1e5e20;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 3vw, 4rem);
  margin: 0;
  line-height: 1.05;
}

.hero-copy p {
  margin: 1.25rem auto;
  max-width: 58ch;
  color: #4b5563;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Ensure headings and FAQ content are centered site-wide where appropriate */
.hero-copy,
.section-heading {
  text-align: center;
}

/* FAQ list: stacked vertical cards */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}
.faq-card {
  width: min(760px, 100%);
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 860px) {
  .faq-grid {
    padding: 0 1rem;
  }
  .faq-card {
    width: 100%;
  }
}

.btn-primary {
  background: #2d9d5c;
  color: #ffffff;
}

.btn-secondary {
  background: #c8e6c9;
  color: #1e5e20;
}

.hero-image {
  display: grid;
  place-items: center;
}

.hero-card {
  width: 100%;
  min-height: 320px;
  padding: 2rem;
  border-radius: 2rem;
  background: radial-gradient(circle at top left, rgba(45, 157, 92, 0.15), transparent 48%),
    #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.section {
  padding: 4rem 0;
}

.drives-section {
  background: linear-gradient(rgba(245, 252, 244, 0.82), rgba(245, 252, 244, 0.82)), url('images/IMG_4026.jpg') center/cover no-repeat;
}

.drives-section .container {
  position: relative;
  z-index: 1;
}


.section-heading span {
  display: block;
  color: #2d9d5c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.75rem);
  line-height: 1.1;
}

.cards-grid,
.projects-grid,
.steps-grid,
.contact-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.services-container {
  display: flex;
  align-items: center;
  position: relative;
}

.services-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 0 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-cards::-webkit-scrollbar {
  display: none;
}

.services-cards .card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.services-cards .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem 1rem 1rem 1rem;
  margin-bottom: 1rem;
}

/* Modal for expanded card */
.card-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 60;
}
.card-modal.open {
  display: flex;
}
.card-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(3px);
}
.card-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  width: min(900px, calc(100% - 4rem));
  max-height: 90vh;
  overflow: auto;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(2,6,23,0.35);
  transform-origin: center;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}
.card-modal.open .card-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.card-modal-content .modal-inner .card {
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.card-modal-content .modal-inner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(2,6,23,0.12);
}

@media (max-width: 640px) {
  .card-modal-content { padding: 1rem; width: calc(100% - 2rem); }
  .card-modal-content .modal-inner img { height: 200px; }
}

.scroll-btn {
  background: #2d9d5c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  position: sticky;
  z-index: 10;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn.left {
  left: 0;
  display: none !important;
}

.scroll-btn.left.visible {
  display: inline-flex !important;
}

.scroll-btn.right {
  right: 0;
}

.scroll-btn a {
  color: inherit;
  text-decoration: none;
}

.card,
.step-card,
.project-card,
.about-card,
.contact-form,
.contact-copy {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 1.75rem;
}

.card h3,
.step-card h3,
.project-info h3,
.about-card h3 {
  margin-top: 0;
}

.card p,
.step-card p,
.about-card p,
.project-info p,
.contact-copy p {
  color: #4b5563;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px minmax(0, auto);
}

.project-image {
  background-size: cover;
  background-position: bottom center;
}

.project-1 {
  background-image: url('images/IMG_4026.jpg');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.project-2 {
  background-image: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80');
}

.project-3 {
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1200&q=80');
}

.project-4 {
  background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=80');
}

.project-5 {
  background-image: url('https://images.unsplash.com/photo-1519710164239-da123dc03ef4?auto=format&fit=crop&w=1200&q=80');
}

.project-6 {
  background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=80');
}

.project-info {
  padding: 1.5rem;
}

.about-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
}

.about-grid ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.about-grid li {
  color: #475569;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  align-items: start;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  background: #f8fafc;
  color: #111827;
}

.contact-form button {
  border: none;
  cursor: pointer;
  width: 100%;
}

.form-note {
  margin-top: 1rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.site-footer {
  background: #2d9d5c;
  color: #e2e8f0;
  padding: 1.5rem 0;
}

.footer-inner {
  text-align: center;
}

@media (max-width: 840px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 3rem;
  }

  .site-header {
    padding: 0 1rem;
  }
}

/* Contact Form Section */
.contact-form-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f8 100%);
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header span {
  display: block;
  color: #25eb81;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.form-header h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.4vw, 2.75rem);
  line-height: 1.1;
  color: #0f172a;
}

.form-header p {
  color: #4b5563;
  font-size: 1rem;
}

.contact-form-innovative {
  display: grid;
  gap: 1.5rem;
}

.form-group-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #111827;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #111827;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #26ad36;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox input {
  width: auto;
  border-radius: 0.35rem;
  cursor: pointer;
}

.form-checkbox label {
  margin: 0;
  cursor: pointer;
  font-weight: normal;
  color: #4b5563;
}

.btn-large {
  width: 100%;
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.form-note {
  text-align: center;
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  background: #ffffff;
}

/* FAQ list: stacked vertical cards (single column) */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}
.faq-card {
  width: min(760px, 100%);
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.faq-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #0f172a;
}

.faq-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .faq-grid { padding: 0 1rem; }
  .faq-card { width: 100%; }
}

/* Modern Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  grid-auto-rows: 280px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  background: #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-large {
  grid-column: span 2;
}

.portfolio-medium {
  grid-column: span 1;
}

@media (max-width: 840px) {
  .portfolio-large {
    grid-column: span 1;
  }
  
  .portfolio-grid {
    grid-auto-rows: 240px;
  }
}

.portfolio-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.7) 100%);
  transition: background 0.3s ease, opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.portfolio-content {
  color: white;
  width: 100%;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.portfolio-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.portfolio-content p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 1;
  color: rgba(255, 255, 255, 0.94);
}

.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom, rgba(0, 0, 0, 0.18), transparent 45%);
  pointer-events: none;
}

