

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  /* header height */
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/*
section {
  scroll-margin-top: 80px;  
}
*/
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
}

.logo {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.logo img {
  width: 4rem;
  height: 2.5rem;
  margin-right: 0.5rem;
}

header h2 {
  color: #28523b;
  font-size: 1.25rem;
  font-family: 'Cinzel', serif;
  flex: 1;
}

/* Navigation */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #28523b;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #28523b;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
}

/* Buttons */
.btn-primary {
  background: #c05b17;
  color: #fff;
  margin-left: 2rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-primary:hover {
  background: #a84c13;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background: url(images/home1.png) no-repeat center/cover;
  padding: 4rem 2rem; /* add spacing instead of fixed height */
  gap: 2rem;
  min-height: auto; /* or remove this line entirely */
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #2b5234;
  font-family: 'Cinzel', serif;
  ;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}


.container {
  max-width: 1100px;
  margin: 50px auto;
  position: relative;
}

/* LEFT SECTION */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical */
  align-items: center;     /* horizontal */
  max-width: 500px;
  margin: 0 auto;
}


/* RIGHT SECTION (Slider) */
.hero-right {
  flex: 1;
  max-width: 700px;
}

.hero-left video {
  margin: 0;
  padding: 0;
  max-height: 12rem;
}

/* SLIDER BASE */
.slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  padding: 1rem;
}

.slides {
  position: relative;
  width: 100%;
  height: 600px;
}

.slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide-text {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #245822;
  text-align: center;
}
.project-slide {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #3e2b1c; /* elegant brown tone */
  transition: all 0.3s ease;
}

.project-slide img {
  max-width:100%;
  max-height: 600px;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.project-slide:hover img {
  transform: scale(1.03);
}

.slide-text {
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2b2b2b;
  font-weight: 500;
}

.slide-text strong {
  color: #8b5e3c; /* golden-brown highlight */
  font-weight: 600;
}

.project-slide:hover .slide-text strong {
  text-decoration: underline;
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* About */
.about {
  max-width: 65rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  background: #fff;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #28523b;
  text-align: center;
  padding-top: 2rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.about-content img {
  width: 10rem;
  margin: 0 auto;
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

/* Why Choose Us */
.choose {
  text-align: center;
  padding: 3rem 1rem;
  background: #f9f9f9;
}

.choose h2 {
  font-size: 2rem;
  color: #28523b;
  margin-bottom: 2rem;
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  max-width: 65rem;
  margin: 0 auto;
}

.about-list li {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1 1 250px;
  max-width: 320px;
}

.about-list li:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.about-list img {
  height: 2.5rem;
  margin-right: 0.5rem;
  object-fit: cover;
}

/* Projects */
.projects-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
}

.projects-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #28523b;
  text-align: center;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  flex: 1 1 280px;
  max-width: 380px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 15px;
}

.project-info h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #222;
}

.project-info p {
  margin: 0;
  color: #353535;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination button {
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  background: #c05b17;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.pagination button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
  background: #a84c13;
}

/* Contact Section */
.contact-section {
  padding: 60px 10%;
  background: #f9f9f9;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #c05b17;
  font-weight: 600;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

/* Contact Form */
.contact-section form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-section input,
.contact-section select,
.contact-section textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s ease;
}

.contact-section input:focus,
.contact-section select:focus,
.contact-section textarea:focus {
  background: #c05b17;
}

/* Textarea */
.contact-section textarea {
  resize: none;
  min-height: 120px;
}

/* Submit Button */
.contact-button {
  background: #c05b17;
  color: #fff;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
  /* <-- button auto-width */
  align-self: center;
  /* center under form */
}

.submit-btn:hover {
  background: #c05b17;

}

/* Contact Info */
.contact-info {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #222;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
}

.contact-info i {
  margin-right: 8px;
  color: #c05b17;
}


/* Footer */
.footer {
  background: #0e121a;
  color: #ddd;
  padding: 60px 20px 20px;
  font-family: Arial, sans-serif;
  align-items: center;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: auto;

}

.footer-logo {
  width: 70px;
  margin-bottom: 15px;
}

.footer-about p {
  margin: 10px 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
}

.social-icons a {
  display: inline-block;
  margin: 0 8px 0 0;
  background: #1c1f27;
  color: #fff;
  padding: 10px;
  border-radius: 40%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #ffffff;
}

.footer-links h3,
.footer-projects h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #fff;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 14px;
  color: #bbb;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 13px;
  color: #999;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* Inputs */
form input,
form select,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* Submit Button */
.submit-btn {
  background: #334428;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  width: 100%;
}

.submit-btn:hover {
  background: #24321b;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}



.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-icon {
  width: 55px;
  height: 55px;
  cursor: pointer;
}

.whatsapp-popup {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  width: 10rem;
}

.whatsapp-popup a {
  display: block;
  margin: 5px 0;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.whatsapp-popup.show {
  display: block;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .btn-primary {
    order: 3;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  header{
      justify-content: space-between;
  }
  .contact-container {
    flex-direction: column;
    gap: 25px;
  }

  .submit-btn {
    width: 100%;
    /* full width button on mobile */
    align-self: stretch;
  }

  header h2 {
    font-size: 0.9rem;
  }

  @media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-right {
    max-width: 100%;
    width: 100%;
  }

  /* Slider responsive height */
  .slides {
    height: auto; /* remove fixed height */
  }

  .slider img {
    height: auto; /* maintain aspect ratio */
    max-height: 300px; /* optional cap */
  }

  .slide {
    position: relative; /* so stacking works naturally */
  }
}

}

@media (max-width:480px) {
  header {
    justify-content: space-between;
  }

  .logo img {
    width: 2.5rem;
    height: 2rem;
  }

  header h2 {
    font-size: 0.75rem;
  }
  .hero{
    padding: 0;
    margin: 0;
  }
  .hero-left video{
    margin: 0;
    padding: 0;
  }
  .hero-content {
    width: 100%;
  }

  .hero h1 {
    padding: 0;
    margin: 0;
    font-size: 1.25rem;
  }

  .hero p {
    font-size: 0.85rem;
    font-weight: bold;
  }

  .btn-primary {
    font-size: 0.75rem;
    padding: 0.3rem 0.4rem;
  }
  .hero-left video {
      margin: 0;
      padding: 0;
      max-height: 8rem;
  }
  
}