/* Base Styles - Vibrant Green Theme */
:root {
  --primary-color: #4CAF50;       /* Vibrant green */
  --secondary-color: #66BB6A;     /* Soft green */
  --accent-color: #9CCC65;        /* Lime green */
  --dark-color: #2E7D32;          /* Dark green */
  --light-color: #E8F5E9;         /* Light mint */
  --text-color: #333;             /* Dark gray */
  --text-light: #fff;             /* White */
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #f9f9f9;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
}

.section {
  position: relative;
}

.bg-light {
  background-color: var(--light-color);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark-color);
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--dark-color);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn:hover {
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(46, 125, 50, 0.4);
}

.btn:active {
  transform: translateY(1px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

.logo {
  padding: 15px 0;
  transition: var(--transition);
}

.logo h1 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
  font-weight: 700;
}

.logo p {
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

nav {
  display: flex;
  align-items: center;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 9999;
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  transform: rotate(90deg);
}

#primary-navigation {
  display: flex;
  list-style: none;
  margin-left: auto;
}

#primary-navigation li {
  margin-left: 30px;
}

#primary-navigation a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  font-size: 0.95rem;
}

#primary-navigation a.active,
#primary-navigation a:hover {
  color: var(--primary-color);
}

#primary-navigation a.active::after,
#primary-navigation a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Hero Section - Modern Carousel */
.hero {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.1);
  transition: all 1s cubic-bezier(0.39, 0.58, 0.57, 1);
  z-index: 1;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background-color: rgba(76, 175, 80, 0.9);
  padding: 20px;
  border-radius: 10px;
  color: var(--text-light);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
  text-align: center;
  margin: 0 auto;
}

.carousel-item.active .carousel-caption {
  transform: translateY(0);
  opacity: 1;
}

.carousel-caption h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-light);
  text-align: center;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.9);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--primary-color);
  border: none;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.carousel-control:hover {
  background-color: var(--text-light);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 15px;
}

.carousel-control.next {
  right: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.active {
  background-color: var(--text-light);
  transform: scale(1.3);
}

/* Marquee Styles */
.marquee-container {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--text-light);
  padding: 15px 0;
  overflow: hidden;
  position: relative;
}

.marquee {
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  display: inline-block;
  padding-left: 100%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Properties Section */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.property-card {
  background-color: var(--text-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(50px) rotateX(10deg);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  perspective: 1000px;
}

.property-card.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.property-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.property-card:hover img {
  transform: scale(1.05);
}

.property-info {
  padding: 25px;
}

.property-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.property-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
}

.property-info .btn {
  margin-top: 20px;
  width: 100%;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--text-light);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(50px) rotateX(10deg);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover h3,
.service-card:hover p {
  color: var(--text-light);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover .service-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.7;
}

.service-card:hover p {
  color: rgba(255,255,255,0.9);
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  flex: 1;
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.contact-info p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.contact-info i {
  width: 30px;
  height: 30px;
  background-color: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links {
  margin-top: 30px;
}

.social-links h3 {
  margin-bottom: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  transform: translateY(-5px) scale(1.1);
}

.contact-form {
  flex: 1;
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.map-container {
  margin-top: 50px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
  color: var(--text-light);
  padding: 60px 0 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.3rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: block;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--text-light);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-light);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: var(--transition);
  transform: scale(1);
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn:active {
  transform: scale(0.95);
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.call {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
}

.tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--text-color);
  color: var(--text-light);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--text-color);
}

.floating-btn:hover .tooltip {
  opacity: 1;
  right: 80px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 
  40% {transform: translateY(-15px);} 
  60% {transform: translateY(-7px);} 
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .carousel {
    height: 65vh;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .carousel {
    height: 60vh;
  }
  
  .carousel-caption {
    padding: 15px;
    bottom: 15px;
  }
  
  .carousel-caption h2 {
    font-size: 1.6rem;
  }
  
  section {
    padding: 70px 0;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  
  #primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--text-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  #primary-navigation[data-visible="true"] {
    transform: translateX(0);
  }
  
  #primary-navigation li {
    margin: 15px 0;
  }
  
  .carousel {
    height: 50vh;
    min-height: 350px;
  }
  
  .carousel-caption {
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 15px;
  }
  
  .carousel-caption h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  
  .properties-grid,
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 576px) {
  .carousel {
    height: 45vh;
    min-height: 300px;
  }
  
  .carousel-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px;
  }
  
  .carousel-caption h2 {
    font-size: 1.2rem;
  }
  
  .carousel-caption p {
    font-size: 0.8rem;
  }
  
  .carousel-indicators {
    bottom: 10px;
  }
  
  .carousel-indicator {
    width: 8px;
    height: 8px;
  }
  
  .floating-buttons {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .tooltip {
    display: none;
  }
  
  .properties-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .about-image {
    transform: perspective(1000px) rotateY(0deg);
  }
}

@media (max-width: 400px) {
  .carousel {
    height: 40vh;
    min-height: 250px;
  }
  
  .carousel-caption h2 {
    font-size: 1.1rem;
  }
  
  .logo h1 {
    font-size: 1.3rem;
  }
  
  .logo p {
    font-size: 0.8rem;
  }
}
.footer-bottom {
  text-align: center;
  padding: 15px 0;
}

.developed-by {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; /* middle lo vachhedaniki */
  justify-content: center;
  gap: 8px;
}

.developed-by img {
  width: 60px;   /* mee photo/logo size */
  height: 60px;
  border-radius: 50%; /* circle lo photo kavali ante */
  object-fit: cover;
}

