/*
Theme Name: My Custom Theme
Author: Arjun
Description: A basic custom WordPress Theme starter.
Version: 1.0
License: GPLv2 or later
*/

/* ===== RONDO CLT THEME STYLES ===== */

/* Base Variables */
:root {
  --rondo-primary: #1a365d;
  --rondo-secondary: #E4C128;
  --rondo-blue: #4a6fa5;
  --rondo-green: #E3EFE3;
  --rondo-yellow: #FAF4D9;
  --rondo-light-blue: #ECF1F4;
  --rondo-text: #333333;
  --rondo-muted: #666666;
  --rondo-white: #ffffff;
  --rondo-bg: #f8f9fa;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: var(--rondo-text);
  background: var(--rondo-bg);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== HEADER STYLES ===== */
.rondo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--rondo-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav .header-menu,
.header-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.header-nav .header-menu li a,
.header-nav ul li a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--rondo-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.header-nav .header-menu li a:hover,
.header-nav ul li a:hover {
  color: var(--rondo-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-donate {
  background: var(--rondo-secondary);
  color: var(--rondo-primary);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-donate:hover {
  background: #d4af1d;
  transform: translateY(-2px);
}

.btn-contact {
  background: var(--rondo-primary);
  color: var(--rondo-white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: var(--rondo-blue);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--rondo-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--rondo-white);
  padding: 20px 5%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  margin-bottom: 15px;
}

.mobile-menu-list li a {
  font-size: 16px;
  font-weight: 600;
  color: var(--rondo-primary);
  display: block;
  padding: 10px 0;
}

.yellow-span{
	background-image: url(http://housingauthoritydemo.qlogic.io/wp-content/uploads/2025/12/span-yellow.png);
    background-size: 300px 100px;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.mobile-actions .btn-donate,
.mobile-actions .btn-contact {
  text-align: center;
  justify-content: center;
}

/* ===== FOOTER STYLES ===== */
.rondo-footer {
  background: var(--rondo-bg);
  padding: 60px 0 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #ddd;
}

.footer-brand .footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--rondo-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rondo-text);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: var(--rondo-secondary);
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  stroke: var(--rondo-secondary);
  flex-shrink: 0;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--rondo-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  text-decoration: none;
  color: var(--rondo-muted);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--rondo-secondary);
}

/* Newsletter Section */
.footer-newsletter {
  background: var(--rondo-primary);
  padding: 50px 0;
  margin-top: 50px;
}

.newsletter-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}
.newsletter-content{
	width: fit-content;
    margin: auto;
}
.newsletter-content h3 {
  color: var(--rondo-white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.newsletter-content h2 {
  color: var(--rondo-white);
  font-size: 28px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.newsletter-content p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  outline: none;
}

.newsletter-form button {
  background: var(--rondo-secondary);
  color: var(--rondo-primary);
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #d4af1d;
}

/* Footer Bottom */
.footer-bottom {
  background: var(--rondo-primary);
  padding: 20px 0;
}

.footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--rondo-white);
}

/* ===== GLOBAL UTILITIES ===== */
.padding-global {
  padding-left: 5%;
  padding-right: 5%;
}

.container-large {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== RONDO PAGE STYLES ===== */
.rondo-page {
  font-family: 'Open Sans', sans-serif;
}

/* ===== HERO SECTION ===== */
.hero-newhomepage {
  padding-top: 80px;
  background: var(--rondo-bg);
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  min-height: 550px;
  position: relative;
}

.hero-text-content {
    padding-right: 20px;
    position: absolute;
    z-index: 13;
    bottom: 10%;
    left: 2%;
    width: 75%;
}

.hero-text-content .welcome-text {
  font-size: 36px;
  font-weight: 400;
  color: var(--rondo-text);
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.hero-text-content .main-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--rondo-primary);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero-text-content .hero-description {
  font-size: 15px;
  color: var(--rondo-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* Hero Video Container */
.hero-video-container {
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 90vh;
}

.video-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.video-main video,
.video-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay cutout image */
.video-overlay-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 400px;
  z-index: 2;
  filter: brightness(0) saturate(100%) invert(99%) sepia(4%) saturate(365%) hue-rotate(175deg) brightness(98%) contrast(100%);
}

/* ===== CTA LINKS ===== */
.hero-cta-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 25px 0;
  padding-top:0px;
  margin-bottom: 50px;
  margin-left: 24px;
}

.hero-cta-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--rondo-primary);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding-right: 20px;
  border-right: 1px solid #ddd;
}

.hero-cta-link:last-child {
  border-right: none;
}

.hero-cta-link:hover {
  color: var(--rondo-secondary);
}

.hero-cta-link .arrow-icon {
  width: 38px;
  height: 38px;
  background: var(--rondo-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 21px;
  transition: all 0.3s ease;
  text-align: center;
}

.hero-cta-link:hover .arrow-icon {
  background: var(--rondo-secondary);
  transform: translateX(3px);
}

/* ===== OUR IMPACT SECTION ===== */
.benefits-newhomepage {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 50px;
}

.subheading-line {
  width: 40px;
  height: 3px;
  background: var(--rondo-secondary);
  margin-bottom: 15px;
}

.benefits-newhomepage h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--rondo-primary);
  font-family: 'Playfair Display', serif;
}


