/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2d5f4f;
  --secondary-color: #5a9fb0;
  --text-color: #1a3329;
  --text-light: #5a7266;
  --bg-color: #ffffff;
  --bg-muted: #f5f8f7;
  --border-color: #d9e5e0;
  --white: #ffffff;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-sans);
  margin: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 auto; 
}

.nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s ease;
}

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

.phone-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.phone-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.phone-link span {
  position: static;
  transform: none;
  padding: 0;
  background: none;
  opacity: 1;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--secondary-color);
}
/* Hover-animation */

.phone-link:hover svg {
  transform: translateX(-2px) scale(1.05);
  color: var(--secondary-color);
}

/* Animated hamburger (mobile only by default) */
.hamburger {
  cursor: pointer;
  display: none; /* shown on mobile in media query */
}

.hamburger input {
  display: none;
}

.hamburger svg {
  height: 2.4rem;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: var(--primary-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transition:
    stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

/* mobile menu container */
.mobile-menu {
  display: none;
  padding: 0.75rem 0 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
}

.mobile-nav a:hover {
  color: var(--primary-color);
  line-height: 1.2;
}

.phone-link span {
  font-family: monospace;
  font-size: 0.95rem;
  min-width: 140px;
  text-align: left;
}

.mobile-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text-color);
}

.mobile-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.mobile-contact span {
  font-size: 0.9rem;
  font-weight: 500;
}


/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(45, 95, 79, 0.9), rgba(45, 95, 79, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background-color: var(--bg-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-details {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 100%;
  margin-top: auto;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
 background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background-color: var(--white);
  margin: 3% auto;
  border-radius: 1rem;
  max-width: 900px;
  width: 92%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.05);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--primary-color);
  background: rgba(45, 95, 79, 0.1);
  transform: rotate(90deg);
}

.modal-header {
  background: linear-gradient(135deg, rgba(45, 95, 79, 0.05), rgba(90, 159, 176, 0.05));
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(45, 95, 79, 0.2);
}

.modal-icon svg {
  color: var(--white);
  width: 32px;
  height: 32px;
}

.modal-header h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.modal-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 200px);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--bg-muted);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

.modal-body p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.modal-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.modal-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.modal-list li:hover {
  color: var(--primary-color);
  padding-left: 2.25rem;
}

.modal-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  background: rgba(45, 95, 79, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.modal-list-single {
  max-width: 700px;
  margin: 1.5rem auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hours Section */
.hours {
  padding: 6rem 0;
}

.hours-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hours-header {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(45, 95, 79, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-circle svg {
  color: var(--primary-color);
}

.hours-header h2 {
  font-size: 2rem;
  margin: 0;
}

.hours-content {
  padding: 0 1.5rem 2rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hours-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 500;
  color: var(--text-color);
}

.time {
  color: var(--text-light);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--bg-muted);
}

/* Contact Form */
.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto 4rem;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--text-color);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 95, 79, 0.1);
}

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

.btn-primary {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Map Container */
.map-section {
  width: 100vw;
  margin-left: calc(50% - 50vw); /*This is to make our map covering whole width*/
}

.map-container {
  width: 100%;
  margin: 0 0 3rem;
  border-radius: 0;
  overflow: hidden;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* Contact Information Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  font-size: 1.125rem;
  margin: 1rem 0;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-card a {
  color: var(--primary-color);
}

.contact-card a:hover {
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--bg-muted);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

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

.footer-logo h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.footer-logo p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-info {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-info p {
  margin: 0.25rem 0;
}

.footer-copyright {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-copyright p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .phone-link span {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 400px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}
  
.about-section {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-img img {
  width: 550px;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-text h1 {
  font-size: 2.75rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.about-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 100%;
  }
}
.about-hero {
  width: 100%;
  background-color: var(--bg-muted);
  padding: 4rem 0;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;
}

.about-left h1 {
  font-size: 2.8rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-left p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-right img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 5px 18px rgba(0,0,0,0.12);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-right img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    margin: 5% auto;
    width: 96%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
    max-height: calc(95vh - 180px);
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-icon {
    width: 56px;
    height: 56px;
  }
  .nav {
    display: none;
  }

  .phone-group {
        display: none;

  }

  /* .phone-link {
    justify-content: flex-start;
  }

  .phone-link span {
    position: static;
    opacity: 1;
    transform: none;
    padding: 0;
    margin-left: 0.35rem;
    background: none;
    pointer-events: auto;
    display: inline;
  } */
  /* .phone-link {
    justify-content: flex-start;
  }

  .phone-link span {
    position: static;
    opacity: 1;
    transform: none;
    padding: 0;
    margin-left: 0.35rem;
    background: none;
    pointer-events: auto;
    display: inline;
  } */
  
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

   .header-content {
    justify-content: space-between;
    gap: 1rem;
  }
}


