/* Embed the exact Algerian font locally */
@font-face {
    font-family: 'Algerian Exact';
    src: url('../fonts/algerian.woff2') format('woff2'),
         url('../fonts/algerian.woff') format('woff'),
         url('../fonts/algerian.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #33367f;
    --primary-hover: #25275e;
    --text-dark: #414042;
    --bg-light: #f6f6f6;
    --white: #ffffff;
}
body { font-family: 'Work Sans', sans-serif; margin: 0; padding: 0; background-color: var(--bg-light); color: var(--text-dark); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Yanone Kaffeesatz', sans-serif; color: var(--text-dark); font-weight: normal; margin-top: 0; }
a { color: var(--primary); text-decoration: none; }

/* Image Skeleton Loader */
img.img-loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    color: transparent !important;
    position: relative;
}
img.img-loading-skeleton::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; height: 30px;
    border: 3px solid #ccc;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
}
@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes spinLoader {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Header */
header { background: var(--white); padding: 0 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); flex-wrap: wrap; position: relative; z-index: 100; }
.logo-img { height: 70px; object-fit: contain; position: relative; z-index: 101; }
nav { display: flex; align-items: center; justify-content: flex-end; flex-grow: 1; }
nav a { margin-left: 8px; font-weight: 600; font-size: 17px; color: var(--text-dark); transition: all 0.3s; padding: 10px 16px; border-radius: 4px; }
nav a:hover { color: var(--white); background-color: var(--primary); }

.menu-toggle { display: none; font-size: 30px; cursor: pointer; color: var(--primary); background: none; border: none; padding: 5px; }

