/* =========================================================
   Eldeco Echoes of Eden - Design + Responsive Fixes
   Purpose: premium theme consistency, desktop friendliness,
   mobile readability, cleaner forms/cards/tables/navigation.
   ========================================================= */

:root{
  --eoe-bg:#f4f1e8;
  --eoe-card:#fffaf0;
  --eoe-dark:#3f332a;
  --eoe-brown:#4d4036;
  --eoe-brown-2:#6d5a4c;
  --eoe-green:#697668;
  --eoe-gold:#b99a58;
  --eoe-border:#e4dacb;
  --eoe-shadow:0 14px 35px rgba(42,34,26,.12);
  --Nunito:"Segoe UI",Arial,sans-serif;
  --Nunito_Sans:"Segoe UI",Arial,sans-serif;
  --Abhaya_Libre:Georgia,"Times New Roman",serif;
}

*{box-sizing:border-box;}
html,body{max-width:100%;overflow-x:hidden;}
html{scroll-padding-top:92px;}
body{background:var(--eoe-bg)!important;color:#2b2621;line-height:1.68;font-family:var(--Nunito)!important;}
body.modal-open{padding-right:0!important;}
img{max-width:100%;height:auto;}
a{transition:.25s ease;}
section{position:relative;}
.container{padding-left:16px;padding-right:16px;}

/* Global headings */
h1,h2,h3,h4,h5,h6{color:var(--eoe-dark);letter-spacing:.1px;}
section h2,.overview-left-section h2,.overview-left-section h4,.price-section h2,.highlights-section h2,.amenities-section h2,.location-section h2,.floor-plan-section h2,.about-content{
  color:var(--eoe-dark)!important;
}
.overview-left-section p,.about-text-section p,.location-section p,.section-subtitle{color:#3b332c;}

/* Header / navigation */
section.header-section{z-index:1050;}
.header-section .navbar{padding:8px 0!important;}
.header-section .container{max-width:1440px;}
.header-section .navbar-brand{align-items:center!important;gap:8px!important;min-width:160px;flex-shrink:0;}
.header-section img.project-logo{width:auto!important;max-width:178px!important;max-height:56px!important;object-fit:contain!important;}
.header-section.fixed img.project-logo{max-width:158px!important;max-height:52px!important;filter:none!important;}
.navbar-nav.mb-2.mb-lg-0.asidebar{gap:3px;align-items:center;}
li.nav-item{margin:0 1px!important;}
.nav-item .nav-link{font-family:var(--Nunito_Sans)!important;font-weight:700!important;font-size:13px!important;letter-spacing:.25px!important;padding:8px 9px!important;border-radius:22px!important;white-space:nowrap;}
.nav-item .nav-link:hover,.nav-item .nav-link.active{background:rgba(255,255,255,.16);color:#fff!important;}
.header-section.fixed .nav-item .nav-link:hover,.header-section.fixed .nav-item .nav-link.active{background:rgba(244,241,232,.9);color:var(--eoe-dark)!important;}
.fixed ul.navbar-nav.mb-2.mb-lg-0.asidebar{height:auto!important;padding:6px 10px!important;border-radius:34px!important;}
.navbar-toggler{border:1px solid rgba(77,64,54,.45)!important;border-radius:10px!important;padding:8px 10px!important;}
.navbar-toggler:focus{box-shadow:none!important;}

/* Hero / banner desktop */
.banner-setion{overflow:hidden;background:var(--eoe-bg);}
.banner-setion .carousel-inner{border-radius:0!important;}
.banner-setion .banner .carousel-inner::after{background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.58) 35%,rgba(0,0,0,.08) 78%)!important;pointer-events:none;}
.banner-setion .carousel-item img.d-view{width:100%!important;min-height:650px!important;height:min(760px,100vh)!important;max-height:820px!important;object-fit:cover!important;object-position:center!important;}
.project-details-ban{width:min(540px,40vw)!important;left:6%!important;top:54%!important;right:auto!important;padding:26px 28px!important;border-radius:22px!important;background:rgba(31,26,22,.82)!important;backdrop-filter:blur(12px);box-shadow:0 22px 60px rgba(0,0,0,.35)!important;outline:1px solid rgba(244,241,232,.26)!important;outline-offset:4px!important;color:#fff!important;}
.project-details-ban p{color:#fff!important;}
.project-details-ban h1{font-size:clamp(40px,3.1vw,58px)!important;line-height:1.04!important;padding:8px 0 14px!important;color:#fff!important;margin:0!important;}
.project-key-highlights{gap:9px!important;margin:10px 0 18px!important;}
.key-high{width:100%!important;justify-content:flex-start!important;gap:10px!important;padding:9px 12px!important;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:none!important;border-radius:12px!important;}
.key-high img{width:24px!important;height:24px!important;object-fit:contain!important;flex:0 0 24px;}
.key-high p{font-size:14px!important;line-height:1.35!important;letter-spacing:.2px!important;padding:0!important;margin:0!important;text-align:left!important;color:#fff!important;}
.banner-price-typo{gap:10px!important;}
.banner-typology{display:block!important;width:100%!important;background:rgba(255,255,255,.95)!important;padding:9px 12px!important;border-radius:12px!important;letter-spacing:.2px!important;}
.banner-typology h3{font-size:17px!important;line-height:1.25!important;padding:0!important;color:var(--eoe-dark)!important;font-family:var(--Nunito)!important;font-weight:800!important;}

/* Hero form */
.banner-form-section{width:min(365px,26vw)!important;right:6%!important;top:54%!important;background:rgba(31,26,22,.88)!important;border-radius:22px!important;outline:1px solid rgba(244,241,232,.26)!important;outline-offset:4px!important;box-shadow:0 22px 60px rgba(0,0,0,.35)!important;}
.banner-form-section .form-section,.banner-form-section .footer-form{margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;}
.banner-form-section .footer-form{padding:24px!important;}
.footer-form:not(.popup-form){background:var(--eoe-brown)!important;border-radius:20px!important;padding:28px!important;margin:0!important;box-shadow:var(--eoe-shadow);}
.footer-form .form-group{margin:12px 0!important;width:100%!important;}
.footer-form .form-group input.form-control,.banner-form-section .form-control,.popup-form .form-control{min-height:48px!important;border:1px solid rgba(255,255,255,.38)!important;border-radius:12px!important;background:#fff!important;color:#222!important;padding:10px 14px!important;font-size:15px!important;box-shadow:none!important;}
.footer-form .form-group input.form-control::placeholder,.banner-form-section .form-control::placeholder,.popup-form .form-control::placeholder{color:#777!important;}
.footer-form .form-group input.form-control:focus,.banner-form-section .form-control:focus,.popup-form .form-control:focus{border-color:var(--eoe-gold)!important;box-shadow:0 0 0 3px rgba(185,154,88,.18)!important;}
.footer-form .btn.dark_btn.rounded.submit_btn,.banner-form-section .btn.dark_btn.rounded.submit_btn,.popup-form .btn.dark_btn.rounded.submit_btn{width:100%!important;min-height:48px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,var(--eoe-gold),#e1c47c)!important;color:#281f17!important;font-weight:800!important;letter-spacing:.3px!important;padding:10px 20px!important;margin-top:10px!important;}
.footer-form .btn.dark_btn.rounded.submit_btn:hover,.banner-form-section .btn.dark_btn.rounded.submit_btn:hover,.popup-form .btn.dark_btn.rounded.submit_btn:hover{transform:translateY(-1px);filter:brightness(1.03);}
h4.form_title{border:1px solid rgba(255,255,255,.28)!important;border-radius:14px!important;padding:12px 14px!important;margin-bottom:16px!important;font-size:20px!important;line-height:1.3!important;text-align:center!important;color:#fff!important;}
.checkbox-section p{line-height:1.45!important;}

/* Rotating visit button */
.circle{right:2%!important;bottom:7%!important;width:150px!important;height:150px!important;z-index:20;}
.circle .logo img{max-width:58px;}

/* Content sections - premium cards and better spacing */
.overview-section,.price-section,.highlights-section,.amenities-section,.location-section,.floor-plan-section,.about-builder-section,.gallery-section,.contact-us,section.location-advantages{padding:58px 0!important;box-shadow:0 15px 28px -24px rgba(0,0,0,.2)!important;}
.overview-left-section{padding:0!important;}
.overview-left-section:before{opacity:.06!important;}
.overview-left-section h4{font-size:clamp(30px,2.4vw,42px)!important;line-height:1.08!important;margin-bottom:16px!important;}
.overview-left-section p,.about-text-section p,.location-section p{font-size:16px!important;line-height:1.78!important;margin-bottom:12px!important;}
.overview-right-section{border-radius:24px!important;overflow:hidden;box-shadow:var(--eoe-shadow)!important;background:#fff;}
.overview-right-section img{width:100%!important;min-height:360px!important;object-fit:cover!important;display:block!important;border-radius:0!important;}
.section-subtitle{font-size:17px!important;line-height:1.65!important;max-width:920px;margin:8px auto 18px!important;text-align:center;}

/* Tables */
.project-table-wrap{background:#fff!important;border-radius:18px!important;overflow:hidden!important;box-shadow:var(--eoe-shadow)!important;border:1px solid var(--eoe-border)!important;}
.project-info-table{width:100%!important;margin:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;border-collapse:collapse!important;}
.project-info-table th,.project-info-table td{padding:14px 16px!important;border:1px solid #eadfce!important;vertical-align:top!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;font-size:15px!important;line-height:1.45!important;}
.project-info-table th,.project-info-table thead th{background:var(--eoe-brown)!important;color:#fff!important;font-weight:800!important;}
.project-info-table td{color:#28231f!important;}

/* Grids */
.highlight-grid,.amenities-grid,.gallery-grid,.project-link-grid{width:100%;}
.highlight-grid div,.amenities-grid div,.project-content-card,.project-link-grid a{transition:transform .25s ease,box-shadow .25s ease,background .25s ease;}
.highlight-grid div:hover,.amenities-grid div:hover,.project-link-grid a:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(42,34,26,.14)!important;}
.highlight-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
.amenities-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
.amenities-grid div{min-height:138px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.amenities-grid img{width:56px!important;height:56px!important;object-fit:contain!important;}
.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;}
.gallery-grid img{aspect-ratio:4/3;height:100%!important;object-fit:cover!important;}
.project-link-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;}
.project-link-grid a{display:flex!important;align-items:center;justify-content:center;min-height:48px;background:var(--eoe-brown)!important;color:#fff!important;border-radius:14px!important;padding:11px 10px!important;font-weight:800!important;text-decoration:none!important;line-height:1.25!important;}
.project-link-grid a:hover{background:var(--eoe-green)!important;color:#fff!important;}

/* Location rows */
.location-points{gap:14px!important;border-bottom:1px solid rgba(77,64,54,.28)!important;padding:13px 0!important;}
.loc1{gap:12px!important;min-width:48%;}
.loc1 p,.loc2 p{font-size:16px!important;line-height:1.35!important;margin:0!important;}
.location-section img.img-fluid{border-radius:24px!important;box-shadow:var(--eoe-shadow)!important;background:#fff;}

/* Floor plan / master plan */
.floor-plan-section .col-md-6{margin-bottom:24px;}
.floor-plan-section img{width:100%!important;border-radius:22px!important;box-shadow:var(--eoe-shadow)!important;background:#fff!important;}

/* Footer */
section.footer-section{background:linear-gradient(135deg,var(--eoe-dark),#1f1712)!important;padding:30px 0 80px!important;color:#fff!important;}
section.footer-section .rera,section.footer-section p,section.footer-section .btm-foot{color:#fff!important;}
.moreless-button{cursor:pointer;}

/* Modal */
.modal-dialog{max-width:500px!important;margin:1rem auto!important;}
.modal-content{border:0!important;border-radius:22px!important;box-shadow:0 30px 90px rgba(0,0,0,.45)!important;}
.popup-form{padding:26px!important;border-radius:18px!important;margin:0!important;background:var(--eoe-brown)!important;outline:none!important;}
.popup-form .form-section .footer-form{padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important;}
.popup-form button.btn-close{right:18px!important;top:18px!important;z-index:4;}
h4.form_title_popup{font-size:25px!important;line-height:1.2!important;padding-right:28px!important;}

/* Sticky contact buttons - desktop and mobile */
.mobile-section{z-index:1090!important;}
@media (min-width:768px){
  .mobile-section{position:fixed!important;right:22px!important;bottom:22px!important;left:auto!important;width:auto!important;display:flex!important;gap:10px!important;background:transparent!important;padding:0!important;box-shadow:none!important;}
  .mobile-section a{display:flex!important;align-items:center!important;justify-content:center!important;min-width:118px!important;min-height:44px!important;padding:10px 16px!important;border-radius:999px!important;background:var(--eoe-brown)!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;font-size:14px!important;box-shadow:0 12px 28px rgba(0,0,0,.24)!important;border:1px solid rgba(255,255,255,.18)!important;}
  .mobile-section a:last-child{background:#1f8b4c!important;}
  .mobile-section a:nth-child(2){background:var(--eoe-gold)!important;color:#241c14!important;}
  .mobile-section a:hover{transform:translateY(-2px);filter:brightness(1.05);}
}

/* Tablet */
@media (max-width:1199px){
  .header-section img.project-logo{max-width:150px!important;}
  .nav-item .nav-link{font-size:12px!important;padding:7px 6px!important;}
  .project-details-ban{left:4%!important;width:43vw!important;}
  .banner-form-section{right:4%!important;width:31vw!important;}
  .project-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}

/* Mobile and tablet stacked layout */
@media (max-width:991px){
  body{padding-top:74px!important;}
  section.header-section{position:fixed!important;top:0!important;left:0!important;width:100%!important;background:rgba(244,241,232,.97)!important;box-shadow:0 8px 24px rgba(0,0,0,.12)!important;padding:0!important;}
  .header-section img.project-logo{filter:none!important;max-width:150px!important;max-height:50px!important;}
  .navbar-toggler{background:var(--eoe-brown)!important;}
  span.navbar-toggler-icon,.header-section.fixed span.navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")!important;}
  div#navbarSupportedContent{background:#fff!important;border-radius:18px!important;margin-top:10px!important;padding:8px!important;box-shadow:0 18px 45px rgba(0,0,0,.12)!important;max-height:calc(100vh - 94px);overflow-y:auto;}
  ul.navbar-nav.mb-2.mb-lg-0.asidebar{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;align-items:stretch!important;width:100%!important;}
  li.nav-item{width:100%!important;margin:2px 0!important;}
  .nav-item .nav-link,.header-section.fixed .nav-item .nav-link{display:block!important;color:var(--eoe-dark)!important;background:#f8f3ea!important;border:1px solid #eee2d0!important;border-radius:12px!important;padding:11px 14px!important;font-size:14px!important;text-align:left!important;}
  .nav-item .nav-link.active,.nav-item .nav-link:hover{background:var(--eoe-brown)!important;color:#fff!important;}

  .banner-setion{padding-top:0!important;overflow:visible!important;}
  .banner-setion .banner .carousel-inner::after{background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.18))!important;}
  .banner-setion .carousel-item img,.banner-setion .carousel-item img.m-view{height:390px!important;min-height:390px!important;object-fit:cover!important;object-position:center!important;}
  .carousel-control-prev,.carousel-control-next{display:none!important;}
  .project-details-ban{position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;width:calc(100% - 28px)!important;max-width:720px!important;margin:-52px auto 16px!important;background:#fff!important;color:var(--eoe-dark)!important;padding:20px!important;border-radius:22px!important;box-shadow:var(--eoe-shadow)!important;outline:0!important;text-align:left!important;z-index:10;}
  .project-details-ban h1{font-size:34px!important;line-height:1.08!important;color:var(--eoe-dark)!important;padding:6px 0 12px!important;}
  .project-details-ban p{color:#3b332c!important;font-size:14px!important;}
  .project-key-highlights{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:12px 0!important;}
  .key-high{background:#f8f3ea!important;border:1px solid #eadfce!important;padding:10px!important;min-height:70px!important;align-items:flex-start!important;}
  .key-high p{color:var(--eoe-dark)!important;font-size:13px!important;line-height:1.35!important;}
  .banner-typology{background:#f2eadc!important;border:1px solid #eadfce!important;margin-bottom:8px!important;}
  .banner-typology h3{font-size:15px!important;}
  .banner-form-section{position:relative!important;top:auto!important;right:auto!important;left:auto!important;transform:none!important;width:calc(100% - 28px)!important;max-width:720px!important;margin:16px auto 26px!important;background:var(--eoe-brown)!important;border-radius:22px!important;outline:0!important;box-shadow:var(--eoe-shadow)!important;}
  .banner-form-section .footer-form{padding:22px!important;}
  .circle{display:none!important;}
  .overview-section,.price-section,.highlights-section,.amenities-section,.location-section,.floor-plan-section,.about-builder-section,.gallery-section,.contact-us,section.location-advantages{padding:40px 0!important;}
  .overview-left-section h4{font-size:30px!important;}
  .overview-right-section{margin-top:24px;}
  .overview-right-section img{min-height:260px!important;}
  .highlight-grid,.amenities-grid,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .project-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .about-builder-section .row,.overview-section .row,.location-section .row{row-gap:26px;}
  .loc1{min-width:auto;}
}

/* Phone */
@media (max-width:575px){
  body{padding-top:68px!important;padding-bottom:62px!important;}
  .container{padding-left:14px!important;padding-right:14px!important;}
  .header-section .navbar{padding:7px 0!important;}
  .header-section img.project-logo{max-width:132px!important;max-height:44px!important;}
  .banner-setion .carousel-item img,.banner-setion .carousel-item img.m-view{height:330px!important;min-height:330px!important;}
  .project-details-ban{width:calc(100% - 20px)!important;margin:-42px auto 12px!important;padding:18px!important;border-radius:18px!important;}
  .project-details-ban h1{font-size:30px!important;}
  .project-key-highlights{grid-template-columns:1fr!important;}
  .key-high{min-height:auto!important;}
  .banner-form-section{width:calc(100% - 20px)!important;margin:12px auto 20px!important;border-radius:18px!important;}
  .banner-form-section .footer-form,.footer-form:not(.popup-form){padding:20px!important;border-radius:18px!important;}
  h4.form_title{font-size:18px!important;}
  .overview-left-section h4,.price-section h2,.highlights-section h2,.amenities-section h2,.location-section h2,.floor-plan-section h2,.about-content{font-size:28px!important;line-height:1.12!important;}
  .overview-left-section p,.about-text-section p,.location-section p{font-size:15px!important;line-height:1.68!important;text-align:left!important;}
  .highlight-grid,.amenities-grid,.gallery-grid,.project-link-grid{grid-template-columns:1fr!important;gap:14px!important;}
  .highlight-grid div,.amenities-grid div{padding:18px!important;}
  .location-points{display:block!important;text-align:left!important;}
  .loc1{margin-bottom:6px;}
  .loc1 p,.loc2 p{font-size:15px!important;}
  .project-table-wrap{overflow:visible!important;border-radius:14px!important;}
  .project-info-table,.project-info-table tbody,.project-info-table tr,.project-info-table th,.project-info-table td{display:block!important;width:100%!important;min-width:0!important;}
  .project-info-table thead{display:none!important;}
  .project-info-table tr{border:1px solid #eadfce!important;border-radius:14px!important;margin:0 0 12px!important;overflow:hidden!important;background:#fff!important;}
  .project-info-table th{border:0!important;border-bottom:1px solid #eadfce!important;border-radius:0!important;}
  .project-info-table td{border:0!important;border-bottom:1px solid #f0e6d8!important;padding:11px 12px!important;font-size:14px!important;}
  .project-info-table td:last-child{border-bottom:0!important;}
  .gallery-grid img{aspect-ratio:16/10;}
  .modal-dialog{margin:.75rem!important;}
  .popup-form{padding:20px!important;}
  h4.form_title_popup{font-size:22px!important;}
  .mobile-section{position:fixed!important;bottom:0!important;left:0!important;width:100%!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;background:var(--eoe-brown)!important;padding:7px 6px!important;box-shadow:0 -8px 24px rgba(0,0,0,.18)!important;}
  .mobile-section a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;font-size:13px!important;border-right:1px solid rgba(255,255,255,.24)!important;text-align:center!important;padding:7px 4px!important;line-height:1.15!important;}
  .mobile-section a:last-child{border-right:0!important;background:#1f8b4c!important;border-radius:12px!important;}
  section.footer-section{padding-bottom:78px!important;}
}

/* =========================================================
   Site Visit Rotating Circle - overlap fix for all pages
   The earlier position was clashing with the banner enquiry form.
   Desktop: keep it inside the empty hero gap.
   Tablet/Mobile: hide it because it overlaps stacked banner/form content.
   ========================================================= */
.circle{
  position:absolute!important;
  top:auto!important;
  right:auto!important;
  left:52.5%!important;
  bottom:42px!important;
  transform:translateX(-50%)!important;
  width:116px!important;
  height:116px!important;
  z-index:18!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.circle .logo{
  width:56px!important;
  height:56px!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.95)!important;
  border-radius:50%!important;
  box-shadow:0 8px 22px rgba(0,0,0,.22)!important;
}
.circle .logo img{
  width:44px!important;
  height:44px!important;
  max-width:44px!important;
  object-fit:contain!important;
}
.circle .text-rotate{
  width:116px!important;
  height:116px!important;
  font-size:12px!important;
  line-height:1!important;
  color:#fff!important;
  text-shadow:0 2px 5px rgba(0,0,0,.55)!important;
}
.circle .text-rotate span{
  transform-origin:0 58px!important;
}
@media (min-width:1400px){
  .circle{left:52%!important;bottom:44px!important;width:124px!important;height:124px!important;}
  .circle .text-rotate{width:124px!important;height:124px!important;font-size:13px!important;}
  .circle .text-rotate span{transform-origin:0 62px!important;}
}
@media (max-width:991px){
  .circle{display:none!important;}
}
