/* Root Variables */
:root {
  --bg-light: #f4fdfc;
  --text-dark: #212529;
  --accent: #34b7a7;
  --accent-dark: #2aa495;
  --card-bg: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --radius: 50px;
  --transition: all 0.3s ease;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header */
header {
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

header.transparent {
  position: absolute;
  top: 0;
  background: transparent;
}

header.solid {
  position: sticky;
  top: 0;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.logo img {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

header.transparent nav a {
  color: white;
}

nav a.active::after,
nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url('Homepage_Banner.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Button */
.btn {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--accent-dark);
}

/* Page Header */
.page-header {
  padding: 4rem 2rem 2rem;
  text-align: center;
  background: var(--card-bg);
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1rem;
  color: #495057;
}

/* Features Section */
.features {
  background: var(--card-bg);
  padding: 4rem 2rem;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Section Backgrounds */
.featured-services,
.services-list,
.contact-section,
.team-intro,
.about-us,
.testimonials,
.cta-banner {
  background: var(--card-bg);
  padding: 4rem 2rem;
}

/* Grid Layouts */
.grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

/* Cards */
.card,
.about-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.card.visible,
.about-card.visible,
.testimonial.visible,
.cta-banner.visible,
.featured-services.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card h3,
.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card p,
.about-card p,
.about-card ul,
.team-intro p {
  font-size: 0.95rem;
  color: #495057;
}

.about-card ul {
  list-style: none;
  padding-left: 1rem;
  text-align: left;
}

.about-card ul li {
  margin-bottom: 0.5rem;
}

/* Team Intro */
.team-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.team-intro p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Testimonials */
.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial {
  margin-bottom: 2rem;
  font-style: italic;
  transition: var(--transition);
}

.testimonial span {
  display: block;
  margin-top: 0.5rem;
  color: #6c757d;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  background: var(--accent);
  color: white;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(52, 183, 167, 0.2);
}

.contact-form button {
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background: var(--accent-dark);
}

.contact-info h3,
.contact-info p {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: var(--accent-dark);
}

/* Map Container */
.map-container {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  background: var(--accent);
  color: white;
  padding: 2rem;
  text-align: center;
}

/* Responsive Typography */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.card h3,
.about-card h3 {
  background: #34b7a7;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -2rem -2rem 1rem -2rem; /* aligns with card padding */
  font-size: 1.3rem;
}
.card h3,
.about-card h3 {
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}
.team-intro h2 {
  background: #34b7a7;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 1rem;
}
.contact-section h2 {
  background: #34b7a7;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  display: inline-block;
}
.team-intro h2,
.contact-section h2 {
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}
.page-header p {
  color: #495057;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.page-header h1 {
  background: #e0f7f5; /* soft teal tint */
  color: #212529;       /* dark text for contrast */
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  display: inline-block;
  margin-bottom: 1rem;
}
.contact-section {
  padding: 4rem 2rem;
  background: var(--card-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(52, 183, 167, 0.2);
}

.contact-form button {
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--accent-dark);
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-form {
  max-width: 600px;
  width: 100%;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.contact-grid {
  grid-template-columns: 1.5fr 1fr;
}
.contact-grid {
  grid-template-columns: 1fr 1fr;
}
.contact-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  padding: 2rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(52, 183, 167, 0.2);
}

.contact-form button {
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--accent-dark);
}

.contact-info-wrapper h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.contact-info-wrapper p {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: var(--accent-dark);
}

.map-wrapper {
  grid-column: 1 / span 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid-2x2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .map-wrapper {
    grid-column: 1;
  }
}