/* Mobile Navigation */
@media (max-width: 900px) {
    header { padding: 10px 20px; }
    .menu-toggle { display: block; }
    nav { display: none; width: 100%; flex-direction: column; background: var(--white); margin-top: 15px; position: absolute; top: 70px; left: 0; box-shadow: 0 10px 10px rgba(0,0,0,0.1); }
    nav.active { display: flex; }
    nav a { margin: 0; padding: 15px 20px; border-bottom: 1px solid #f0f0f0; width: 100%; box-sizing: border-box; }
    nav a:last-child { border-bottom: none; }
}

/* Hero Carousel */
.hero-slider { position: relative; width: 100%; height: 500px; overflow: hidden; background: #ddd; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; object-fit: cover; }
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,0.6); pointer-events: none; padding: 20px; box-sizing: border-box; }
.hero-subtitle { font-family: 'Brody EF Regular', 'Great Vibes', 'Brush Script MT', cursive; font-size: 42px; color: #37337A; margin: 0 0 5px 0; font-weight: normal; }
.hero-title { font-family: 'Algerian Exact', 'Algerian Mesa Regular', 'Algerian', 'Rye', serif; font-size: 64px; color: #37337A; margin: 0 0 5px 0; font-weight: normal; letter-spacing: 2px; }
.hero-sub-subtitle { font-family: 'Work Sans', sans-serif; font-size: 20px; color: #37337A; margin: 0 0 30px 0; font-weight: 600; }
.hero-btn { background: rgba(255, 255, 255, 0.9); color: var(--text-dark); border: 2px solid var(--text-dark); font-weight: bold; padding: 15px 40px; border-radius: 30px; font-size: 16px; pointer-events: auto; transition: all 0.3s ease; text-decoration: none; display: inline-block; font-family: 'Work Sans', sans-serif; }
.hero-btn:hover { background: var(--text-dark); color: white; border-color: var(--text-dark); }

@media (max-width: 768px) {
    .hero-slider { height: 400px; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
    .hero-btn { padding: 12px 30px; font-size: 14px; }
}

/* Dream Home Section */
.dream-home-section { 
    position: relative;
    background-image: url('../images/dream-home-bg.jpg'); 
    background-size: cover; 
    background-position: center 60%; 
    padding: 100px 20px; 
    text-align: center;
    color: white; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.dream-home-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 15, 40, 0.7); /* Elegant dark overlay */
    z-index: 1;
}
.dream-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.dream-title { font-family: 'Yanone Kaffeesatz', sans-serif; font-size: 56px; margin: 0 0 15px 0; color: #ffffff; font-weight: normal; letter-spacing: 1px; }
.dream-text { font-size: 20px; line-height: 1.6; margin: 0 0 30px 0; font-family: 'Work Sans', sans-serif; color: #e0e5ff; font-weight: 300; }
.dream-left-new { flex: 1; min-width: 300px; text-align: left; }
.dream-right-new {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: left;
}
.dream-right-new h3 {
    color: var(--primary);
    font-size: 26px;
    font-family: 'Work Sans', sans-serif;
    margin: 0 0 20px 0;
    text-align: center;
}
.vertical-dream-form { display: flex; flex-direction: column; gap: 12px; }
.vertical-dream-form input, .vertical-dream-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.vertical-dream-form input:focus, .vertical-dream-form textarea:focus { border-color: var(--primary); }
.dream-submit-btn {
    width: 100%; background: var(--primary); color: white; border: none; padding: 14px;
    border-radius: 8px; font-weight: 600; font-size: 16px; cursor: pointer; transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif; margin-top: 5px;
}
.dream-submit-btn:hover { background: var(--primary-hover); transform: translateY(-2px); }

@media (max-width: 768px) {
    .dream-title { font-size: 40px; text-align: center; }
    .dream-text { font-size: 16px; text-align: center; }
    .dream-home-section { padding: 50px 20px; }
    .dream-right-new { flex: 1 1 100%; padding: 25px; }
}

/* Tier Sections */
.tier-section { padding: 40px 20px 20px 20px; }
.tier-title { text-align: center; font-size: 36px; margin: 0 0 20px 0; color: var(--primary); font-weight: bold; }

/* Carousel Container */
.carousel-container { position: relative; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; }
.carousel-btn { background: var(--primary); color: white; border: none; font-size: 24px; padding: 10px; cursor: pointer; border-radius: 50%; z-index: 10; flex-shrink: 0; }
.carousel-btn:hover { background: var(--primary-hover); }
.carousel { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 20px; padding: 10px; flex-grow: 1; -ms-overflow-style: none; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }

/* Property Card */
.property-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s ease; min-width: 300px; flex: 0 0 300px; }
.property-card:hover { transform: translateY(-5px); }
.property-image { width: 100%; height: 400px; object-fit: cover; }
.property-details { padding: 15px; text-align: center; }
.property-title { font-size: 24px; margin: 0 0 10px; }
.btn { display: inline-block; background-color: var(--primary); color: var(--white); padding: 10px 20px; border-radius: 4px; border: 1px solid var(--primary); }

@media (max-width: 768px) {
    .property-card { min-width: 250px; flex: 0 0 250px; }
    .carousel-btn { display: none; }
    .tier-title { font-size: 28px; }
}

/* Partner Logos (Trusted By) */
.partner-section { text-align: center; padding: 40px 20px; background: white; }
.partner-section h3 { color: var(--primary); font-size: 28px; margin-bottom: 30px; }
.partner-track { display: flex; align-items: center; overflow-x: auto; scroll-behavior: smooth; gap: 30px; -ms-overflow-style: none; scrollbar-width: none; }
.partner-track::-webkit-scrollbar { display: none; }
.partner-logo { height: 80px; object-fit: contain; min-width: 150px; flex: 0 0 150px; }

/* Google Reviews */
.review-card { background: #f8f9fa; flex: 0 0 340px; min-width: 300px; border-radius: 4px; padding: 25px; box-sizing: border-box; font-family: 'Work Sans', sans-serif; text-align: left; }
.review-header { display: flex; align-items: center; margin-bottom: 15px; }
.review-photo { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; margin-right: 15px; }
.review-letter-avatar { width: 45px; height: 45px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; margin-right: 15px; }
.review-info { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.review-info h4 { margin: 0 0 3px 0; font-size: 16px; color: #202124; font-family: Arial, Helvetica, sans-serif; font-weight: bold; letter-spacing: 0.2px; }
.review-date { font-size: 13px; color: #999; margin: 0; }
.google-icon { margin-left: 10px; display: flex; align-items: center; }
.review-stars { margin-bottom: 15px; }
.review-text { font-size: 15px; line-height: 1.6; color: #333; margin: 0; }
@media (max-width: 768px) {
    .review-card { flex: 0 0 280px; min-width: 280px; }
}

/* Global Utilities */
.highlight-text { font-size: 18px !important; color: var(--primary) !important; font-weight: 600; }

/* Modern Footer */
.site-footer {
    background-color: var(--primary);
    color: #fff;
    padding: 60px 20px 20px;
    font-family: 'Work Sans', sans-serif;
    margin-top: 40px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.footer-col-left { flex: 1.5; min-width: 250px; }
.footer-col { flex: 1; min-width: 200px; }

.footer-logo-box {
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
}
.footer-logo-box img { height: 40px; object-fit: contain; }
.footer-col-left h3 { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 18px; margin: 0 0 5px 0; color: white; }
.footer-col-left p { margin: 5px 0; font-size: 14px; color: #b8c6f0; line-height: 1.6; }

.footer-col h4 { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 18px; margin-top: 0; margin-bottom: 20px; color: white; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b8c6f0; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: white; }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: #b8c6f0;
}

@media (max-width: 768px) {
    .footer-content { flex-direction: column; gap: 30px; }
    .footer-col-left, .footer-col { min-width: 100%; text-align: center; }
    .footer-logo-box { margin: 0 auto 20px; display: block; max-width: 120px; }
}
