* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;  
  line-height: 1.6;
  background: url('./home\ 2\ bc\ img.jpeg')no-repeat center center / cover fixed;
}

span{
  color:rgb(44, 103, 93);
}

.hamburger{
  display: none;
}

.navBar{
  display:inline-block;
}

.navBar{
  display: flex;
  flex-direction: row;
  gap: 100px;
  /* margin-top: 20px; */
  /* background: linear-gradient(135deg,rgb(45, 105, 95),rgb(37, 87, 75));  */
  background: linear-gradient(135deg,rgb(50, 113, 102),rgb(37, 87, 75)); 
  position: sticky;
  top: 0;
  height: 140px;
  z-index: 9999;
}

.logo{
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: 90px;
  align-items: center;
}

.logo img {
  height: 80px;
  width: 80px;
}

.logo h3{
  color:#ffcc00;
  font-size: 30px;
}

.navLinks{
  display: flex;
  flex-direction: row;
  gap: 80px;
}

.linkLeft{
  display: flex;
  flex-direction: row;
  gap: 40px;

  position: relative;         /* Creates proper stacking context */
  z-index: 1000;              /* Ensures navbar background remains visible */
  /* background-color: rgb(47, 101, 87); */
}

.linkLeft,
.linkLeft ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.linkLeft li {
  position: relative;
}

