/* ==========================================================================
   DIGITAL MARKETING AGENCY FOR REAL ESTATE PAGE
   Uses the same design tokens as website-development.css:
   --color-primary, --color-primary-hover, --color-white,
   --gradient-premium-dark
   FAQ + contact form section reuses the shared .faq-section / .faq-grid
   component (same as website-development.php) — no overrides needed here.
   ========================================================================== */

/* Alert Notification/Success Box (shared) */
.contact-alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.4s ease;
}

.contact-alert.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.contact-alert.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* --- 1. HERO SECTION (Centered, no image) --- */
.realestate-hero {
  background: var(--gradient-premium-dark);
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.realestate-hero .glow-blob-hero {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(231, 24, 27, 0.12) 0%,
    transparent 70%
  );
  top: -10%;
  right: 5%;
  border-radius: 50%;
  z-index: 1;
}

.realestate-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-content-center {
  color: var(--color-white);
  width: 100%;
}

.hero-content-center .badge {
  margin-bottom: 24px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.hero-content-center .badge-pulse {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 35px;
}

.hero-stats-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 780px;
  margin: 0 auto 40px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats-inline .hero-stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}

.hero-stats-inline .hero-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Floating Enquire Badge (shared) */
.float-enquire {
  position: fixed;
  right: 0;
  top: 40%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right bottom;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  border-radius: 8px 8px 0 0;
  z-index: 999;
  box-shadow: -4px 0 20px rgba(231, 24, 27, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-enquire:hover {
  background: var(--color-primary-hover);
  padding-bottom: 34px;
}

.float-enquire i {
  margin-right: 8px;
}

/* --- 2. WHY REAL ESTATE BRANDS SECTION --- */
.why-realestate-section {
  padding: 100px 24px;
  background: var(--color-white);
}

.why-realestate-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.why-realestate-left .section-line {
  margin: 20px 0 25px;
}

.why-realestate-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 20px;
}

.why-realestate-right img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- 3. SERVICES GRID (reuses shared .service-card pattern) --- */
.services-grid-section {
  padding: 100px 24px;
  background: #f8fafc;
}

.services-grid-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.services-subtext {
  max-width: 680px;
  margin: 16px auto 0;
  color: #475569;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 55px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
  border-color: rgba(231, 24, 27, 0.15);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.service-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.service-card:hover h3::after {
  width: 80px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* --- 4. WHO WE SERVE SECTION (sticky left, exactly mirrors the
   strategies-section pattern from website-development.php) --- */
.serve-section {
  padding: 100px 24px;
  background: var(--color-white);
}

.serve-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.serve-left {
  position: sticky;
  top: 100px;
}

.serve-left .section-title {
  margin-bottom: 20px;
}

.serve-left .section-line {
  margin: 0 0 25px 0;
}

.serve-description {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #475569;
}

.serve-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.serve-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.serve-item-card:hover {
  background: var(--color-white);
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.serve-item-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.serve-item-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
}

@media (max-width: 991px) {
  .serve-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .serve-left {
    position: relative;
    top: 0;
  }
}

/* --- 5. AI SEARCH CTA BANNER --- */
.ai-search-banner-section {
  padding: 100px 24px;
  background: #f8fafc;
}

.ai-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.ai-search-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin: 20px 0 30px;
}

.ai-search-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* --- 6. MARKETING PROCESS GRID (reuses shared .service-card style with icon) --- */
.process-section {
  padding: 100px 24px;
  background: var(--color-white);
}

.process-section .container {
  max-width: 1280px;
  margin: 0 auto;
}

.process-subtext {
  max-width: 720px;
  margin: 16px auto 0;
  color: #475569;
  font-size: 1.05rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 55px;
}

.process-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover {
  transform: translateY(-8px);
  background: var(--color-white);
  border-color: rgba(231, 24, 27, 0.15);
  box-shadow: 0 20px 40px rgba(231, 24, 27, 0.05);
}

.process-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(231, 24, 27, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.process-card:hover .process-icon-box {
  background: var(--color-primary);
  color: var(--color-white);
}

.process-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* --- 7. KEYWORDS SECTION (redesigned: icon-card grid) --- */
.keywords-section {
  padding: 100px 24px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.glow-blob-keywords {
  position: absolute;
  top: -15%;
  left: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(231, 24, 27, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.keywords-section .container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.keywords-subtext {
  max-width: 660px;
  margin: 16px auto 0;
  color: #475569;
  font-size: 1.05rem;
}

.keyword-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.keyword-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.keyword-card:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 24, 27, 0.25);
  box-shadow: 0 16px 32px rgba(231, 24, 27, 0.08);
}

.keyword-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(231, 24, 27, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.keyword-card:hover .keyword-card-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.keyword-card-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .keyword-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .keyword-card-grid {
    grid-template-columns: 1fr;
  }
  .keyword-card {
    padding: 16px 18px;
  }
}

/* --- 8. FAQ SECTION ---
   .faq-section / .faq-grid / .faq-info-col / .faq-form-card /
   .faq-form-control / .faq-submit-btn / .faq-accordion-col /
   .faq-right-header / .faq-accordion-container / .faq-item /
   .faq-trigger / .faq-panel / .faq-content
   are all reused as-is from the shared site CSS (same file that styles
   website-development.php) — no page-specific overrides needed here so
   this page matches that FAQ section exactly, content only differs via
   the PHP markup above. */

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 991px) {
  .realestate-hero {
    padding: 100px 16px 60px;
  }
  .hero-stats-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .why-realestate-grid,
  .ai-search-grid {
    grid-template-columns: 1fr;
  }
  .why-realestate-right,
  .ai-search-image {
    order: -1;
  }
  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-stats-inline {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .why-realestate-section,
  .services-grid-section,
  .serve-section,
  .ai-search-banner-section,
  .process-section,
  .keywords-section {
    padding: 60px 16px;
  }
}
