/* Custom Icon Font Placeholder - In a real project, Font Awesome or an SVG sprite would be used.
   These styles provide visual representation to meet the design requirements without external libraries. */
.icon-bed::before { content: '\f236'; /* Placeholder for a bed icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-bath::before { content: '\f2cd'; /* Placeholder for a bath icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-area::before { content: '\f090'; /* Placeholder for an expand icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-home-search::before { content: '\f015'; /* Placeholder for a home icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-sale-tag::before { content: '\f02b'; /* Placeholder for a tag icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-building-m::before { content: '\f1ad'; /* Placeholder for a building icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-chart-up::before { content: '\f200'; /* Placeholder for a chart icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-location::before { content: '\f3c5'; /* Placeholder for a map marker icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-phone::before { content: '\f095'; /* Placeholder for a phone icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-mail::before { content: '\f0e0'; /* Placeholder for an envelope icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-check::before { content: '\f00c'; /* Placeholder for a checkmark icon */ font-family: 'Font Awesome 5 Free'; font-weight: 900; }
.icon-twitter::before { content: '\f099'; } /* Placeholder for Twitter icon */
.icon-facebook::before { content: '\f09a'; } /* Placeholder for Facebook icon */
.icon-instagram::before { content: '\f16d'; } /* Placeholder for Instagram icon */
.icon-linkedin::before { content: '\f0e1'; } /* Placeholder for LinkedIn icon */
/* Note: To make these Font Awesome placeholders work, you would typically include the Font Awesome library.
   For this exercise, the content property with a unicode will visually represent the intent,
   and the styles applied to <i> tags will make them look like icons even without the actual FA font. */


/* CSS Variables */
:root {
    --primary-bg: #F8F8F8;
    --secondary-bg: #FFFFFF;
    --dark-bg: #1A202C;
    --text-color-primary: #2D3748;
    --text-color-secondary: #4A5568;
    --text-color-light: #A0AEC0;
    --text-color-white: #FFFFFF;
    --accent-color: #007B8D; /* Teal-blue */
    --accent-color-light: #0097A7;
    --border-color: #E2E8F0;
    --gradient-start: #007B8D;
    --gradient-end: #00A6B2;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;

    --max-width: 1200px;
    --padding-section: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

/* Base Styles & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    color: var(--text-color-primary);
    background-color: var(--primary-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color-primary);
    line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
p { font-size: 1.05rem; }

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-color-primary);
}
.logo a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.logo a:hover {
    color: var(--accent-color);
}
.logo-footer {
    color: var(--text-color-white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}
.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.text-center {
    text-align: center;
}
.text-white {
    color: var(--text-color-white);
}
.text-white.section-title::after {
    background: var(--text-color-white); /* White line for dark background */
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--padding-section) 0;
}

.bg-dark {
    background-color: var(--dark-bg);
}

