/* ===================================== */
/* Standalone CSS for realestate.html */
/* Red, White, Black Theme */
/* ===================================== */

/* ------------------------------------- */
/* Global Styles & Variables */
/* ------------------------------------- */
:root {
  --primary-color: #DC2626; /* Main Red */
  --primary-dark: #B91C1C; /* Darker Red */
  --text-dark: #1F2937;   /* Very Dark Grey (Near Black) */
  --text-medium: #4B5563; /* Medium Grey */
  --text-light: #6B7280;   /* Light Grey */
  --bg-light: #F9FAFB;   /* Very Light Grey Background */
  --bg-white: #FFFFFF;
  --bg-dark: #111827;    /* Very Dark Grey/Black for Footer */
  --border-color: #E5E7EB; /* Light Grey Border */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean Sans-serif */
  --navbar-height: 75px; /* Navbar height */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base font size */
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--text-medium); /* Default text color */
  background-color: var(--bg-white);
  padding-top: var(--navbar-height); /* Space for fixed navbar */
  -webkit-font-smoothing: antialiased; /* Smoother fonts */
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
h1 { font-size: 2.75rem; font-weight: 700; }
h2.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color); /* Red Section Titles */
}
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color); /* Links are red */
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.text-center { text-align: center; }
.section { padding: 4rem 0; }
.section-light { background-color: var(--bg-light); }
.section-dark { background-color: var(--bg-dark); color: var(--bg-light); } /* Dark background section */
.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--bg-white); }
.section-dark p { color: rgba(255, 255, 255, 0.85); }


/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.5;
}
.btn-primary {
  background-color: var(--primary-color); /* Red Button */
  color: var(--white);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn-secondary { /* White button with red border */
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ------------------------------------- */
/* Header & Navigation */
/* ------------------------------------- */
/* --- ISRO Logo Styling --- */

.nav-links .isro-logo-item {
  display: flex;
  align-items: center;
  margin-left: 1.5rem; /* Space from "Tools" */
  padding: 0;
}

.isro-logo {
  height: 40px; /* This is the most important part! */
  width: auto;
  transition: transform 0.3s ease;
}

.isro-logo:hover {
  transform: scale(1.05);
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%; /* Padding left/right */
  background-color: #FFFFFF; /* <-- CHANGE: Use explicit #FFFFFF */
  opacity: 1; /* <-- ADD: Ensure full opacity */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  height: var(--navbar-height);
  transition: background-color 0.3s ease; /* Optional: Smooth transition if JS changes it */
}

.navbar-left { flex-shrink: 0; }
.navbar-logo { height: calc(var(--navbar-height) * 0.65); width: auto; } /* Adjust logo size */

.navbar-center {
    display: none; /* Hidden on mobile */
    flex-grow: 1;
    justify-content: center;
}
@media (min-width: 992px) { .navbar-center { display: flex; } } /* Show on desktop */

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
  margin: 0 1rem;
}

.nav-links > li > a {
  color: var(--text-dark); /* Black Text */
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
  
}
/* Underline effect */
.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color); /* Red underline */
    transition: width 0.3s ease;
}
.nav-links > li > a:hover::after { width: 100%; }
.nav-links > li > a:hover { color: var(--primary-color); } /* Red on hover */

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF; /* <-- CHANGE: Use explicit #FFFFFF */
  opacity: 1; /* <-- ADD: Ensure full opacity */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 0 0 5px 5px;
  list-style: none;
  min-width: 240px;
  padding: 0.5rem 0;
  z-index: 1001; /* Already correct */
  border-top: 3px solid var(--primary-color); /* Red top border */
  margin-top: 2px;
  margin-left: 0;
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  white-space: nowrap;
  color: var(--text-dark); /* Black Text */
  font-size: 0.95rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-menu a:hover {
    color: var(--primary-color); /* Red Text */
    background-color: var(--bg-light);
}
.nav-item.dropdown:hover .dropdown-menu { display: block; }

/* Right Side Elements */
.navbar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Search */
.search-wrapper input {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 15px 6px 15px;
  font-size: 0.9rem;
  width: 180px;
  transition: width 0.3s ease;
}
.search-wrapper input:focus { width: 220px; }
.search-wrapper button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-left: -35px;
  color: var(--text-light); /* Grey Icon */
  padding: 5px;
}
.search-wrapper.desktop-only { display: none; }
@media (min-width: 992px) { .search-wrapper.desktop-only { display: flex; } }

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  padding: 0.5rem;
  line-height: 1;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark); /* Black Bars */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Container */
navbar-menu {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background-color: var(--white);
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    
}
navbar-menu.open { display: block; 
  transform: translateX(0);
  background-color: white;
 }