.benefits-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.benefits-card {
  text-align: center;
  padding: 20px;
}

.benefit-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon-wrap.icon-blue {
  background: var(--rondo-light-blue);
}

.benefit-icon-wrap.icon-yellow {
  background: var(--rondo-yellow);
}

.benefit-icon-wrap.icon-green {
  background: var(--rondo-green);
}

.benefit-icon {
  width: 70px;
  height: 70px;
}

.benefit-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--rondo-primary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.benefit-para {
  font-size: 14px;
  color: var(--rondo-muted);
  line-height: 1.7;
}

/* ===== IMAGE SLIDER ===== */
.slider-wrapper {
  overflow: hidden;
  padding: 30px 0;
  background: var(--rondo-bg);
}

.slider-track {
  display: flex;
  gap: 15px;
  animation: infiniteScroll 25s linear infinite;
  width: max-content;
}

.slider-track img {
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.slider-track .small-image {
  width: 180px;
  height: 220px;
}

.slider-track .large-image {
  width: 300px;
  height: 220px;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== FIND YOUR PATH TO OWNERSHIP ===== */
.ownership-section {
  padding: 80px 0;
  background: var(--rondo-white);
}

.ownership-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.ownership-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--rondo-primary);
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.ownership-header p {
  font-size: 15px;
  color: var(--rondo-muted);
  line-height: 1.8;
}

.ownership-cards {
  display: flex;
  /* gap: 20px; */
  height: 420px;
}

.ownership-card {
 position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  flex: 0 0 280px;
border: 10px solid #2e7391;
	background-color: #2e7391 !important;
	border-color: #2e7391 !important;
	

}
.ownership-card-yellow{
	border-color: #e4c128 !important;
    background-color: #e4c128 !important;
}

.ownership-card-green{
	border-color: #69aa6a !important;
    background-color: #69aa6a !important;
}

.ownership-card.active,.ownership-card:hover {
  flex: 1;

	border: 10px solid #2e7391;
	background-color: #2e7391;
	border-radius: 24px;
	display: flex;
	position: relative;
	overflow: hidden;
	background-color: #2e7391 !important;
	border-color: #2e7391 !important;
}
card-blue

.ownership-card img.card-bg {
  width: 40%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.ownership-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.7) 115%);
  transition: all 0.4s ease;
  border-radius: 24px;
}

.card-yellow,.card-yellow.active{
	border-color: #e4c128 !important;
    background-color: #e4c128 !important;
}

.card-green,.card-green.active{
	border-color: #69aa6a !important;
    background-color: #69aa6a !important;
}

.ownership-card.card-blue{
	background-color: #2e7391 !important;
  border-color: #2e7391 !important;
}
.ownership-card.card-yellow{
	border-color: #e4c128 !important;
    background-color: #e4c128 !important;
}
.ownership-card.card-green{
	border-color: #69aa6a !important;
    background-color: #69aa6a !important;
}

.ownership-card:hover .card-overlay,.ownership-card.active .card-overlay {
  /* background: rgba(0,0,0,0.5); */
	background: unset;
}
.ownership-card:hover .card-content,.ownership-card.active .card-content{
	width: 60%;
    height: 100%;
	left: unset;
}