.bg-light-gradient {
    background: linear-gradient(to bottom right, var(--primary-bg), #E6F0F2);
}

.shadow-effect {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shadow-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gradient-bg {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
}

/* Header */
.main-header {
    background-color: var(--secondary-bg);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color-secondary);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.main-nav a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav a:hover::before,
.main-nav a.active::before { /* .active class can be added by JS for current page, but only for visual */
    width: 100%;
}

.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh; /* Responsive height */
    min-height: 500px;
    background: url('images/image_11.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeIn 1s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 1px;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
    opacity: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.8s ease-out 0.4s forwards;
    opacity: 1;
}

.hero-text-decor {
    width: 80px;
    height: 5px;
    background: var(--accent-color-light);
    margin: 0 auto;
    border-radius: 3px;
    animation: scaleIn 0.6s ease-out 0.6s forwards;
    opacity: 1;
}

/* Animations (for initial load / visual emphasis) */
@keyframes fadeIn {
    from { opacity: 1; }
    to { opacity: 1; }
}
@keyframes slideInUp {
    from { transform: translateY(20px); opacity: 1; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes scaleIn {
    from { transform: scaleX(0); opacity: 1; }
    to { transform: scaleX(1); opacity: 1; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transform: translateX(-20px);
    opacity: 1;
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.2s; /* Apply delay to reveal-on-scroll elements */
}
.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
}

.about-content {
    transform: translateX(20px);
    opacity: 1;
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.4s; /* Apply delay to reveal-on-scroll elements */
}
.about-content .section-title {
    margin-bottom: 25px;
    text-align: left;
}
.about-content .section-title::after {
    left: 0;
    transform: translateX(0);
}
.about-description {
    margin-bottom: 20px;
    color: var(--text-color-secondary);
}

/* Property Section */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.property-card {
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    opacity: 1;
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.1s + 0.2s); /* Staggered animation */
}
.property-card:nth-child(1) { --i: 0; }
.property-card:nth-child(2) { --i: 1; }
.property-card:nth-child(3) { --i: 2; }
.property-card:nth-child(4) { --i: 3; }

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.property-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--text-color-white);
    padding: 8px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(var(--accent-color-rgb, 0,123,141), 0.3);
}
.property-info {
    padding: 25px;
}
.property-title {
    margin-bottom: 10px;
    color: var(--text-color-primary);
}
.property-location {
    font-size: 0.95rem;
    color: var(--text-color-secondary);
    margin-bottom: 15px;
}
.property-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.property-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}
.property-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.property-details i {
    color: var(--accent-color);
    font-size: 1.1em;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    opacity: 1;
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.1s + 0.2s); /* Staggered animation */
}
.service-card:nth-child(1) { --i: 0; }
.service-card:nth-child(2) { --i: 1; }
.service-card:nth-child(3) { --i: 2; }
.service-card:nth-child(4) { --i: 3; }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}
.service-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(var(--accent-color-rgb, 0,123,141), 0.4);
}
.service-icon-wrapper i {
    font-size: 2.2rem;
    color: var(--text-color-white);
}
.service-title {
    margin-bottom: 15px;
}
.service-description {
    color: var(--text-color-secondary);
}

/* Why Choose Us Section */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-choose-us-content .section-title {
    margin-bottom: 25px;
    text-align: left;
}
.why-choose-us-content .section-title::after {
    left: 0;
    transform: translateX(0);
}
.why-choose-us-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}
.why-choose-us-content ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transform: translateX(-20px);
    opacity: 1;
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.1s + 0.2s);
}
.why-choose-us-content ul li:nth-child(1) { --i: 0; }
.why-choose-us-content ul li:nth-child(2) { --i: 1; }
.why-choose-us-content ul li:nth-child(3) { --i: 2; }
.why-choose-us-content ul li:nth-child(4) { --i: 3; }

.why-choose-us-content ul li .icon-check {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
    background-color: #E6F0F2;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(var(--accent-color-rgb, 0,123,141), 0.2);
}
.why-choose-us-content ul li .icon-check::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.why-choose-us-content ul li p {
    color: var(--text-color-secondary);
}
.why-choose-us-content ul li p strong {
    color: var(--text-color-primary);
    font-weight: 600;
}
.why-choose-us-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transform: translateX(20px);
    opacity: 1;
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.2s;
}
.why-choose-us-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    opacity: 1;
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.1s + 0.2s);
}
.testimonial-card:nth-child(1) { --i: 0; }
.testimonial-card:nth-child(2) { --i: 1; }
.testimonial-card:nth-child(3) { --i: 2; }

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}
.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 4px solid var(--accent-color-light);
    box-shadow: 0 0 0 6px rgba(var(--accent-color-rgb, 0,123,141), 0.2);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    margin-bottom: 20px;
}
.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
}

/* Contact Section */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    transform: translateY(20px);
    opacity: 1;
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}
.card-style {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}
.card-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 15px rgba(var(--accent-color-rgb, 0,123,141), 0.3);
}
.contact-icon i {
    font-size: 2rem;
    color: var(--text-color-white);
}
.contact-title {
    margin-bottom: 10px;
}
.contact-text {
    color: var(--text-color-secondary);
}

.contact-map {
    margin-top: 60px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    opacity: 1;
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}
.map-placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
}
.map-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: var(--text-color-white);
    padding: 20px;
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    padding: 60px 0 40px;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-brand p {
    margin-top: 15px;
    line-height: 1.8;
}