.linkRight{
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.linkLeft, .linkRight {
  display: flex;
  align-items: center;

  list-style: none;
  padding: 0;
  margin: 0;
}

.linkLeft a{
  text-decoration: none;
  color:white;
  font-weight:bold;
  list-style: none;
}

li.dropdown {
  margin-top: 9px;       /* Shifts the dropdown trigger downward */
}

/* Arrow indicator */
li.dropdown > a {
  position: relative;
  padding-right: 25px;

  display: block;
  padding-bottom: 12px;
}

li.dropdown > a::after {
  content: '▾'; /* Downward arrow */
  position: absolute;
  right: 0px;
  top: 80%;
  transform: translateY(-90%);
  font-size: 1.5rem;
  cursor: pointer;
}

.dropdown-menu li:first-child a {
  /* padding-top: 16px;  */
  /* internal spacing of first submenu item—does not break hover chain */
}

/* Show menu on hover or when open */
li.dropdown:hover .dropdown-menu,
li.dropdown.open .dropdown-menu {
  display: block;
}


/* Dropdown menu styles */
.dropdown-menu {
  display: none;
  position: absolute;
  /* top: 100%;  */
  /* Positions the dropdown below the parent */
  left:0;
  background-color:rgb(2, 51, 40);
  width: 150px;
  margin-top: 0;   /* new css */
  border-bottom-right-radius: 40px;
  z-index: 1100;
  /* height: 50px; */
}

/* Target only anchor tags inside the dropdown submenu */
.linkLeft .dropdown-menu li a {
  display: block;       /* ensures padding works properly */
  padding-bottom: 10px; /* adjust as needed */
  padding-top: 10px;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding:15px;
  color:white;
  border-bottom-right-radius: 40px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.linkRight a {
  text-decoration: none;
  color:white;
  font-weight:bold;
}

.linkLeft a:hover {
  color:#ffcc00; /* Highlight active link */
}

/* Search Input Styling */
.linkRight input[type="search"] {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 40px;
}

/* SignIn Button Styling */
.linkRight button {
  padding: 6px 15px;
  border: none;
  background-color: #ffcc00;
  color:black;
  cursor: pointer;
  font-weight: bold;
  height: 40px;
  width: 130px;
  border-bottom-right-radius: 40px;
}

.linkRight button:hover {
  /* background-color:rgb(2, 49, 39); */
  background-color:rgb(2, 51, 40);
  color: white;
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* Mobile Styles */
@media (max-width: 450px) {
  .hamburger {
    display: block;
    font-size: 40px;
  }

  .navBar{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;

    /* margin-bottom: 100px; */

    position: static;
    background-color:transparent;
  }
  .navBar.active{
    display:flex;
    flex-direction: column;
    gap: 20px;
  }
  .navBar .logo{
    margin-left: 2px;
  }
  .navLinks{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-top: 40px;
  }
  .linkLeft{
    display: flex;
    flex-direction: column;
    gap: 20px;

    display: block;
  }

    li.dropdown {
    position: relative;
  }

  /* 1. Position dropdown flush without margin-gap */
  .dropdown-menu {
    position: absolute;
    top:0%;
    left: 100px;
    margin-top: 10px; /* Remove any spacing that breaks interaction */
  }

  /* 2. Increase the clickable area of the trigger to prevent accidental navigation */
  li.dropdown > a {
    display: block;
    padding-bottom: 0px; /* Boost touch area downward */
  }

  /* 3. Optional: add internal visual spacing (doesn't break hover/tap) */
  .dropdown-menu {
    border-top: 1px solid transparent; /* or a subtle border for visual separation */
  }
  .dropdown-menu li:first-child a {
    padding-top: 15px; /* Adds spacing inside the dropdown, without margin */
  }

  .linkLeft a:hover{
    color: #ffcc00;
  }
  .linkRight{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
  
  .linkLeft, .linkRight {
    flex-direction: column;
    gap: 10px;
  }

  .linkRight input[type="search"] {
    width: 70%;
  }

  .linkRight button:hover {
  background-color:rgb(2, 51, 40);
  color: white;
  }

  .linkRight button {
    width: 27%;
  }

  .logo{
    margin-left: 140px;
  }
}








/*=== section 1 ===*/
/* Hero Section Container */
.hero-section .list{
  color:black;
  font-weight:bold;
  font-size: 20px;
}

.hero-content {
  background: url('./home\ page\ 2\ hero\ img.jpg')no-repeat center center / cover fixed;
  text-align:start;
  color: #fff;
  width:80%;
  margin-left: 150px;
  padding: 40px;   
  margin-top: 70px;      
  /* border-radius: 150px; */
  /* border-radius: 30px; */
  border-bottom-right-radius: 350px;
}

/* Headings */
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  font-weight: bold;
  color:white;
  text-align: center;
  /* font-family: garamond; */
  
}

.hero-content h3 {
  position: relative;
  display: inline-block;
  font-size:2.5rem;
  margin-bottom: 15px;
  color:#ffcc00;
  font-weight: bold;
  /* text-align: center; */

  /* font-family: cursive; */
}

/* Animated underline */
.hero-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ffcc00;

  transform: scaleX(0);
  transform-origin: bottom right;
  animation: underlineAnimation 2s ease-in-out infinite;
}

/* Keyframes */
@keyframes underlineAnimation {
  0% {
    transform: scaleX(0);
    transform-origin: bottom right;
  }
  50% {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  100% {
    transform: scaleX(0);
    transform-origin: bottom right;
  }
}

/* Paragraph */
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height:1.5rem;
  color: white;
  font-weight: 500;
}

/* Apply fade-in to hero-content */
.hero-content {
  animation: fadeIn 1.5s ease forwards; /* duration 1.5s */
}

.hero-content ul li {
  line-height: 1.5rem;
}

.hero-content ul li span{
  color:yellow;
  font-weight: bold;
  font-size: 1rem;

 
}

.list{
  position: relative;
  display: inline-block;
  padding-bottom: 8px;

  /* font-family: cursive; */
}
.hover-underline-bg {
  color: #ffcc00;
}

/* Animated underline */
.list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ffcc00;

  transform: scaleX(0);
  transform-origin: bottom right;
  animation: underlineAnimation 2s ease-in-out infinite;
}

/* Keyframes */
@keyframes underlineAnimation {
  0% {
    transform: scaleX(0);
    transform-origin: bottom right;
  }
  50% {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  100% {
    transform: scaleX(0);
    transform-origin: bottom right;
  }
}

/* Contact Button */
.contact-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color:#ffcc00;
  color:black;
  text-decoration: none;
  font-weight: bold;
  /* border-radius: 8px; */
  border-bottom-right-radius: 200px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-left: 500px;
  margin-top: 50px;
}

.contact-btn:hover {
  background-color:white;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width:450px) {
  .hero-content {
    margin-top:330px;
    margin-left:45px;
    /* width: 90%; */
  }

  .hero-content h1 {
    font-size:2.5rem;
  }

  .hero-content h3 {
    font-size:1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .contact-btn{
    margin-left: 2px;
  }
}








/* section 2 */
.products-section {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color:beige;
  /* background-color:rgb(244, 226, 192); */
  margin-top: 200px;
  padding: 2rem;
  gap: 2rem;
  opacity: 0; /* Start with hidden elements */
  transform: scale(0.9); /* Start with scaled-down elements */
  animation: zoomIn 2s ease-out forwards; /* Apply the zoom-in animation */
}

/* Define the zoom-in animation */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Text and CTA Panel */
.products-section > div:nth-child(1) {
  flex: 1 1 320px;
  max-width: 480px;
}
.products-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  /* font-family: cursive; */
}
.products-section h2 span {
  color: #1abc9c;
}
.products-section p {
  font-size: 1rem;
  color: #282121;
  /* color: black; */
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cta-bar {
  margin-top: 1.5rem;
}
.btn-cta, .btn-cta-secondary {
  display: inline-block;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  /* border-radius: 6px; */
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-cta {
  background: #1abc9c;
  border-bottom-right-radius: 40px;
  color:#343030;
}

.cta-bar:hover .btn-cta{
  background:#ffcc00;
  color: #2c3e50;
  transform: translateY(-2px);
}

.cta-bar:hover .btn-cta-secondary{
  background: #1abc9c;
  color:#343030;
  transform: translateY(-2px);
}

.btn-cta-secondary {
  background:#ffcc00;
  color: #2c3e50;
  border-bottom-right-radius: 40px;
}



/* Cards Container */
.products-section > div:nth-child(2) {
  flex: 2 1 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* Individual Product Card */
.product-card {
  position: relative;
  display: inline-block;
  animation: pulseAnimation 2s infinite ease-in-out;

  flex: 1 1 260px;
  /* background:rgb(234, 204, 150); */
  background:#aaf5e6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 255, 0, 0.3); */
  border-radius: inherit;
  animation: pulseAnimation 3s infinite ease-in-out;
  transform: translate(0%, 0%);
  pointer-events: none; /* Ensures the pseudo-element doesn't interfere with user interactions */
}

@keyframes pulseAnimation {
  0% {
    transform: scale(1) translate(0%, 0%);
  }
  50% {
    transform: scale(1.1) translate(0%, 0%);
  }
  100% {
    transform: scale(1) translate(0%, 0%);
  }
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-top: 50px;
}
.product-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  background-color:rgb(44, 103, 93);
}
.product-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color:white;
  /* font-family: 'Times New Roman', Times, serif; */
}
.product-content p {
  font-size: 0.95rem;
  color:#ffcc00;
  margin-bottom: 0.75rem;
}
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  margin-top: 20[x];
}
.product-features span {
  font-size: 0.85rem;
  color: #34495e;
  background:wheat;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-weight: bold;
}
.product-content .btn-cta {
  align-self: flex-start;
  margin-top: auto;
}

.btn{
  margin-bottom: 30px;
  margin-left: 70px;
}

.btn:hover{
  background-color: #ffcc00;
  color:  #34495e;
}





/* ==============================
   Mobile Responsive (≤ 450px)
   ============================== */
@media (max-width: 450px) {
  .products-section {
    flex-direction: column;   /* stack text + cards */
    padding: 1rem;
    margin-top: 100px;
    gap: 1.5rem;
  }

  /* Text panel */
  .products-section > div:nth-child(1) {
    max-width: 100%;
    text-align: center;
  }

  .products-section h2 {
    font-size: 1.6rem;
  }

  .products-section p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* CTA Bar */
  .products-section .cta-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .products-section .btn-cta,
  .products-section .btn-cta-secondary {
    width: 100%;           /* full width buttons */
    text-align: center;
  }

  /* Cards container */
  /* .products-section > div:nth-child(2) {
    flex-direction: column;
    align-items: center;
  } */

  /* Individual product card */
  .product-card {
    flex: 1 1 100%;         /* full width card */
    max-width: 70%;
  }

  .product-card img {
    height: 300px;          /* smaller images */
    margin-top: 20px;
  }

  .product-content {
    margin-top: 15px;
    padding: 0.75rem;
  }

  .product-content h3 {
    font-size: 1rem;
  }

  .product-content p {
    font-size: 0.85rem;
  }

  .product-features span {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }

  /* Fix extra spacing button */
  .btn {
    margin: 15px auto 20px;
    display: block;
    text-align: center;
  }
}







.landing{
  margin-top: 200px;
  background-color:rgb(44, 103, 93) ;
  /* background-color:#ffcc00; */
}

.landingPage {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* hide extra images outside */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.image-slider {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 20%; /* 4 images × 100% */
  height: 32%;
  animation: slideImages 9s linear infinite;
  margin-top: 230px;
  gap: 30px;
}

.image-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slideImages {
  0%   { transform: translateX(0); }        /* center */
  25%  { transform: translateX(-100%); }    /* move fully left */
  50%  { transform: translateX(0); }        /* back to center */
  75%  { transform: translateX(100%); }     /* move fully right */
  100% { transform: translateX(0); }        /* back to center */
}




.hero {
  color:#343030;
  background-color:#ffcc00;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  max-width: 700px;
  height: 400px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* width: 800px; */

  /* font-family: cursive; */
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero .btn {
  display: inline-block;
  background-color:rgb(41, 96, 85) ;
  color: white;
  margin-left: -20px;
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom-right-radius: 140px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero .btn:hover {
  background-color:grey;
  transform: translateY(-5px);
}







/* land container */
.landContainer{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
  padding: 2rem;
  /* margin: 50px; */
  overflow: hidden; /* Prevent scrollbars during animation */
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}


.faq, .testimonials {
  opacity: 0; /* Start invisible */
  animation-duration: 1s;
  animation-fill-mode: forwards; /* Keep the end state */
}

/* FAQ slides in from right */
.faq {
  transform: translateX(100%);
  animation-name: slideInRight;
}

/* Testimonials slides in from left */
.testimonials {
  transform: translateX(-100%);
  animation-name: slideInLeft;
}

/* Keyframes for FAQ */
@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Keyframes for Testimonials */
@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}



/* Scroll Triggered Animation */
.faq, .testimonials {
  transition: transform 1s ease, opacity 1s ease;
}

.faq.visible, .testimonials.visible {
  transform: translateX(0);
  opacity: 1;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-question {
  background:#ffcc00;
  color:#555;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem;
  cursor: pointer;
  margin: 0;
}

.faq-answer {
  background-color:rgb(4, 45, 37) ;
  padding: 1rem;
  font-size: 1rem;
  /* color:#ffcc00; */
  color:white;
  margin: 0;
  display: none;
}

.faq-item[open] .faq-answer {
  display: block;
}



.testimonials {
  /* background-color: #f9f9f9; */
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-right: 5px solid #ffcc00;
  /* border-left: 5px solid #ffcc00; */
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonials h3 {
  font-size: 2rem;
  color:#ffcc00;
  margin-bottom: 1.5rem;
  font-weight: bold;

  /* font-family: cursive; */
}

.testimonial {
  background-color:whitesmoke;
  border-bottom-right-radius: 300px;
  /* border-radius: 8px; */
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial p:first-child {
  font-size: 1.2rem;
  color: #34495e;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial p:last-child {
  font-size: 1rem;
  color:navy;
  font-weight: bold;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}



/* === Media Query for Mobile (≤450px) === */
@media screen and (max-width: 450px) {

  /* Landing Section */
  .landing {
    margin-top: 100px;
  }

  /* Hero Section */
  .landingPage {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .hero {
    max-width: 95%;
    width: 100%;
    height: auto;
    padding: 2rem 1rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero .btn {
    font-size: 1rem;
    padding: 0.6rem 2rem;
    margin-left: 0;
  }

  /* Image Slider */
  .image-slider {
    width: 80%;
    height: 200px;
    margin-top: 150px;
    gap: 15px;
  }

  .image-slider img {
    height: 100%;
  }

  /* Land Container: FAQ + Testimonials */
  .landContainer {
    flex-direction: column;
    padding: 1rem;
    gap: 20px;
  }

  /* FAQ */
  .faq {
    max-width: 100%;
    padding: 1rem;
  }

  .faq-item {
    font-size: 0.9rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .faq-answer {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  /* Testimonials */
  .testimonials {
    max-width: 100%;
    padding: 1rem;
  }

  .testimonials h3 {
    font-size: 1.5rem;
  }

  .testimonial p:first-child {
    font-size: 1rem;
  }

  .testimonial p:last-child {
    font-size: 0.9rem;
  }
}








.content-section{
  margin-top: 200px;
  background: url('./blog\ card\ bc\ img.jpg') no-repeat center center / cover fixed;
}

.img-with-content {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 1000px; /* optional - control image size */
  margin-top: 200px;
}

.img-with-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px; /* stylish rounded corners */
  margin-left: 300px;
}

.img-with-content .content {
  position: absolute;
  top: 50%;   /* vertically center */
  left: 50%;  /* horizontally center */
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
  width: 80%;
  margin-left: 300px;
}

.img-with-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);

  /* font-family: cursive; */
}

.img-with-content h2 span {
  color: #ffd700; /* highlight certain words */
}

.img-with-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
}



/* === Features Grid Section === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 50px auto;
  max-width: 1200px;
  padding: 20px;

  margin-top: 200px;
}

.feature-card {
  background:rgb(62, 99, 63);
  /* background:rgb(40, 42, 41); */
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  margin-bottom: 100px;
}

/* Hover animation */
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background-color:white;
}

.feature-card:hover h3{
  color: black;
}

.feature-card:hover p{
  color:rgb(10, 66, 55);
  font-weight: bold;
}

/* Icon style */
.feature-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

/* Icon bounce on hover */
.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Heading */
.feature-card h3 {
  font-size: 1.4rem;
  color:white; /* real estate green */
  margin-bottom: 10px;
  font-weight: bold;

  /* font-family: monospace; */
}

/* Paragraph */
.feature-card p {
  font-size: 1rem;
  color:#ffcc00;
  line-height: 1.6;
}

/* Optional background hover effect */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(120deg, rgba(37,87,75,0.1), rgba(255,215,0,0.2)); */
  transition: left 0.4s ease;
}

.feature-card:hover::before {
  left: 0;
}


/* === Media Query for Mobile (≤450px) === */
@media screen and (max-width: 450px) {

  /* Content Section */
  .content-section {
    margin-top: 100px;
    background-attachment: scroll; /* fixed backgrounds can cause issues on mobile */
    padding: 1rem;
  }

  /* Image with Content */
  .img-with-content {
    max-width: 100%;
    margin-top: 100px;
  }

  .img-with-content img {
    width: 100%;
    height: auto;
    margin-left: 0; /* remove fixed margin */
    border-radius: 8px;
  }

  .img-with-content .content {
    width: 90%;
    padding: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0; /* remove fixed margin */
  }

  .img-with-content h2 {
    font-size: 1.5rem;
  }

  .img-with-content p {
    font-size: 1rem;
  }

  /* Features Grid Section */
  .features-grid {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 15px;
    padding: 10px;
    margin-top: 100px;
  }

  .feature-card {
    padding: 20px;
    margin-bottom: 50px;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 0.9rem;
  }
}
















/* Footer Base */
.footer {
  color:black;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}

/* Footer container layout */
.footer-container {
  display: flex;
  flex-wrap: wrap; /* Responsive */
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
  background-color: white;
  padding: 30px;
  border-radius: 20px;
}

.footer-container:hover{
  background-color:rgb(43, 93, 81);
}

/* Change text color of all headings inside on hover */
.footer-container:hover h2,
.footer-container:hover h3 {
  color:#ffcc00; /* choose any color you like */
}

/* Footer columns */
.footer-col {
  flex: 1 1 250px; /* Flexible width */
  min-width: 200px;
}

.footer-col h3, 
.footer-col h2 {
  font-size: 20px;
  margin-bottom: 15px;
  /* border-bottom: 2px solid #ff9900; */
  padding-bottom: 5px;
  /* color:rgb(2, 55, 43); */
  color: #147d68;
  position: relative; /* needed for ::after */
  cursor: pointer;
  display: inline-block;

  /* font-family: cursive; */
}

/* Underline animation */
.footer-col h3::after,
.footer-col h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background:#ffcc00;

  animation: underlineAnim 2s infinite; /* runs automatically */
}

/* Keyframes for underline growth */
@keyframes underlineAnim {
  0%   { width: 0; }
  50%  { width: 100%; }
  100% { width: 0; }
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
  color:black;
  font-weight: bold;
}

/* Quick Links */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color:black;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color:white;
}

/* Contact Info */
.footer-col a {
  color:black;
  text-decoration: none;
  font-weight: bold;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Social Media Icons */
.social-links a img {
  width: 40px;
  height: 40px;
  margin: 0 10px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite; /* Pulse animation */
}

/* Extra zoom effect on hover */
.social-links a img:hover {
  transform: scale(1.2);
}

/* Pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.5);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(255, 69, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
  }
}


/* Bottom bar */
.footer-bottom {
  text-align: center;
  padding-top: 15px;
  margin-top: 20px;
  /* border-top: 1px solid #444; */
  font-size: 14px;
  color:black;
}

/* Responsive */
@media (max-width:450px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .social-links {
    margin-top: 10px;
  }
}