navbar-menu .nav-links { flex-direction: column; align-items: flex-start; }
navbar-menu .nav-links li { width: 100%; margin: 0; border-bottom: 1px solid var(--border-color); }
navbar-menu .nav-links li:last-child { border-bottom: none; }
navbar-menu .nav-links a { padding: 1rem 0; display: block; width: 100%; font-size: 1.1rem; }
navbar-menu .nav-links a::after { display: none; }
navbar-menu .dropdown-menu {
    position: static; box-shadow: none; border: none;
    border-top: 1px solid var(--border-color); border-radius: 0;
    background-color: var(--bg-light); margin-top: 0; min-width: auto;
    padding: 0; display: none;
    width: calc(100% + 40px); margin-left: -20px; margin-right: -20px;
}
navbar-menu .dropdown-menu a { padding: 0.8rem 2.5rem; font-size: 1rem; }
navbar-menu .nav-item.dropdown > a { display: flex; justify-content: space-between; align-items: center; }
navbar-menu .nav-item.dropdown > a::before { content: '▼'; font-size: 0.7em; margin-left: 5px; display: inline-block; transition: transform 0.3s ease; }
navbar-menu .nav-item.dropdown.open > a::before { transform: rotate(180deg); }

@media (max-width: 991px) {
    .hamburger { display: block; }
    .navbar-center { display: none !important; }
    .search-wrapper.desktop-only { display: none; }
}


/* ------------------------------------- */
/* Page Hero */
/* ------------------------------------- */
.page-hero {
  height: 60vh;
  min-height: 450px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 30, 30, 0.6); /* Dark Grey Overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color:white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4); /* Slightly stronger shadow */
}

.page-hero p {
  font-size: 1.25rem;
  max-width: 800px;
  line-height: 1.6;
  opacity: 0.95; /* Less transparent */
  margin-bottom: 0;
}

/* ------------------------------------- */
/* Section Separator */
/* ------------------------------------- */
.section-separator {
    height: 1px;
    background-color: var(--border-color);
    border: none;
    margin: 4rem auto;
    width: 80%;
    max-width: 1000px;
}

/* ------------------------------------- */
/* About Section */
/* ------------------------------------- */
/* Uses .section */
#about .about-overlay { /* Content wrapper */
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
/* #about .about-content h2 { /* Uses .section-title */ 
#about .about-content p {
    color: var(--text-medium); /* Medium grey text */
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------------- */
/* Services Section */
/* ------------------------------------- */
/* Uses .section .section-light */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color); /* Red Heading */
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  margin: 0;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin: 0;
  flex-grow: 1;
}

/* ------------------------------------- */
/* Partners Section */
/* ------------------------------------- */
/* Uses .section */
.partners-belt-container { width: 100%; overflow: hidden; }
.partners-belt { display: flex; width: fit-content; animation: scroll 40s linear infinite; padding: 1rem 0; }
.partners-belt:hover { animation-play-state: paused; }
.partner-tile {
    height: 80px; width: 160px; margin: 0 1.5rem;
    background-size: contain; background-position: center; background-repeat: no-repeat;
    flex-shrink: 0;transition: filter 0.3s ease;
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ------------------------------------- */
/* Verticals / Project Focus */
/* ------------------------------------- */
/* Uses .section .section-dark */
#properties .verticals-overlay { width: 90%; max-width: 1200px; margin: 0 auto; }
#properties .verticals-overlay .section-title { color: var(--white); }
#properties .verticals-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
#properties .vertical-card {
  display: block; height: 380px; border-radius: 6px; overflow: hidden; position: relative;
  background-size: cover; background-position: center; text-decoration: none; color: var(--white);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#properties .vertical-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
#properties .card-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}
#properties .card-overlay h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--white); }
#properties .card-overlay p { font-size: 0.95rem; margin: 0; color: rgba(255,255,255, 0.9); line-height: 1.5; }

/* ------------------------------------- */
/* CTA Form Section */
/* ------------------------------------- */
/* Uses .section .section-light */
#contact-realestate .cta-overlay { max-width: 750px; margin: 0 auto; padding: 0 1rem; }
/* #contact-realestate .cta-content h2 { /* Uses .section-title */ 
#contact-realestate .lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
#contact-realestate .lead-form input,
#contact-realestate .lead-form textarea {
  width: 100%; padding: 0.8rem 1rem; font-size: 1rem;
  border: 1px solid var(--border-color); border-radius: 4px;
  background-color: var(--white); color: var(--text-dark);
  font-family: var(--font-primary); transition: border-color 0.3s ease;
}
#contact-realestate .lead-form input:focus,
#contact-realestate .lead-form textarea:focus { border-color: var(--primary-color); outline: none; }
#contact-realestate .lead-form input::placeholder,
#contact-realestate .lead-form textarea::placeholder { color: #999; }
#contact-realestate .lead-form input[name="address"],
#contact-realestate .lead-form textarea { grid-column: 1 / -1; }
#contact-realestate .lead-form textarea { min-height: 140px; resize: vertical; }
#contact-realestate .lead-form button {
  grid-column: 1 / -1; width: auto; padding-left: 2rem; padding-right: 2rem;
  margin: 0.5rem auto 0 auto; display: block; color:white;
  /* Inherits .btn .btn-primary */
}

