:root {
  --primary-color: #2f633a;
  --secondary-color: #012042;
  --light-color: #ffffff;
}

/* General */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.6rem;
}

p {
  font-size: 1rem;
  color: #555;
}
/* Navbar */
.navbar {
  background-color: var(--light-color);
  transition: 0.3s;
}

.navbar.scrolled {
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-link:hover {
  color: var(--secondary-color);
}

.navbar .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  color: white;
  text-align: center;
  padding: 180px 20px;
  overflow: hidden;
}

/* Moving background layer */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  background: url('../images/home.jpeg') center/cover no-repeat;
  z-index: 0;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

/* Dark overlay */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero p,
.hero a {
  opacity: 0;
  transform: translateY(30px);
}

.hero h1 {
  animation: fadeUp 1s forwards;
}

.hero p {
  animation: fadeUp 1s 0.5s forwards;
}

.hero a {
  animation: fadeUp 1s 1s forwards;
}

/* Hero background zoom animation */
@keyframes heroZoom {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-2%, -2%);
  }
}

/* Text fade up animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  color: var(--primary-color);
}

/* Cards */
.card-hover {
  transition: 0.3s;
}

.card-hover:hover {
  transform: translateY(-10px);
}

/* Enhanced Investment Cards */
.investment-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.investment-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Icon Styling with Hover Animation */
.investment-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  transition: transform 0.5s ease, color 0.5s ease;
}

.investment-card:hover .investment-icon {
  transform: rotate(-10deg) scale(1.1);
  color: var(--primary-color);
}

/* Card Title */
.investment-card h5 {
  margin-top: 15px;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.investment-card:hover h5 {
  color: var(--primary-color);
}

/* Card Description */
.investment-card > p {
  color: var(--secondary-color);
  font-weight: 600;
  margin-top: 10px;
  font-size: 1rem;
  text-shadow: none; /* optional subtle shadow for readability */
  transition: color 0.3s ease;
}


/* Overlay (Optional: show more info on hover) */
.investment-card .info-overlay {
  position: absolute;
  inset: 0;
  background: rgba(47, 99, 58, 0.95);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(100%);
  transition: 0.4s ease;
  padding: 20px;
  border-radius: 20px;
}

.investment-card:hover .info-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: floating subtle animation for all cards */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.investment-card {
  animation: floatCard 6s ease-in-out infinite;
}
/* Investments Section Background */
#investments {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1f4d2b, #2f633a); /* deeper rich green */
}

/* Particle/Shimmer Animation */
.particle-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 3px, transparent 3px);
  background-size: 50px 50px;
  animation: moveParticles 20s linear infinite;
  z-index: 0;
}

/* Particle movement */
@keyframes moveParticles {
  from { background-position: 0 0; }
  to { background-position: 100px 100px; }
}

/* Make cards appear above particles */
#investments .container {
  position: relative;
  z-index: 1;
}
/* CTA */
.cta-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../images/cta.png') center/cover no-repeat;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

/* Why Invest Section with Parallax */
.why-invest {
  position: relative;
  background: url('../images/invest.jpeg') center/cover no-repeat fixed;
  background-size: cover;
  color: white;
  padding: 120px 20px;
  text-align: center;
}

.why-invest .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.why-invest .container {
  position: relative;
  z-index: 2;
}
/* make heading easier to read */
.why-invest h2 {
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
}

.footer a {
  color: white;
}

.footer a:hover {
  color: #001629;
}
.footer a:hover i {
  transform: scale(1.2);
  transition: 0.3s;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image hover */
img {
  transition: 0.3s;
}

img:hover {
  transform: scale(1.05);
}
/* Updates / Blog Section */
.update-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.update-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.update-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.update-card .update-content {
  padding: 20px;
  text-align: center;
}

.update-card .update-content h5 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.update-card .update-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.update-card .update-content a {
  font-size: 0.85rem;
  padding: 6px 12px;
}
.projects-slider {
  display: flex;
  gap: 30px; /* space between cards */
  justify-content: center; /* center them in section */
}

.project-card {
  flex: 1 1 0;        /* each card takes equal space */
  min-width: 300px;   /* ensures they don’t shrink too small */
  height: 450px;      /* taller for emphasis */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: background 0.3s ease;
}

.project-card:hover .project-info {
  background: rgba(47, 99, 58, 0.8);
}
#projects {
  background: linear-gradient(135deg, #e6f2e6, #f0fff0); /* soft green gradient */
  padding: 80px 0; /* more space around cards */
  position: relative;
}

.projects-slider {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap; /* for smaller screens */
}

.project-card {
  flex: 1 1 30%;
  min-width: 280px;
  height: 450px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(47, 99, 58, 0.8); /* semi-transparent overlay */
  color: #fff;
  border-radius: 0 0 15px 15px;
  transition: background 0.3s ease;
}
/* Zoom effect for About section carousel slides */
#aboutImageCarousel .carousel-item img {
  transition: transform 8s ease-in-out; /* smooth zoom */
  transform: scale(1); /* start at normal size */
}

