/* ========================================== BANNER START ======================================== */
/* 1. Main Container */
.zoom-container {
  position: relative;
  width: 100%;
  height: 80vh; 
  min-height: 450px;
  overflow: hidden;
  background-color: #000;
  display: flex;
  align-items: flex-end; 
  justify-content: flex-start;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* 2. The Backside Scroll (Parallax) Image */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Extra height for the scroll movement */
  background-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent), url('../images/slider.jpg');
  background-size: cover;
  background-position: center;
  
  /* THIS CREATES THE BACKSIDE FEEL */
  background-attachment: fixed; 
  
  /* Keeping your requested zoom animation */
  animation: smoothZoom 20s infinite alternate ease-in-out;
  will-change: transform;
  z-index: 1;
}

/* 3. Action Holder */
.action-holder {
  position: relative;
  z-index: 10;
  padding: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

/* 4. Glassmorphism Card */
.action-glass-card {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 5. Compact Buttons */
.action-btn {
  text-decoration: none;
  background: #ffffff;
  color: #0056b3;
  padding: 12px 25px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.special-btn {
  background: #0056b3;
  color: #ffffff;
}

.action-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 6. Animations */
@keyframes smoothZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Media Queries --- */

/* Tablets */
@media (max-width: 1024px) {
  .zoom-container { height: 80vh; }
}

/* Mobile Devices */
@media (max-width: 600px) {
  .zoom-container { 
    height: 80vh; 
    border-radius: 0 0 20px 20px;
  }

  /* Fixed background often fails on mobile, so we use a standard look */
  .parallax-bg {
    background-attachment: scroll; 
    height: 100%;
  }

  .action-holder { padding: 15px; width: 100%; }

  .action-glass-card {
    gap: 8px;
    padding: 10px;
  }

  .action-btn {
    padding: 10px 5px;
    font-size: 0.65rem;
    flex: 1;
  }
}
/* ========================================== BANNER END ======================================== */

/* ========================================== ABOUT PROJECT START ======================================== */
/* Core Layout */
.avnayproject-section {
  padding: 30px 5%;
  background: #ffffff;
  font-family: 'Inter', -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.avnayproject-container {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; 
  align-items: center;
  position: relative;
}

/* 1. Image UI */
.avnayproject-image-box {
  position: relative;
  height: 650px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.12);
  z-index: 1;
}

.avnayproject-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: avnayZoom 20s infinite alternate ease-in-out;
}

/* 2. Floating Card (Glassmorphism) */
.avnayproject-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 70px 60px;
  border-radius: 40px;
  margin-left: -140px; /* Overlap effect for desktop */
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

/* 3. Elements Styling */
.avnayproject-brand-header {
  margin-bottom: 25px;
}

.avnayproject-main-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.avnayproject-tag {
  color: #0056b3;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 5px;
  display: block;
  margin-bottom: 12px;
}

.avnayproject-title {
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  color: #0f172a;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 25px;
}

.avnayproject-divider {
  width: 60px;
  height: 4px;
  background: #0056b3;
  margin-bottom: 30px;
  border-radius: 2px;
}

.avnayproject-description {
  color: #475569;
  line-height: 1.9;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* 4. Trust Badges */
.avnayproject-logo-bar {
  display: flex;
  gap: 30px;
  align-items: center;
}

.avnayproject-logo-bar img {
  height: 60px;
  transition: all 0.4s ease;
}

.avnayproject-logo-bar img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
}

/* Cinematic Zoom Keyframes */
@keyframes avnayZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

/* --- ALL DEVICE RESPONSIVENESS --- */

/* Tablets & Small Laptops */
@media (max-width: 1200px) {
  .avnayproject-card {
    padding: 50px;
    margin-left: -100px;
  }
}

/* Single Column Transition */
@media (max-width: 1024px) {
  .avnayproject-container { grid-template-columns: 1fr; }
  .avnayproject-card {
    margin-left: 0;
    margin-top: -100px; /* Card pulls up over image */
    width: 90%;
    margin-inline: auto;
  }
  .avnayproject-image-box { height: 500px; }
}

/* Mobile Devices */
@media (max-width: 600px) {
  .avnayproject-section { padding: 30px 15px; }
  .avnayproject-image-box { height: 350px; border-radius: 30px; }
  
  .avnayproject-card { 
    padding: 40px 25px; 
    border-radius: 30px;
    margin-top: -80px;
    width: 95%;
  }

  .avnayproject-main-logo { height: 40px; }
  .avnayproject-title { font-size: 2rem; }
  
  .avnayproject-logo-bar { 
    gap: 15px; 
    justify-content: center;
    flex-wrap: wrap;
  }
  .avnayproject-logo-bar img { height: 35px; }
}
/* ========================================== ABOUT PROJECT END ======================================== */

/* ========================================== PROJECT LOCATION START ======================================== */
/* --- 1. Main Container Fixes --- */
.avnavylocation-section {
  width: 100%;
  padding: 60px 0;
  background: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden; /* Prevents horizontal scroll */
  box-sizing: border-box;
}

.avnavylocation-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* --- 2. Headings --- */
.avnavylocation-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  color: #1a0768;
  margin-bottom: 30px;
}

.avnavylocation-main-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  background: #1a0768;
  margin: 15px auto 0;
  border-radius: 50px;
}