/* ------------------------------------- */
/* Footer */
/* ------------------------------------- */
.site-footer {
  background-color: var(--bg-dark); /* Dark Background */
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem 0;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 2px; background-color: var(--primary-color); /* Red Underline */
}

.footer-logo {
  height: 50px;
  margin-bottom: 1.5rem;
  /* Assuming logo has white bg or is light */
}

.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.75rem; }

.footer-links-list a,
.footer-contact-list a,
.footer-contact-list span {
  color: rgba(255, 255, 255, 0.75); text-decoration: none;
  transition: color 0.3s ease; font-size: 0.95rem;
  display: flex; align-items: center;
}
.footer-links-list a:hover,
.footer-contact-list a:hover { color: var(--white); }

.footer-contact-list img {
  width: 16px; height: 16px; margin-right: 0.75rem;
  filter: invert(70%); flex-shrink: 0;
}

.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background-color: rgba(255, 255, 255, 0.1); border-radius: 50%;
    transition: background-color 0.3s ease;
}
.footer-socials a:hover { background-color: var(--primary-color); } /* Red Hover */
.footer-socials img { width: 18px; height: 18px; filter: invert(1); opacity: 0.8; transition: opacity 0.3s ease; }
.footer-socials a:hover img { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem; width: 90%; max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap; gap: 0.5rem;
}

.footer-bottom-links a { color: rgba(255, 255, 255, 0.6); margin: 0 0.5rem; transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: var(--white); }
.footer-bottom-links span { color: rgba(255, 255, 255, 0.4); }

/* ------------------------------------- */
/* Floating Action Buttons */
/* ------------------------------------- */
/* Floating Call Button */
/* Keep this one at 100px */
.call-float {
position: fixed;
bottom: 100px; /* Positioned 100px from the bottom */
right: 20px;
width: 60px;
height: 60px;
background-color:white;/* A nice blue color */
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 24px;
box-shadow: 0 0 15px rgba(37, 135, 211, 0.6); /* soft glow */
z-index: 99;
 transition: transform 0.3s ease, background-color 0.3s ease; 
cursor: pointer;
border:none;
}
.call-float:hover {
transform: scale(1.1);
background-color: lightcyan;
}

.call-float img {
width: 50px;
height: 33px;
  
}

/* Change this one to be lower down */
.whatsapp-float {
position: fixed;
bottom: 20px; /* <-- FIX 2: Changed from 100px to avoid overlap with Call button */
right: 20px;
width: 60px;
height: 60px;
background-color:white; /* A nice blue color */
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 24px;
box-shadow: 0 0 15px rgba(37, 211, 102, 0.6); /* soft glow */
z-index: 99;
transition: transform 0.3s ease, background-color 0.3s ease;
cursor: pointer;
}
.whatsapp-float:hover {
transform: scale(1.1);
background-color: greenyellow;
}

.whatsapp-float img {
width: 30px;
height: 30px;

}

/* Pop-up Overlay */
.call-popup-overlay {
 display: none; /* Hidden by default */
position: fixed;
 top: 0;
left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.6);
z-index: 100;
 backdrop-filter: blur(5px);
 -webkit-backdrop-filter: blur(5px);
animation: fadeIn 0.3s forwards;
}

/* Pop-up Box */
.call-popup-box {
 position: fixed;
 top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
text-align: center;
width: 90%;
max-width: 400px;
}

/* Pop-up Heading */
.call-popup-box h3 {
font-size: 1.5rem;
font-weight: bold;
 color: #333;
 margin-bottom: 20px;
}

/* Phone number link in call-popup: FIXING VISIBILITY. Using theme red/blue for contrast against white background. */
.call-popup-box a,
.call-popup-box a:link,
.call-popup-box a:visited {
 /* Changed from `white !important` to a visible color. Using the blue from the floating button. */
color: #3B82F6 !important; 
text-decoration: none;
}

.call-popup-box a:hover,
.call-popup-box a:active {
/* Use a darker blue on hover for consistency */
color: #2563EB !important;
}

/* Close Button */
.close-btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
color: #666;
cursor: pointer;
background: transparent;
line-height: 1;
padding: 5px;
}

/* General Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

/* --- Mobile (Small Devices) --- */
@media (max-width: 576px) {
  h2.section-title {
    font-size: 2rem;
  }
  
  .feature-tiles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partners-marquee {
    animation-duration: 40s; /* Speed up marquee on mobile */
  }
  .partner-tile {
    width: 120px;
    height: 60px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
  }
  
  .cookie-consent-box {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}