.ownership-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  color: white;
  transition: all 0.4s ease;
}
.ownership-card:hover  .card-bg,.ownership-card.active  .card-bg{
	width: 40%;
	object-fit:cover;
	border-radius: 24px;
	
}
.ownership-card:not(.active) .card-bg{
  height: 100%;
  object-fit:cover;
	border-radius: 24px;
}
.ownership-card .card-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ownership-card.card-blue .card-icon { background: var(--rondo-light-blue); }
.ownership-card.card-yellow .card-icon { background: var(--rondo-yellow); }
.ownership-card.card-green .card-icon { background: var(--rondo-green); }
.ownership-cards .ownership-card .card-icon img {
  width: 35px;
  height: 35px;
}

.ownership-card .card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ownership-card .card-desc {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.ownership-card:hover .card-desc ,.ownership-card.active .card-desc {
  opacity: 1;
  max-height: 200px;
  margin-top: 10px;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  padding: 80px 0;
  text-align: center;
  background: var(--rondo-white);
}

.quote-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  position: relative;
}

.quote-logo {
  width: 60px;
  height: auto;
  position: absolute;
}

.quote-border {
  width: 100px;
  height: auto;
  animation: rotate360 5s linear infinite;
}
@keyframes rotate360 {
  from {
    /* Start position: 0 degrees rotation */
    transform: rotate(0deg);
  }
  to {
    /* End position: 360 degrees rotation (one full turn) */
    transform: rotate(360deg);
  }
}

.quote-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--rondo-primary);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.5;
  font-family: 'Playfair Display', serif;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rondo-primary);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--rondo-blue);
  transform: translateY(-2px);
}

/* ===== HOMEOWNERSHIP SECTION ===== */
.homeownership-section {
  padding: 80px 0;
  background: var(--rondo-bg);
}

.homeownership-header {
  margin-bottom: 40px;
}

.homeownership-header .subheading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rondo-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.homeownership-header .subheading::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--rondo-muted);
}

.homeownership-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--rondo-primary);
  font-family: 'Playfair Display', serif;
}

