body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
  color: #2b2b2b;
  background: linear-gradient(135deg, #f5f6f8 0%, #d9e2ec 100%);
  max-width: 100vw;
}


a {
  color: #1f4e79;
  /* deep blue */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #b8860b;
  /* warm goldenrod */
  outline: none;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #b8860b; /* warm goldenrod */
  letter-spacing: 0.02em;
}


/* Header */
header {
  background-color: #1f2a38;
  /* very dark blue-gray */
  color: #f0e6d2;
  /* soft cream */
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  width: 100vw;
  /* Full viewport width */
  box-sizing: border-box;
  /* Include padding in width */
  overflow-x: hidden;
  /* Prevent horizontal scroll inside header */
}

header h1 {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Nav */
.nav-wrapper {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f0e6d2;
  font-size: 1.8rem;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus {
  color: #b8860b;
  outline: none;
}

.nav-links-container {
  display: flex;
  gap: 2rem;
  max-width: 100vw;
  /* Prevent overflow */
  box-sizing: border-box;
}

.nav-link {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  color: #f0e6d2;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  /* Prevent nav text wrapping */
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background: #b8860b;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.nav-link:hover,
.nav-link:focus {
  color: #b8860b;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 5rem 2rem 4rem;
  background: url('img2.png') no-repeat center center;
  background-size: cover;
  color: #f0e6d2;
  text-align: center;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 12px 30px rgba(31, 42, 56, 0.9);
  overflow-x: hidden;
}


.hero h1 {
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Typing Effect for Hero Heading --- */
@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {

  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: #b8860b;
  }
}

.hero h2.typing-effect {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #b8860b;
  width: 0;
  animation: typing 3s steps(30, end) forwards, blink-caret 0.8s step-end infinite;
}

.hero p {
  font-size: 1.3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  overflow-wrap: break-word;
}

/* --- Fade-in & Slide-up Animation --- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-slide-up {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-name: fadeSlideUp;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

/* --- Glowing Text Shadow on Hover --- */
.glow-hover:hover,
.glow-hover:focus {
  text-shadow:
    0 0 6px #b8860b,
    0 0 12px #b8860b,
    0 0 18px #b8860b;
  transition: text-shadow 0.3s ease;
}

/* Base styles */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow-x: hidden;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #2b2b2b;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: #eaeaea;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  color: #222;
  overflow: hidden;
  padding: 0;
}

/* Header part of the card */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  gap: 1rem; /* optional spacing between icon and heading */
}

.card-header h3 {
  flex: 1;          /* take remaining space */
  margin: 0;        /* remove all margins */
  font-size: 1.2rem;
  font-weight: 600; /* optional */
  text-align: left; /* make sure text is left aligned */
}

.service-icon {
  color: #1f4e79;
  flex-shrink: 0;
  width: 50px; /* fixed width so all icons take same space */
  margin-right: 0; /* remove right margin */
  text-align: center; /* center icon inside fixed width */
  transition: color 0.3s ease;
}

/* Dropdown toggle button */
.toggle-btn {
  background: none;
  border: none;
  color: #1f4e79;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.toggle-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Card content */
.card-content {
  text-align: left;
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.card-content.open {
  max-height: 500px; /* large enough to accommodate any content */
  padding-bottom: 1.5rem;
}

/* Hover/focus styles */
.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  color: #b8860b;
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 12px 24px rgba(184, 134, 11, 0.5);
  transform: translateY(-5px);
  border-color: #b8860b;
}

.product-button {
  align-items: center;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #1f4e79, #365e90);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(31, 78, 121, 0.3);
  margin: 2.5rem auto 0; /* Top margin + Centered horizontally */
}

.product-button:hover,
.product-button:focus {
  align-items: center;
  background: linear-gradient(135deg, #c79d33, #d8a94e);
  box-shadow: 0 12px 24px rgba(148, 127, 74, 0.5);
  transform: translateY(-4px) scale(1.05);
}


/* About Section */
.section {
  padding: 3rem 2rem 4rem;
  max-width: 850px;
  margin: 0 auto 4rem;
  background: #fdf9f1;
  /* very light cream */
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(184, 134, 11, 0.15);
  color: #2b2b2b;
  text-align: center;
  overflow-x: hidden;
}

.section p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 1rem auto 0 auto;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Contact Info */
.contact-info {
  background: #f7f5f0;
  padding: 3rem 2rem 4rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.2);
  text-align: center;
  overflow-x: hidden;
}

.address {
  font-style: normal;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #1f4e79;
  letter-spacing: 0.05em;
}

/* Map */
.map-container iframe {
  border-radius: 15px;
  border: none;
  max-width: 100%;
  height: 350px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 6px rgba(31, 78, 121, 0.3));
  transition: filter 0.3s ease;
}

.map-container iframe:hover {
  filter: drop-shadow(0 0 14px rgba(184, 134, 11, 0.5));
}

/* Contact Section */
.contact-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

#contact-title {
  font-size: 2rem;
  color: #b8860b;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

#contact-title {
  font-size: 2rem;
  color: #b8860b;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #1f4e79;
  font-weight: 600;
  gap: 0.75rem;
}

.contact-item .icon {
  color: #b8860b;
  font-size: 1.25rem;
}


/* Footer */
footer {
  background: url('img2.png')  no-repeat center center;
  background-size: cover;
  color: #f0e6d2;
  text-align: center;
  padding: 1.2rem 2rem;
  font-size: 0.9rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
  width: 100vw;
  box-sizing: border-box;
}

/* Fixed WhatsApp and Call Now Buttons */
.fixed-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 1000;
  max-width: 100vw;
  /* prevent overflow */
  box-sizing: border-box;
}

.fixed-buttons a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #b8860b;
  /* warm gold */
  color: #1f2a38;
  padding: 0.65rem 1.3rem;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(184, 134, 11, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.fixed-buttons a.call-now {
  background: #1f4e79;
  /* deep blue */
  color: #fdf9f1;
  box-shadow: 0 6px 14px rgba(31, 78, 121, 0.5);
}

.fixed-buttons a:hover,
.fixed-buttons a:focus {
  background-color: #17405a;
  box-shadow: 0 8px 20px rgba(23, 64, 90, 0.7);
  outline: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links-container {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 240px;
    background-color: #1f2a38;
    flex-direction: column;
    padding-top: 4rem;
    transition: right 0.35s ease;
    border-left: 2px solid #b8860b;
    z-index: 1000;
    box-shadow: -8px 0 15px rgba(0, 0, 0, 0.6);
    max-width: 100vw;
    /* prevent overflow */
    box-sizing: border-box;
  }

  .nav-links-container.open {
    right: 0;
  }

  .nav-link {
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid #b8860b;
    color: #f0e6d2;
    font-size: 1.15rem;
    white-space: nowrap;
    /* Prevent wrapping */
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover,
  .nav-link:focus {
    color: #b8860b;
  }
}