.avnavylocation-sub-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  margin: 80px 0 40px;
  border-left: 6px solid #1a0768;
  padding-left: 20px;
}

/* --- 3. Maps Layout --- */
.avnavylocation-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

.avnavylocation-label {
  display: inline-block;
  background: #1a0768;
  color: #ffffff;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 12px 12px 0 0;
}

.avnavylocation-map-wrapper {
  height: 450px;
  background: #f8fafc;
  border-radius: 0 24px 24px 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.avnavylocation-map-wrapper iframe,
.avnavylocation-trigger-img {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

/* --- 4. Cards Grid --- */
.avnavylocation-loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  width: 100%;
}

.avnavylocation-loc-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.avnavylocation-img-area {
  position: relative;
  height: 140px;
}

.avnavylocation-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avnavylocation-time-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0c589c;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.avnavylocation-time-tag svg { width: 14px; height: 14px; fill: #0c589c; }

.avnavylocation-card-info {
  padding: 15px;
  text-align: center;
}

.avnavylocation-card-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a0768;
}

/* --- 5. Popup (Lightbox) Styles --- */
.avnavy-popup-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.avnavy-popup-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  animation: avnavyZoomIn 0.3s ease;
}

.avnavy-popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

@keyframes avnavyZoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .avnavylocation-map-grid { grid-template-columns: 1fr; }
  .avnavylocation-container { padding: 0 20px; }
}

@media (max-width: 600px) {
  .avnavylocation-loc-grid { grid-template-columns: repeat(2, 1fr); }
  .avnavylocation-map-wrapper { height: 300px; }
}
/* ========================================== PROJECT LOCATION END ======================================== */

/* ========================================== PROJECT AMENITIES START ======================================== */
/* --- SECTION BASE --- */
.avnay-amenities-section {
  padding: 30px 5%;
  background-color: #fbfcfe;
  font-family: 'Inter', -apple-system, sans-serif;
  overflow: hidden;
}

.avnay-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- MODERN HEADER --- */
.avnay-header {
  text-align: center;
  margin-bottom: 30px;
}

