/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #5A3A31;
  /* Dark Brown from PDF text */
  --secondary-color: #8B4513;
  /* SaddleBrown */
  --accent-color: #D35400;
  /* Burnt Orange for highlights */
  --bg-color: #FFF5EE;
  /* Seashell - Warm background */
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Mukta', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header & Nav */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Space between logo and text */
}

.logo img {
  height: 60px;
  /* Adjust size as needed */
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 1.6rem;
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.1;
}

.logo span {
  font-size: 0.8rem;
  color: var(--accent-color);
  display: block;
  font-weight: 500;
}

.emergency-btn {
  background-color: #dc3545;
  /* Red color for emergency */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: pulse 2s infinite;
  margin-left: 15px;
  /* Spacing from menu */
}

.emergency-btn:hover {
  background-color: #c82333;
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--primary-color);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #A04000;
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 4rem 5%;
  /* max-width removed to allow full-width backgrounds */
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  font-size: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Hero Section (Full Width Banner) */
/* Hero Section (Full Width Banner) */
.hero {
  background: linear-gradient(rgba(90, 58, 49, 0.7), rgba(90, 58, 49, 0.7)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
  color: var(--white);
  padding: 8rem 5%;
  /* Increased padding for bigger banner feel */
  text-align: center;
  min-height: 80vh;
  /* Taller banner */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card ul {
  text-align: left;
  list-style: disc;
  padding-left: 1.5rem;
}

.card li {
  margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 1rem;
  margin-top: 0.2rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 5% 1rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #FAD7A0;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .hero h2 {
    font-size: 2rem;
  }
}