.footer-links h4, .footer-social h4 {
    color: var(--text-color-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    color: var(--text-color-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: var(--text-color-white);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
}
.social-icons i::before {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
}


/* Mobile Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }

    .about-grid, .why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrapper, .why-choose-us-image-wrapper {
        order: -1; /* Image above content on mobile */
        transform: translateY(0);
        animation: fadeIn 0.8s ease-out forwards;
    }
    .about-content, .why-choose-us-content {
        transform: translateY(0);
        animation: fadeIn 0.8s ease-out forwards;
    }
    .about-content .section-title,
    .why-choose-us-content .section-title {
        text-align: center;
    }
    .about-content .section-title::after,
    .why-choose-us-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .main-nav {
        display: none; /* Hide navigation on smaller screens */
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--secondary-bg);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-bottom-left-radius: var(--border-radius-lg);
        border-bottom-right-radius: var(--border-radius-lg);
        transform: translateY(-100%); /* Start hidden */
        transition: transform 0.4s ease-out;
    }
    /* .main-nav.active { display: block; transform: translateY(0); } */ /* For visual reference, but JS is restricted */
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .main-header.active .main-nav { /* for visual representation of menu toggle state */
        transform: translateY(0);
    }
    .main-header.active .mobile-nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .main-header.active .mobile-nav-toggle span:nth-child(2) { opacity: 1; }
    .main-header.active .mobile-nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .property-grid, .services-grid, .testimonials-grid, .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .section-padding {
        padding: 60px 0;
    }
    .contact-map {
        margin-top: 40px;
    }
    .map-placeholder {
        height: 300px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand, .footer-links, .footer-social {
        margin-bottom: 20px;
    }
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    .main-nav {
        top: 70px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .section-title { font-size: 1.8rem; }
    .property-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Fallback for icon display if Font Awesome is not loaded */
i[class^="icon-"]::before {
    font-family: 'Lato', sans-serif; /* Use a web-safe font for fallback text */
    font-weight: bold;
    font-style: normal;
    display: inline-block;
    width: 1em; /* Give some width for basic alignment */
    text-align: center;
}

.icon-bed::before { content: 'B'; }
.icon-bath::before { content: 'A'; }
.icon-area::before { content: 'S'; }
.icon-home-search::before { content: 'H'; }
.icon-sale-tag::before { content: 'T'; }
.icon-building-m::before { content: 'B'; }
.icon-chart-up::before { content: 'C'; }
.icon-location::before { content: 'L'; }
.icon-phone::before { content: 'P'; }
.icon-mail::before { content: 'M'; }
.icon-check::before { content: '✓'; }
.icon-twitter::before { content: 'X'; }
.icon-facebook::before { content: 'f'; }
.icon-instagram::before { content: 'I'; }
.icon-linkedin::before { content: 'in'; }

/* General "reveal-on-scroll" animation for elements. 
   In a real project, this would be triggered by JavaScript Intersection Observer.
   Here it's defined for visual intent, showing initial state. */
@keyframes slideInLeft {
    from { opacity: 1; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 1; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
/* slideInUp is already defined for Hero elements, reused here */

/* Elements that visually represent a reveal-on-scroll effect */
.about-image-wrapper,
.about-content,
.property-card,
.service-card,
.why-choose-us-content,
.why-choose-us-image-wrapper,
.why-choose-us-content ul li,
.testimonial-card,
.contact-info-grid,
.contact-map {
    opacity: 1; /* Default hidden state */
    /* Remove actual animation properties here if you want them to just appear in static version.
       Or keep for a subtle initial load animation. */
}

/* To represent the "reveal" for the static site, I'll add a general fade-in-up for all reveal-on-scroll
   elements with a staggered delay based on their order in the HTML structure.
   This simulates the effect without actual JS. */
body > main > section > .container > * { /* Targets direct children of container within sections */
    animation: fadeIn 1s ease-out forwards;
    opacity: 1;
    animation-delay: 0.1s; /* Base delay for sections */
}

/* More specific staggering for grid items */
.property-card, .service-card, .testimonial-card, .contact-item, .why-choose-us-content ul li {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 1;
    /* Delay set via calc(--i * 0.1s + base_delay) in HTML */
}
.about-image-wrapper { animation: slideInLeft 0.8s ease-out forwards 0.2s; opacity: 1; }
.about-content { animation: slideInRight 0.8s ease-out forwards 0.4s; opacity: 1; }
.why-choose-us-content { animation: slideInLeft 0.8s ease-out forwards 0.2s; opacity: 1; }
.why-choose-us-image-wrapper { animation: slideInRight 0.8s ease-out forwards 0.4s; opacity: 1; }
.contact-map { animation: fadeIn 0.8s ease-out forwards 0.4s; opacity: 1; }

/* Set actual values for --accent-color-rgb for box-shadow rgba */
:root {
    --accent-color-rgb: 0, 123, 141; /* RGB values for #007B8D */
}
/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
