/* ✅ Google Font - Mulish */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700&display=swap');

/* 🎨 Color Variables */
:root {
  --gradient-main: linear-gradient(90deg, #352C91, #B5179E);
  --color-primary: #352C91;
  --color-accent: #5C43C8;
  --color-text: #222;
  --color-muted: #666;
  --color-bg: #e6e6f2;
  --color-border: #e2e2e8;
}

/* ✅ Global Font */
body, p, span, a, li, button, input, select, textarea {
  font-family: 'Mulish', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 🌐 Base Layout */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}



.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


main { flex: 1; }

/* ✅ Gradient Animation */
@keyframes slow-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🧭 Header */
header {
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: slow-gradient-shift 15s ease infinite;
  color: white;
  text-align: center;
  padding: 0.4rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ✅ Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.3px;
  margin: 0 0 1rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.4rem; }
}

/* 🔘 Buttons */
button, .btn, .gradient-btn {
  font-family: 'Mulish', sans-serif;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: slow-gradient-shift 10s ease infinite;
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ✅ Option Buttons (used for selecting BHK, Type, etc.) */
.option-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #352C91;
  border-radius: 8px;
  background: white;
  color: #352C91;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}
.option-btn:hover {
  background: #f3f0ff;
}
.option-btn.active {
  background: linear-gradient(90deg, #352C91, #B5179E);
  color: white;
  border-color: transparent;
}

/* ✅ Show only when Residential is selected */
.residential-only { display: none; }

/* 💬 Inputs */
input, select, textarea {
  font-family: 'Mulish', sans-serif;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.5rem;
  width: 100%;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 4px rgba(92, 67, 200, 0.4);
}

/* 📦 Cards */
.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.2rem;
  margin: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* 🦶 Footer */
footer {
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: slow-gradient-shift 20s ease infinite;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  margin-top: auto;
}

/* 🎯 Section Title */
.section-title {
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  margin: 2rem 0;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* 🌈 HR Line */
.maa99-hr {
  border: none;
  height: 3px;
  width: 80%;
  margin: 2rem auto;
  background: linear-gradient(90deg, #352C91, #5C43C8, #B5179E);
  border-radius: 2px;
}

/* ✅ Splash Screen */
#customSplash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#customSplash.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gradient-loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid transparent;
  background:
    radial-gradient(closest-side, white 75%, transparent 76%),
    conic-gradient(#352C91, #B5179E, #352C91);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), black 0);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ✅ Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.rounded { border-radius: 8px; }
.shadow { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }



 /* Gradient Text */
    .gradient-text {
        background: linear-gradient(90deg, #352C91, #B5179E);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Gradient Icon */
    .gradient-icon {
        background: linear-gradient(90deg, #352C91, #B5179E);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
        transition: all 0.3s ease;
    }

    /* Glow Effect on Hover */
    .group:hover .gradient-icon {
        text-shadow: 0 0 6px rgba(181, 23, 158, 0.6),
                     0 0 10px rgba(53, 44, 145, 0.5);
        transform: scale(1.12);
    }
	
	
	/* ✅ Full-screen preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* You can change to gradient or dark */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* ✅ Logo loader animation */
.loader-logo {
  width: 110px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


#galleryLoader { top:50%; left:50%; transform:translate(-50%,-50%); }

/* ✅ Elegant Brand-Themed Animated Gradient */
.animate-gradient-slide {
    background: linear-gradient(90deg, #352C91, #6A0572, #B5179E, #D946EF, #352C91);
    background-size: 400% 400%;
    animation: gradientMove 6s infinite ease-in-out;
}

/* ✅ Smooth Gradient Movement */
@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ✅ Pink Glow Effect */
.glow-pink {
    box-shadow: 0 0 12px 2px rgba(255, 105, 180, 0.6);
    transition: all 0.3s ease;
}
.glow-pink:hover {
    box-shadow: 0 0 18px 4px rgba(255, 105, 180, 0.9);
    transform: scale(1.03);
}

/* ✅ Always 25% width on mobile also (customizable) */
@media (max-width: 640px) {
    #callBtn {
        width: 25%;
        right: 4%;
        bottom: 4%;
    }
}

/* ✅ Lightbox Icon Style (Uses Existing Maa99 Theme) */
.lightbox-icon {
    background: rgba(255, 255, 255, 0.08); /* Soft transparent white */
    color: violet;
    padding: 10px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #B5179E;      /* Use theme pink/purple */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    backdrop-filter: blur(6px);      /* Glassmorphism */
    -webkit-backdrop-filter: blur(6px);
}

.lightbox-icon:hover {
    transform: scale(1.15);
}

/* ✅ Apply Theme Gradient & Glow ONLY on Hover */
.lightbox-icon:hover {
    background: var(--gradient-main);
    background-size: 200% 200%;
    animation: slow-gradient-shift 6s infinite;
    box-shadow: 0 0 18px rgba(181, 23, 158, 0.9); /* glow-pink style */
    border-color: transparent;
}


.loading-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: 9px;
  margin-right: 9px;
  animation: blink 1s infinite;
}



.loading-dots span:nth-child(1) { background: red; }     /* or #ff0000 */
.loading-dots span:nth-child(2) { background: green; }   /* or #00ff00 */
.loading-dots span:nth-child(3) { background: blue; }    /* or #0000ff */



@keyframes blink {
  0% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0.2; transform: scale(1); }
}


 