.avnay-pre-title {
  color: #ff9700;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.avnay-main-title {
  color: #1a0768;
  font-size: clamp(2rem, 5vw, 1.8rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
}

.avnay-decorative-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.line-wing { height: 2px; width: 40px; background: linear-gradient(to right, transparent, #cbd5e1); }
.diamond-sparkle { 
  width: 8px; height: 8px; background-color: #0c589c; 
  transform: rotate(45deg); margin: 0 15px; 
  box-shadow: 0 0 10px rgba(12, 88, 156, 0.4);
}

/* --- GRID SYSTEM --- */
.avnay-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
}

/* --- LUXURY CARD DESIGN --- */
.avnay-card {
  background: #ffffff;
  padding: 40px 15px;
  border-radius: 24px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Hover State */
.avnay-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(12, 88, 156, 0.12);
  border-color: #0c589c;
}

/* --- ICON WRAPPER & BLOBS --- */
.avnay-icon-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.avnay-icon-blob {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  transition: all 0.5s ease;
  z-index: 1;
}

.avnay-card i {
  font-size: 28px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.avnay-card:hover .avnay-icon-blob {
  border-radius: 50%;
  transform: scale(1.1) rotate(90deg);
  background: #1a0768;
}

.avnay-card:hover i {
  color: #ffffff !important;
}

/* --- SPECIFIC COLORS --- */
.type-road i { color: #555555; }
.type-tree i { color: #2e7d32; }
.type-bolt i { color: #fbc02d; }
.type-drain i { color: #795548; }
.type-play i { color: #e91e63; }
.type-water i { color: #0288d1; }
.type-vaastu i { color: #8e24aa; }
.type-arch i { color: #455a64; }
.type-light i { color: #fdd835; }
.type-sec i { color: #1a237e; }
.type-wall i { color: #c62828; }
.type-bank i { color: #2e7d32; }

/* --- TYPOGRAPHY --- */
.avnay-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1280px) {
  .avnay-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  .avnay-grid { grid-template-columns: repeat(3, 1fr); }
  .avnay-amenities-section { padding: 30px 5%; }
}

@media (max-width: 640px) {
  .avnay-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .avnay-card { padding: 30px 10px; border-radius: 16px; }
  .avnay-label { font-size: 0.85rem; }
  .avnay-icon-wrapper { width: 55px; height: 55px; }
  .avnay-card i { font-size: 22px; }
}
/* ========================================== PROJECT AMENITIES END ======================================== */

/* ========================================== PROJECT GALLERY START ======================================== */
/* --- 1. Global Section Styles --- */
  .classic-gallery-section {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Georgia', 'Times New Roman', serif;
    box-sizing: border-box;
  }

  /* --- 2. Main Section Heading --- */
  .gallery-heading {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #0c589c; /* Blue */
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* --- 3. Tabs Navigation --- */
  .gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }

  .tab-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #0c589c;
    color: #0c589c;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 4px;
  }

  .tab-btn:hover {
    background-color: #f0f8ff;
  }

  .tab-btn.active {
    background-color: #0c589c;
    color: #fff;
    box-shadow: 0 4px 6px rgba(12, 88, 156, 0.3);
  }

  /* --- 4. Row Heading (New Addition) --- */
  .row-title {
    font-family: 'Segoe UI', sans-serif;
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    border-left: 5px solid #0c589c;
    padding-left: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* --- 5. Content Container (Tabs) --- */
  .gallery-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
  }

  .gallery-content.active {
    display: block;
  }

  /* --- 6. Grid System --- */
  .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* SAME */
  gap: 20px;
  justify-content: center;   /* ⭐ THIS IS THE FIX */
}

  /* --- Image Styling --- */
  .gallery-item {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    border: 1px solid #ddd;
    background: #000;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    opacity: 0.95;
  }

  .gallery-item:hover img {
    transform: scale(1.1);
    opacity: 1;
  }

  /* --- Video Card Styling --- */
  .video-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    border-color: #0c589c;
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .video-info {
    padding: 12px;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-title {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
  }

  /* --- 7. Lightbox --- */
  .custom-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
  }

  .lightbox-wrapper {
    position: relative;
    max-width: 900px;
    width: 90%;
    text-align: center;
  }

  .lightbox-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }

  .close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #0c589c;
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background 0.3s;
  }

  .close-btn:hover { background: #083d6b; }

  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    user-select: none;
  }
  .nav-btn:hover { background-color: #0c589c; }
  .prev { left: -60px; }
  .next { right: -60px; }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* --- 8. Responsive Media Queries --- */
  @media (max-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .prev { left: -40px; }
    .next { right: -40px; }
  }
  @media (max-width: 600px) {
    .gallery-heading { font-size: 24px; }
    .row-title { font-size: 18px; margin-bottom: 10px; }
    .gallery-grid { grid-template-columns: repeat(1, 1fr); gap: 10px; }
    .gallery-item { height: 140px; }
    .tab-btn { padding: 8px 16px; font-size: 13px; }
    .prev { left: 5px; background: rgba(0,0,0,0.5); }
    .next { right: 5px; background: rgba(0,0,0,0.5); }
    .close-btn { right: 5px; top: 5px; }
  }
/* ========================================== PROJECT GALLERY END ======================================== */