/* GLOBAL */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
h1, h2, h3, h4 {
  margin-bottom: 0.5em;
  font-weight: 700;
  color: #B22222; /* Brand Red */
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  width: 100%;
  display: flex;
  object-fit:cover;
  border-radius: 6px;
}

/* NAVBAR */
.navbar {
  background: #fff;
  border-bottom: 3px solid #FFD700; /* Gold */
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em 0;
}
.logo {
  max-height: 60px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: #B22222;
  font-weight: 600;
  transition: color 0.3s ease;
}
.nav-links li a:hover {
  color: #FFD700;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
/* Logo in navbar */
.logo-box {
  display: flex;
  object-fit: cover;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 50px;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #B22222; /* brand red */
}

/* Hero section logo */
.hero-logo {
  max-width: 120px;
  margin-bottom: 15px;
}


/* HERO */
.hero {
  background: url("hero-bg.jpg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  background: url("https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(178, 34, 34, 0.7),   /* deep red */
    rgba(218, 165, 32, 0.7)   /* golden accent */
  );
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(178,34,34,0.6); /* Red overlay */
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #FFD700;
}
.hero p {
  font-size: 1.2rem;
  margin: 1em 0;
  margin-bottom: 20px;
  color: #fff;
}
.btn-primary {
  background: #FFD700;
  color: #B22222;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}
.btn-primary:hover {
  background: #B22222;
  color: #fff;
}

/* SERVICES */
.services {
  padding: 4em 0;
  text-align: center;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2em;
}
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card h3 {
  padding: 1em;
  color: #B22222;
}

/* ABOUT */
.about {
  padding: 4em 0;
}
.about-flex {
  display: flex;
  gap: 2em;
  align-items: center;
  flex-wrap: wrap;
}
.about-flex img {
  flex: 1 1 45%;
}
.about-flex div {
  flex: 1 1 45%;
}
.btn-secondary {
  background: #B22222;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}
.btn-secondary:hover {
  background: #FFD700;
  color: #B22222;
}

/* Image wrapper styling (rounded + shadow) */
.image-wrap {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Make inline SVGs responsive and consistent heights */
.image-wrap {
  display: flex;
  object-fit: cover;
  width: 100%;
  height: 220px;        /* services cards */
  vertical-align: middle;
}

/* Slightly taller about image */
.about-image {
  height: 320px;
}

/* Keep existing service-card layout intact */
.service-card h3 {
  padding: 12px 8px;
  color: #B22222;
}


/* WHY US */
.why-us {
  background: #f9f9f9;
  padding: 4em 0;
  text-align: center;
}

/* CONTACT */
/* Form container */
form[name="contact"] {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: Arial, Helvetica, sans-serif;
}

/* Labels */
form[name="contact"] label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
  margin-top: 15px;
}

/* Inputs and textarea */
form[name="contact"] input,
form[name="contact"] textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border 0.3s;
}

form[name="contact"] input:focus,
form[name="contact"] textarea:focus {
  border-color: #0056B3;
  outline: none;
}

/* Button */
form[name="contact"] button {
  margin-top: 20px;
  background-color: #0056B3;
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form[name="contact"] button:hover {
  background-color: #FFD700;
  color: #0056B3;
}

/* Success/Error Message */
#formMessage {
  margin-top: 15px;
  font-size: 16px;
  color: #333333;
  text-align: center;
}


/* FOOTER */
.footer {
  background: #B22222;
  color: #fff;
  padding: 3em 0 1em;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2em;
}
.footer h3, .footer h4 {
  color: #FFD700;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  margin-bottom: 0.5em;
}
.footer ul li a {
  color: #fff;
  transition: color 0.3s;
}
.footer ul li a:hover {
  color: #FFD700;
}
.footer .copyright {
  text-align: center;
  margin-top: 2em;
  font-size: 0.9rem;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    border-left: 3px solid #FFD700;
    box-shadow: -3px 0 6px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  form[name="contact"] {
    padding: 20px;
  }
}
@media (max-width: 576px) {
  #aboutimage {
    display: none;
  }
}

  
