/* ========================================
   VASTU CONSULTANCY - PREMIUM STYLES
   Luxury Spiritual Design System
   ======================================== */

/* CSS Variables */
:root {
  /* Master Color Palette */
  --primary: #f4fdff; /* Master Color: Pastel Green */
  --primary-dark: #50c878; /* Emerald Green: For buttons/links (Better contrast) */
  --primary-light: #b8f0b8; /* Light Green: For backgrounds */

  /* Accent Colors (Gold/Earth for contrast) */
  --gold: #d4a373; /* Earthy Gold: Complements Green beautifully */
  --gold-light: #e6d2b5;
  --gold-dark: #b08040;

  /* Background Colors */
  --cream: #6ece7b; /* Very light green tint background */
  --cream-dark: #e8f0e8; /* Slightly darker background for sections */
  --white: #f4fdff;

  /* Text Colors (Deep Nature Tones) */
  --dark: #1b3a1b; /* Deep Forest Green: Main Heading Color */
  --dark-light: #2f4f2f; /* Medium Forest Green */
  --text-primary: #1b3a1b; /* Primary Text */
  --text-secondary: #000; /* Secondary Text (Dark Olive) */
  --text-muted: #6b8e6b; /* Muted Green/Grey for footers/small text */

  /* Shadows (Green tinted for harmony) */
  --shadow-sm: 0 2px 8px rgba(27, 58, 27, 0.08);
  --shadow-md: 0 4px 20px rgba(27, 58, 27, 0.12);
  --shadow-lg: 0 8px 40px rgba(27, 58, 27, 0.16);
  --shadow-xl: 0 16px 80px rgba(27, 58, 27, 0.2);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #77dd77 0%, #50c878 100%);
  --gradient-gold: linear-gradient(135deg, #d4a373 0%, #e6d2b5 100%);
  --gradient-cream: linear-gradient(135deg, #f5fbf5 0%, #e8f0e8 100%);

  /* Transitions & Fonts */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-heading: "Roboto", serif;
  --font-body: "Roboto", sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 5  00;
  line-height: 1.2;
  color: var(--dark);
}

h2{
  color: #78096b;
}
h1 {
  font-size: clamp(2.5rem, 3vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--text-secondary);
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
  mix-blend-mode: multiply;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor.hover {
  transform: scale(2.5);
  background: rgba(255, 122, 0, 0.1);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-primary);
  z-index: 10000;
  transform-origin: left;
  transition: transform 0.1s ease;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-mandala {
  width: 120px;
  height: 120px;
  border: 3px solid var(--white);
  border-radius: 50%;
  position: relative;
  animation: mandalaRotate 2s linear infinite;
}

.loader-mandala::before,
.loader-mandala::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.loader-mandala::before {
  width: 80px;
  height: 80px;
  animation: mandalaPulse 1.5s ease-in-out infinite;
}

.loader-mandala::after {
  width: 40px;
  height: 40px;
  animation: mandalaPulse 1s ease-in-out infinite reverse;
}

@keyframes mandalaRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes mandalaPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.7;
  }
}

.loader-text {
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  letter-spacing: 3px;
  animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0.5rem 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  /* background: rgba(255, 248, 240, 0.95); */
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
}

.navbar-brand span {
  color: var(--primary);
}

.navbar-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  flex-direction: row;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.logo{
  width: 60px;
  height: 60px;
  object-fit: scale-down;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* background: linear-gradient(135deg, rgba(255, 248, 240, 0.95) 0%, rgba(255, 230, 200, 0.9) 100%); */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
  background-attachment: fixed;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0.5rem 2rem;
}

.hero-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 1.5rem;
  color:  #78096b;
}

.hero-description {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
  border: none;
}

.hero-buttons .btn-outline, .cta-green .btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--cream);
  transform: translateY(-3px);
  border-color: var(--cream);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--dark);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}
.text-primary {
  color: var(--cream) !important;
}

/* Section Styles */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cream);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: center;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: center;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  top: 2.5rem;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Counter */
.counter-box {
  text-align: center;
  padding: 2rem;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 6rem;
  font-family: var(--font-heading);
  color: var(--gold-light);
  opacity: 0.5;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-rating {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  box-shadow: var(--bs-box-shadow-lg) !important;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 43, 26, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-size: 1.25rem;
}

/* Contact Form */
.contact-form {
  background: var(--cream);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 1rem;
  transition: all var(--transition-normal);
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

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

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--primary);
}

.footer-description {
  color: var(--cream-dark);
  margin-bottom: 1rem;
}

.footer-title {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
  display: flex;
}

.footer-links a {
  color: var(--cream-dark);
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--white);
}
.footer-bottom p{
  color: #fff;
  margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
}

.fade-in {
  opacity: 0;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    display: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 4rem 0;
  }

  .card {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }
  .timeline-item:nth-child(even) {
    left: 0;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .counter-box {
    padding: 1rem;
  }
  .magnetic {
    margin-bottom: 10px;
  }
  .section {
    overflow: hidden;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.lightbox-close:hover {
  background: var(--primary);
}

/* Magnetic Button Effect */
.magnetic {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff;
  background-clip: text;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); Subtle shadow */
}
.bg-white .gradient-text {
  background: var(--cream);
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--cream);
  background-clip: text;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); Subtle shadow */
}

/* Section Backgrounds */
.bg-cream {
  background: var(--cream);
}

.bg-white {
  background: var(--white);
}

.bg-gradient {
  background: var(--gradient-cream);
}

/* Icon Rotations */
.icon-rotate {
  transition: transform var(--transition-normal);
}

.card:hover .icon-rotate {
  transform: rotate(15deg);
}

/* Shadow Glow */
.glow-hover {
  transition: box-shadow var(--transition-normal);
}

.glow-hover:hover {
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.3);
}

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.ripple:active::after {
  width: 300px;
  height: 300px;
}

.hamburger {
  font-size: 28px;
  cursor: pointer;
  display: none;
}

/* Mobile Style */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar-nav {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    gap: 20px;
    height: 100vh;
  }

  .navbar-nav.active {
    display: flex;
  }
}

.accordion-button:not(.collapsed), .accordion-button {
  background-color: var(--primary);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
}

.footer-logo{
  width: 120px;
  height: 140px;
  background-color: transparent;
  /* border-radius: 50%; */
  /* object-fit: cover; */
  /* animation: flip 5s infinite alternate-reverse; */
}

@keyframes flip {
  0% {
    transform: perspective(400px) rotateY(0deg);
  }
  100% {
    transform: perspective(400px) rotateY(360deg);
  }
}

.footer-logo:hover {
  animation: flip 2s infinite alternate-reverse;
}