#aboutImageCarousel .carousel-item.active img {
  transform: scale(1.1); /* zoom in slightly when active */
}
/* Zoom effect for active carousel slide */
#aboutImageCarousel .carousel-item.active img {
  animation: slideZoom 10s ease-in-out infinite alternate;
}

@keyframes slideZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
/* Particle background */
.particle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  background-color: #d9f0d9; /* light green base */
}

.particle-bg span {
  position: absolute;
  display: block;
  border-radius: 50%;
  animation: particleMove linear infinite;
}

@keyframes particleMove {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-800px) translateX(50px);
    opacity: 0;
  }
}
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* VERY IMPORTANT */
  
  display: block; /* TEMP: force it visible */
  
  background: #2f633a;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  
  cursor: pointer;
}
.section {
  padding: 100px 0;
}
.hero h1,
.hero p,
.updates h2,
.founders h2,
.team h2,
.why-invest h2,
.why-invest p,
.cta-section h2,
.cta-section p {
  color: #fff;
}
.section h2 {
  color: #1e3a2f;
}

.section p {
  color: #555;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  color: #eee;
  margin-top: 15px;
}
.section {
  padding: 100px 0;
}

h2 {
  margin-bottom: 40px;
}
.btn {
  font-weight: 500;
  letter-spacing: 0.5px;
}
.card-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.card-text {
  font-size: 0.95rem;
  color: #666;
}
.multi-images {
  display: flex;
  flex-direction: column;
  /* remove gap since we’ll use negative margins */
}

.multi-images img {
  width: 60%;               /* zig-zag size */
  max-height: 250px;        /* match content height */
  object-fit: cover;        /* crop nicely */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

/* Zig-zag positioning with slight overlap */
.img-top {
  align-self: flex-start;  
  margin-bottom: -20px;     /* negative margin to overlap next image */
}

.img-middle {
  align-self: flex-end;    
  margin-top: -20px;        /* overlap previous image slightly */
  margin-bottom: -20px;     /* overlap next image slightly */
}

.img-bottom {
  align-self: flex-start;  
  margin-top: -20px;        /* overlap previous image slightly */
}

.multi-images img:hover {
  transform: scale(1.05);
  z-index: 2;               /* bring hovered image above others */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .multi-images img {
    width: 100%;
    max-height: none;
    align-self: center;
    margin: 0;              /* remove overlap on mobile */
  }
}
#community {
  position: relative;
  background-color: #f8f9fa; /* light neutral base */
  background-image: url('images/texture.png'); /* your texture image */
  background-repeat: repeat;   /* tiles the texture */
  background-size: auto;       /* keeps the texture its natural size */
  padding: 60px 0;             /* vertical spacing */
  overflow: hidden;            /* ensures nothing spills out */
}

/* Optional: subtle overlay for contrast with text */
#community::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7); /* adjust opacity to soften texture */
  z-index: 0;
}

/* Ensure content and images are above overlay */
#community .container,
#community .multi-images {
  position: relative;
  z-index: 1;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s ease;
  display: block;
}

/* Zoom effect */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.why-choose-bg {
  background: linear-gradient(135deg, #e0f7fa, #ffffff); /* soft gradient */
  padding: 60px 0; /* extra spacing */
}
/* Background for Why Choose Section */
#why-choose {
  background-color: #f0fff0; /* soft light-blue background */
  padding: 60px 0;
}

/* Icons in Why Choose cards */
#why-choose i {
  color: var(--primary-color); /* use your primary brand color */
  transition: transform 0.3s;
}

/* Hover effect on icons */
#why-choose .col-md-4:hover i {
  transform: scale(1.2);
}

/* Card hover effect */
#why-choose .card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

#why-choose .card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* Key Features Section Background */
#key-features {
  background: url('../images/invest.jpeg') center/cover no-repeat;
  position: relative;
  padding: 80px 0;
  color: #fff; /* makes text readable */
}

/* Optional overlay for better readability */
#key-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay */
  z-index: 0;
}

#key-features .container {
  position: relative;
  z-index: 1; /* ensures text and icons sit above overlay */
}

/* Icons color and hover effect */
#key-features i {
  color: var(--primary-color);
  transition: transform 0.3s;
}

#key-features .col-md-3:hover i {
  transform: scale(1.2);
}

/* Card hover effect */
#key-features h5, #key-features p {
  color: #fff;
  transition: color 0.3s;
}
.land-card {
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.land-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.land-card img {
  height: 220px;
  object-fit: cover;
}
.blog-content {
  line-height: 1.8;
  font-size: 16px;
}
.investment-section {
  background: #fff;
  border-left: 5px solid #0d6efd;
  transition: 0.3s;
}

.investment-section:hover {
  transform: translateX(5px);
}
.green-section {
  background-color: #f0fff0; /* your soft green tint */
  padding: 60px 0;
}
/* Master Plan Image Hover */
.masterplan-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.masterplan-img:hover {
  transform: scale(1.02);
}

/* Map styling */
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 90px; /* above scroll button */
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}
/* =========================
   Navbar Dropdown Hover
========================= */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}