.heading-span,.heading-span-2 {
  background-image: url(http://housingauthoritydemo.qlogic.io/wp-content/uploads/2025/12/span-yellow.png);
    background-size: 300px 100px;
}

/* Full width image */
.homeownership-image-full {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 50px;
}

.homeownership-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4 Column Grid */
.homeownership-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.homeownership-column {
  padding: 20px;
  background: var(--rondo-bg);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Hide images on desktop */
.homeownership-column .column-image {
  display: none;
}

.homeownership-column .column-content {
  padding: 0;
}

.homeownership-column:hover {
  transform: translateY(-88px);
  box-shadow: 0px 16.987px 20.385px -3.397px rgba(0, 0, 0, 0.08), 0px 6.795px 6.795px -3.397px rgba(0, 0, 0, 0.03);
}

.homeownership-column.active {
  transform: translateY(-88px);
  box-shadow: 0px 16.987px 20.385px -3.397px rgba(0, 0, 0, 0.08), 0px 6.795px 6.795px -3.397px rgba(0, 0, 0, 0.03);
}

.homeownership-column h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rondo-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.homeownership-column p {
  font-size: 14px;
  color: var(--rondo-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rondo-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

.btn-text:hover {
  color: var(--rondo-secondary);
}

.btn-text .arrow {
  transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
  transform: translateX(4px);
}

/* ===== NEWS SECTION ===== */
.section-news {
  padding: 80px 0;
  background: var(--rondo-white);
}

.section-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-news-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--rondo-primary);
  max-width: 500px;
  font-family: 'Playfair Display', serif;
  line-height: 1.4;
}

.span-yellow {
      background-image: url(http://housingauthoritydemo.qlogic.io/wp-content/uploads/2025/12/span-yellow.png);
    background-size: 300px 100px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--rondo-primary);
  color: var(--rondo-primary);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--rondo-primary);
  color: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-item {
  background: var(--rondo-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--rondo-muted);
  margin-bottom: 10px;
}

.news-date svg {
  width: 14px;
  height: 14px;
}

.news-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--rondo-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-item p {
  font-size: 13px;
  color: var(--rondo-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== EVENTS SECTION ===== */
.section-events {
  padding: 80px 0;
  background: var(--rondo-bg);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.event-item {
  background: var(--rondo-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.event-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-content {
  padding: 20px;
}

.event-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--rondo-primary);
  margin-bottom: 12px;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--rondo-muted);
  margin-bottom: 6px;
}

.event-meta svg {
  width: 14px;
  height: 14px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 0;
  background: var(--rondo-white);
}

.faq-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--rondo-primary);
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Playfair Display', serif;
}

.accordion {
  max-width: 850px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-item button {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--rondo-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-item button:hover {
  color: var(--rondo-secondary);
}

.accordion-item .icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion-item .icon::before,
.accordion-item .icon::after {
  content: '';
  position: absolute;
  background: var(--rondo-secondary);
  transition: transform 0.3s ease;
}

.accordion-item .icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-item .icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.accordion-item button[aria-expanded="true"] .icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.accordion-content {
  padding: 0 0 20px;
  display: none;
}

.accordion-item button[aria-expanded="true"] + .accordion-content {
  display: block;
}

.accordion-content p {
  font-size: 14px;
  color: var(--rondo-muted);
  line-height: 1.8;
}



/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text-content {
    text-align: center;
    padding-right: 0;
  }

  .ownership-cards {
    flex-direction: column;
    height: auto;
 	gap: 20px;
  }

  .ownership-card {
    flex: none;
    height: 300px;
  }

  .homeownership-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
	.ownership-card .card-content{
		    position: relative;
	}
  .ownership-card.active{
        flex: unset;
  }
	.ownership-card.active .card-content,.ownership-card .card-content,.ownership-card:hover .card-content{
		width: 100%;
	}
	.ownership-card .card-bg,.ownership-card:hover .card-bg, .ownership-card.active .card-bg{
		width:100%;
	}
}


@media (max-width: 1134px) {
  .hero-text-content{
        position: relative;
        order: 2;
  }
  .video-overlay-image {
    display: none;
  }
  .video-wrapper {
        height: 500px;
  }
  .hero-cta-links{
    justify-content: center;
  }

}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .news-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-news-header {
    flex-direction: column;
    gap: 20px;
  }

  /* Our Impact - horizontal layout for tablet */
  .benefits-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .benefits-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
    padding: 20px;
    flex-direction: column;
  }
  
  .benefits-card .benefit-icon-wrap {
    margin: 0;
    flex-shrink: 0;
  }
  .benefit-heading {
        text-align: center;
  }

  .benefits-card .benefit-content {
    flex: 1;
  }

  /* Homeownership columns - card with image style for tablet/mobile */
  .homeownership-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .homeownership-column {
    display: flex;
    flex-direction: column;
    background: var(--rondo-white);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
  }

  .homeownership-column:hover,
  .homeownership-column.active {
    transform: translateY(-8px);
  }

  /* Show images on tablet/mobile */
  .homeownership-column .column-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .homeownership-column .column-content {
    padding: 24px;
  }

  .homeownership-column h5 {
    margin-bottom: 12px;
  }

  .homeownership-column p {
    margin-bottom: 16px;
  }

  /* Hide full width image on tablet/mobile */
  .homeownership-image-full {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-text-content .main-title {
    font-size: 32px;
  }

  .hero-text-content .welcome-text {
    font-size: 28px;
  }

  .hero-cta-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-link {
    border-right: none;
    padding-right: 0;
    justify-content: space-between;
    width: 100%;
  }

  .hero-video-container {
    height: 500px;
  }

  .news-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .homeownership-image-full {
    height: 280px;
  }

  .ownership-header h2,
  .homeownership-header h2,
  .section-news-header h2,
  .faq-section h2 {
    font-size: 28px;
  }

  .quote-section h2 {
    font-size: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Ownership cards mobile */
  .ownership-cards {
    gap: 15px;
  }

  .ownership-card {
    height: 250px;
  }
.ownership-card.active{
	height: auto;
}
	.ownership-card,.ownership-card.active{
		flex-direction: column;
		
	}
.hero-text-content{
margin: auto;
left:unset;
    bottom: 15%;
	background-color:#f8f9fa ;
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;
	
}
}

/* Body menu open state */
body.menu-open {
  overflow: hidden;
}
