/* ============================================
   NandiGroups - Ultra Premium Real Estate
   Powered by NandiGroups
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --charcoal: #2a2a2a;
  --gold: #c9a84c;
  --gold-light: #d4b95e;
  --gold-dark: #b8943f;
  --white: #ffffff;
  --white-soft: #f5f5f5;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.08);
  --gold-gradient: linear-gradient(135deg, #c9a84c, #e8d48b, #c9a84c);
  --dark-gradient: linear-gradient(180deg, #0a0a0a, #1a1a1a);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.5);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior:smooth; overflow-x:hidden; }

body {
  font-family:'Poppins',sans-serif;
  background:var(--black);
  color:var(--white);
  overflow-x:hidden;
  line-height:1.7;
}

h1,h2,h3,h4,h5,h6 { font-family:'Playfair Display',serif; font-weight:700; line-height:1.2; }
.font-montserrat { font-family:'Montserrat',sans-serif; }

a { text-decoration:none; color:var(--gold); transition:var(--transition); }
a:hover { color:var(--gold-light); }

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

::selection { background:var(--gold); color:var(--black); }
::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track { background:var(--dark); }
::-webkit-scrollbar-thumb { background:var(--gold); border-radius:4px; }

/* ---- PRELOADER ---- */
.preloader {
  position:fixed; inset:0; background:var(--black);
  display:flex; align-items:center; justify-content:center;
  z-index:99999; transition:opacity 0.6s, visibility 0.6s;
}
.preloader.loaded { opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner { text-align:center; }
.preloader-logo { font-family:'Playfair Display',serif; font-size:2.5rem; color:var(--gold); animation:pulse 1.5s infinite; }
.preloader-bar { width:200px; height:2px; background:var(--dark3); margin:20px auto 0; border-radius:2px; overflow:hidden; }
.preloader-bar::after { content:''; display:block; width:40%; height:100%; background:var(--gold-gradient); animation:loading 1.2s infinite; }

@keyframes loading { 0%{transform:translateX(-100%)} 100%{transform:translateX(350%)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
@keyframes glow { 0%,100%{box-shadow:0 0 20px rgba(201,168,76,0.3)} 50%{box-shadow:0 0 40px rgba(201,168,76,0.6)} }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes rotate { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

/* ---- CURSOR ---- */
.cursor { position:fixed; width:12px; height:12px; background:var(--gold); border-radius:50%; pointer-events:none; z-index:99998; transition:transform 0.15s; mix-blend-mode:difference; }
.cursor-follower { position:fixed; width:40px; height:40px; border:1px solid var(--gold); border-radius:50%; pointer-events:none; z-index:99997; transition:transform 0.3s, width 0.3s, height 0.3s; }

/* ---- SCROLL PROGRESS ---- */
.scroll-progress { position:fixed; top:0; left:0; height:3px; background:var(--gold-gradient); z-index:9999; transition:width 0.1s; }

/* ---- NAVBAR ---- */
.navbar-premium {
  position:fixed; top:0; left:0; width:100%; z-index:9990;
  padding:20px 0; transition:var(--transition);
  background:transparent;
}
.navbar-premium.scrolled {
  background:rgba(10,10,10,0.95); backdrop-filter:blur(20px);
  padding:12px 0; box-shadow:0 2px 30px rgba(0,0,0,0.5);
}
.navbar-brand-premium { font-family:'Playfair Display',serif; font-size:1.8rem; color:var(--gold)!important; font-weight:700; letter-spacing:1px; }
.navbar-brand-premium span { color:var(--white); }
.nav-link-premium { color:var(--white)!important; font-family:'Poppins',sans-serif; font-size:0.9rem; font-weight:400; letter-spacing:1px; text-transform:uppercase; padding:8px 18px!important; position:relative; transition:var(--transition); }
.nav-link-premium::after { content:''; position:absolute; bottom:0; left:50%; width:0; height:2px; background:var(--gold); transition:var(--transition); transform:translateX(-50%); }
.nav-link-premium:hover,.nav-link-premium.active { color:var(--gold)!important; }
.nav-link-premium:hover::after,.nav-link-premium.active::after { width:60%; }
.navbar-toggler-premium { border:1px solid var(--gold); padding:6px 10px; }
.navbar-toggler-premium .fa-bars { color:var(--gold); font-size:1.2rem; }
.nav-cta { background:var(--gold-gradient)!important; color:var(--black)!important; border-radius:30px; padding:10px 28px!important; font-weight:600!important; }
.nav-cta::after { display:none; }
.nav-cta:hover { transform:scale(1.05); box-shadow:var(--shadow-gold); }

/* ---- HERO ---- */
.hero-section {
  position:relative; height:100vh; min-height:700px;
  display:flex; align-items:center; overflow:hidden;
}
.hero-bg { position:absolute; inset:0; }
.hero-bg img,.hero-bg video { width:100%; height:100%; object-fit:cover; }
.hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
}
.hero-content { position:relative; z-index:2; }
.hero-subtitle { font-family:'Montserrat',sans-serif; color:var(--gold); font-size:0.95rem; letter-spacing:4px; text-transform:uppercase; margin-bottom:20px; }
.hero-title { font-size:4rem; font-weight:800; line-height:1.1; margin-bottom:24px; }
.hero-title span { background:var(--gold-gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-desc { font-size:1.1rem; color:var(--gray-light); max-width:550px; margin-bottom:36px; }

/* ---- BUTTONS ---- */
.btn-gold {
  background:var(--gold-gradient); color:var(--black); border:none;
  padding:14px 40px; border-radius:50px; font-family:'Poppins',sans-serif;
  font-weight:600; font-size:0.95rem; letter-spacing:1px;
  transition:var(--transition); position:relative; overflow:hidden;
}
.btn-gold:hover { transform:translateY(-3px); box-shadow:var(--shadow-gold); color:var(--black); }
.btn-outline-gold {
  background:transparent; color:var(--gold); border:2px solid var(--gold);
  padding:12px 38px; border-radius:50px; font-family:'Poppins',sans-serif;
  font-weight:600; font-size:0.95rem; letter-spacing:1px; transition:var(--transition);
}
.btn-outline-gold:hover { background:var(--gold); color:var(--black); transform:translateY(-3px); }

/* ---- SEARCH BOX ---- */
.hero-search {
  background:var(--glass-bg); backdrop-filter:blur(20px);
  border:1px solid var(--glass-border); border-radius:var(--radius);
  padding:24px 28px; margin-top:40px;
}
.hero-search .form-control,.hero-search .form-select {
  background:rgba(255,255,255,0.06); border:1px solid var(--glass-border);
  color:var(--white); padding:14px 18px; border-radius:var(--radius-sm);
  font-family:'Poppins',sans-serif; font-size:0.9rem;
}
.hero-search .form-control::placeholder { color:var(--gray); }
.hero-search .form-select option { background:var(--dark); color:var(--white); }

/* ---- SECTION STYLES ---- */
.section-padding { padding:100px 0; }
.section-dark { background:var(--dark); }
.section-darker { background:var(--black); }
.section-title-wrapper { text-align:center; margin-bottom:60px; }
.section-label { font-family:'Montserrat',sans-serif; color:var(--gold); font-size:0.85rem; letter-spacing:4px; text-transform:uppercase; margin-bottom:12px; display:block; }
.section-title { font-size:2.8rem; font-weight:700; margin-bottom:16px; }
.section-title span { color:var(--gold); }
.section-desc { color:var(--gray-light); max-width:600px; margin:0 auto; font-size:1rem; }
.gold-line { width:60px; height:3px; background:var(--gold-gradient); margin:0 auto 20px; border-radius:2px; }

/* ---- GLASS CARD ---- */
.glass-card {
  background:var(--glass-bg); backdrop-filter:blur(16px);
  border:1px solid var(--glass-border); border-radius:var(--radius);
  overflow:hidden; transition:var(--transition);
}
.glass-card:hover { transform:translateY(-8px); border-color:rgba(201,168,76,0.3); box-shadow:var(--shadow-gold); }

/* ---- PROPERTY CARD ---- */
.property-card { position:relative; border-radius:var(--radius); overflow:hidden; }
.property-card .card-img-wrapper { position:relative; overflow:hidden; height:260px; }
.property-card .card-img-wrapper img { width:100%; height:100%; object-fit:cover; transition:transform 0.6s; }
.property-card:hover .card-img-wrapper img { transform:scale(1.1); }
.property-badge { position:absolute; top:16px; left:16px; background:var(--gold); color:var(--black); padding:5px 14px; border-radius:20px; font-size:0.75rem; font-weight:600; z-index:2; }
.property-fav { position:absolute; top:16px; right:16px; width:36px; height:36px; background:rgba(0,0,0,0.5); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--white); cursor:pointer; transition:var(--transition); z-index:2; }
.property-fav:hover { background:var(--gold); color:var(--black); }
.property-card .card-body { padding:24px; }
.property-price { font-family:'Playfair Display',serif; font-size:1.5rem; color:var(--gold); font-weight:700; }
.property-title { font-size:1.15rem; font-weight:600; margin:8px 0; }
.property-location { color:var(--gray); font-size:0.85rem; }
.property-location i { color:var(--gold); margin-right:6px; }
.property-features { display:flex; gap:16px; padding-top:16px; margin-top:16px; border-top:1px solid var(--glass-border); }
.property-features span { color:var(--gray-light); font-size:0.85rem; display:flex; align-items:center; gap:6px; }
.property-features i { color:var(--gold); }

/* ---- COUNTER ---- */
.counter-box { text-align:center; padding:30px; }
.counter-number { font-family:'Playfair Display',serif; font-size:3rem; color:var(--gold); font-weight:700; }
.counter-label { color:var(--gray-light); font-size:0.9rem; margin-top:8px; text-transform:uppercase; letter-spacing:2px; }

/* ---- WHY CHOOSE US ---- */
.feature-card {
  text-align:center; padding:40px 28px;
  transition:var(--transition);
}
.feature-icon { width:80px; height:80px; margin:0 auto 20px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(201,168,76,0.1); border:1px solid rgba(201,168,76,0.2); font-size:1.8rem; color:var(--gold); transition:var(--transition); }
.feature-card:hover .feature-icon { background:var(--gold); color:var(--black); animation:glow 2s infinite; }
.feature-card h4 { font-size:1.2rem; margin-bottom:12px; }
.feature-card p { color:var(--gray-light); font-size:0.9rem; }

/* ---- VIDEO SECTION ---- */
.video-section { position:relative; min-height:500px; display:flex; align-items:center; overflow:hidden; }
.video-play-btn { width:90px; height:90px; border-radius:50%; background:var(--gold); display:flex; align-items:center; justify-content:center; color:var(--black); font-size:1.5rem; cursor:pointer; transition:var(--transition); animation:pulse 2s infinite; }
.video-play-btn:hover { transform:scale(1.1); }
.video-modal .modal-content { background:var(--dark); border:1px solid var(--glass-border); border-radius:var(--radius); }

/* ---- TESTIMONIALS ---- */
.testimonial-card { padding:40px; text-align:center; }
.testimonial-card .stars { color:var(--gold); font-size:1rem; margin-bottom:16px; }
.testimonial-card p { color:var(--gray-light); font-style:italic; font-size:1.05rem; line-height:1.8; margin-bottom:24px; }
.testimonial-card .client-name { font-family:'Playfair Display',serif; color:var(--white); font-size:1.1rem; }
.testimonial-card .client-role { color:var(--gold); font-size:0.85rem; }
.testimonial-avatar { width:70px; height:70px; border-radius:50%; border:2px solid var(--gold); margin:0 auto 16px; object-fit:cover; }

/* ---- AGENT CARDS ---- */
.agent-card { text-align:center; padding:30px 20px; }
.agent-img-wrapper { width:160px; height:160px; margin:0 auto 20px; border-radius:50%; overflow:hidden; border:3px solid var(--gold); }
.agent-img-wrapper img { width:100%; height:100%; object-fit:cover; }
.agent-card h5 { font-size:1.1rem; margin-bottom:4px; }
.agent-card .role { color:var(--gold); font-size:0.85rem; margin-bottom:16px; }
.agent-social a { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--glass-border); color:var(--gray-light); margin:0 4px; transition:var(--transition); }
.agent-social a:hover { background:var(--gold); color:var(--black); border-color:var(--gold); }

/* ---- FAQ ---- */
.faq-item { border:1px solid var(--glass-border); border-radius:var(--radius-sm); margin-bottom:12px; overflow:hidden; transition:var(--transition); }
.faq-item.active { border-color:rgba(201,168,76,0.3); }
.faq-question { padding:20px 24px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; font-weight:500; transition:var(--transition); background:var(--glass-bg); }
.faq-question:hover { color:var(--gold); }
.faq-question i { color:var(--gold); transition:transform 0.3s; }
.faq-item.active .faq-question i { transform:rotate(180deg); }
.faq-answer { padding:0 24px; max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.4s ease; color:var(--gray-light); }
.faq-item.active .faq-answer { max-height:300px; padding:0 24px 20px; }

/* ---- CTA SECTION ---- */
.cta-section {
  position:relative; padding:100px 0; text-align:center;
  background:linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
}
.cta-section h2 { font-size:2.5rem; margin-bottom:16px; }
.cta-section p { color:var(--gray-light); max-width:600px; margin:0 auto 32px; }

/* ---- FOOTER ---- */
.footer-premium {
  background:var(--dark); padding:80px 0 0; border-top:1px solid var(--glass-border);
}
.footer-brand { font-family:'Playfair Display',serif; font-size:1.6rem; color:var(--gold); margin-bottom:16px; }
.footer-desc { color:var(--gray); font-size:0.9rem; max-width:300px; }
.footer-title { font-family:'Playfair Display',serif; font-size:1.15rem; color:var(--white); margin-bottom:20px; position:relative; padding-bottom:12px; }
.footer-title::after { content:''; position:absolute; bottom:0; left:0; width:30px; height:2px; background:var(--gold); }
.footer-links { list-style:none; padding:0; }
.footer-links li { margin-bottom:10px; }
.footer-links a { color:var(--gray); font-size:0.9rem; transition:var(--transition); }
.footer-links a:hover { color:var(--gold); padding-left:6px; }
.footer-newsletter .form-control { background:rgba(255,255,255,0.06); border:1px solid var(--glass-border); color:var(--white); padding:12px 16px; border-radius:var(--radius-sm); }
.footer-social a { display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--glass-border); color:var(--gray-light); margin-right:8px; transition:var(--transition); }
.footer-social a:hover { background:var(--gold); color:var(--black); border-color:var(--gold); }
.footer-bottom { border-top:1px solid var(--glass-border); padding:24px 0; margin-top:60px; text-align:center; color:var(--gray); font-size:0.85rem; }

/* ---- BACK TO TOP ---- */
.back-to-top { position:fixed; bottom:30px; right:30px; width:48px; height:48px; background:var(--gold); color:var(--black); border:none; border-radius:50%; font-size:1.1rem; cursor:pointer; opacity:0; visibility:hidden; transition:var(--transition); z-index:999; }
.back-to-top.show { opacity:1; visibility:visible; }
.back-to-top:hover { transform:translateY(-4px); box-shadow:var(--shadow-gold); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float { position:fixed; bottom:90px; right:30px; width:52px; height:52px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--white); font-size:1.5rem; z-index:999; transition:var(--transition); animation:float 3s infinite; }
.whatsapp-float:hover { transform:scale(1.1); color:var(--white); }

/* ---- FLOATING ORBS ---- */
.floating-orb { position:absolute; border-radius:50%; filter:blur(80px); opacity:0.15; pointer-events:none; }
.orb-gold { background:var(--gold); }
.orb-blue { background:#4a90d9; }

/* ---- ABOUT PAGE ---- */
.page-header { position:relative; height:50vh; min-height:350px; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; }
.page-header-bg { position:absolute; inset:0; }
.page-header-bg img { width:100%; height:100%; object-fit:cover; }
.page-header-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.7); }
.page-header-content { position:relative; z-index:2; }
.page-header-content h1 { font-size:3rem; margin-bottom:12px; }
.breadcrumb-premium { display:flex; justify-content:center; gap:8px; list-style:none; padding:0; }
.breadcrumb-premium li { color:var(--gray-light); font-size:0.9rem; }
.breadcrumb-premium li a { color:var(--gold); }
.breadcrumb-premium li+li::before { content:'/'; margin-right:8px; color:var(--gray); }

.timeline-section .timeline { position:relative; padding:20px 0; }
.timeline::before { content:''; position:absolute; left:50%; width:2px; height:100%; background:var(--glass-border); transform:translateX(-50%); }
.timeline-item { display:flex; margin-bottom:40px; position:relative; }
.timeline-item:nth-child(odd) { flex-direction:row-reverse; }
.timeline-dot { position:absolute; left:50%; width:16px; height:16px; background:var(--gold); border-radius:50%; transform:translateX(-50%); z-index:2; }
.timeline-content { width:45%; padding:24px; }
.timeline-year { color:var(--gold); font-family:'Montserrat',sans-serif; font-size:0.85rem; letter-spacing:2px; }

/* ---- PROPERTIES PAGE ---- */
.filter-bar { padding:20px; margin-bottom:40px; }
.filter-bar .form-control,.filter-bar .form-select { background:rgba(255,255,255,0.06); border:1px solid var(--glass-border); color:var(--white); padding:12px 16px; border-radius:var(--radius-sm); }
.filter-tabs { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:30px; justify-content:center; }
.filter-tab { padding:8px 24px; border:1px solid var(--glass-border); border-radius:30px; color:var(--gray-light); cursor:pointer; transition:var(--transition); background:transparent; font-family:'Poppins',sans-serif; }
.filter-tab.active,.filter-tab:hover { background:var(--gold); color:var(--black); border-color:var(--gold); }
.view-toggle button { background:var(--glass-bg); border:1px solid var(--glass-border); color:var(--gray-light); padding:8px 14px; transition:var(--transition); }
.view-toggle button.active { background:var(--gold); color:var(--black); border-color:var(--gold); }
.pagination-premium .page-link { background:var(--glass-bg); border:1px solid var(--glass-border); color:var(--gray-light); padding:10px 16px; transition:var(--transition); }
.pagination-premium .page-link:hover,.pagination-premium .active .page-link { background:var(--gold); color:var(--black); border-color:var(--gold); }

/* ---- PROPERTY DETAILS ---- */
.detail-gallery { border-radius:var(--radius); overflow:hidden; }
.detail-info { padding:30px; }
.detail-price { font-family:'Playfair Display',serif; font-size:2rem; color:var(--gold); }
.detail-meta { display:flex; gap:24px; flex-wrap:wrap; margin:20px 0; }
.detail-meta span { display:flex; align-items:center; gap:8px; color:var(--gray-light); font-size:0.9rem; }
.detail-meta i { color:var(--gold); }
.amenity-item { display:flex; align-items:center; gap:10px; padding:12px 0; color:var(--gray-light); border-bottom:1px solid var(--glass-border); }
.amenity-item i { color:var(--gold); width:20px; }
.sticky-sidebar { position:sticky; top:100px; }
.mortgage-calc { padding:24px; }
.mortgage-calc .form-control { background:rgba(255,255,255,0.06); border:1px solid var(--glass-border); color:var(--white); padding:12px; border-radius:var(--radius-sm); }
.mortgage-result { font-family:'Playfair Display',serif; font-size:1.8rem; color:var(--gold); text-align:center; margin-top:16px; }

/* ---- CONTACT PAGE ---- */
.contact-form .form-control,.contact-form .form-select,.contact-form textarea {
  background:rgba(255,255,255,0.06); border:1px solid var(--glass-border);
  color:var(--white); padding:14px 18px; border-radius:var(--radius-sm);
  font-family:'Poppins',sans-serif; transition:var(--transition);
}
.contact-form .form-control:focus,.contact-form textarea:focus { border-color:var(--gold); box-shadow:0 0 0 2px rgba(201,168,76,0.1); }
.contact-info-card { padding:30px; text-align:center; }
.contact-info-card i { font-size:2rem; color:var(--gold); margin-bottom:16px; }
.contact-info-card h5 { margin-bottom:8px; font-size:1rem; }
.contact-info-card p { color:var(--gray-light); font-size:0.9rem; }
.map-wrapper { border-radius:var(--radius); overflow:hidden; border:1px solid var(--glass-border); }
.map-wrapper iframe { width:100%; height:400px; border:none; filter:invert(90%) hue-rotate(180deg); }

/* ---- SWIPER CUSTOMIZATION ---- */
.swiper-button-next,.swiper-button-prev { color:var(--gold)!important; }
.swiper-pagination-bullet { background:var(--gray)!important; opacity:0.5; }
.swiper-pagination-bullet-active { background:var(--gold)!important; opacity:1; }

/* ---- UTILITY ---- */
.text-gold { color:var(--gold); }
.bg-glass { background:var(--glass-bg); backdrop-filter:blur(16px); border:1px solid var(--glass-border); }
.gold-border-top { border-top:2px solid var(--gold); }
.overflow-hidden { overflow:hidden; }
.z-2 { z-index:2; position:relative; }
