* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946; /* Vibrant Red for bold accents */
    --secondary-color: #457b9d; /* Rich Blue-Green for buttons and highlights */
    --accent-color: #f4a261; /* Warm Orange for subtle emphasis */
    --text-dark: #1d3557; /* Deep Blue for dark text */
    --text-light: #ffffff; /* Clean White for light text */
    --background-light: #f1faee; /* Soft Mint background for sections */
    --transition: all 0.3s ease;
}



body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header and Navigation */
header {
    background: var(--text-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-align: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.logo span {
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.2rem; /* Balanced font size */
    transition: var(--transition);
    padding: 0.6rem 1.1rem; /* Slightly increased padding */
}


nav a:hover, nav a.active {
    color: var(--primary-color);
}

.schedule-btn {
    background: var(--primary-color);
    color: var(--text-light) !important;
    font-size: 1.3rem; /* Moderate size for the button */
    padding: 14px 28px !important; /* Adjusted for balance */
    border-radius: 25px;
}

.schedule-btn:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1613490493576-7fde63acd811');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    margin-top: 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-light);
}

.hero-content h2 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h2 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Gallery Section Styles */
.gallery {
    padding: 60px 0;
    /* background: #f0f8ff; */
    background: linear-gradient(to bottom, #ffffff, #f0f4ff);
    text-align: center;
    /* border-top: 5px solid var(--accent-color); */
}

/* Header Styling */
.gallery .section-header {
    margin-bottom: 40px;
}
.gallery .section-header h2 {
    font-size: 3 rem;
    font-weight: 550;
    color: var(--primary-color); /* Bright color for the heading */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.gallery .section-header .subtitle {
    font-size: 2rem;  /* Increased size */
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Swiper Container */
.swiper-container {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

/* Swiper Slides */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.swiper-slide img {
    width: 100%;
    max-width: 420px; /* Adjust the max-width to control image size */
    height: 280px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}
/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color:var(--primary-color);
    cursor: pointer;
    font-size: 2rem;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}



/* Featured Properties Section */
.featured {
    padding: 8rem 2rem;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem; /* Increased font size */
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); /* Enhanced text-shadow for a more attractive look */
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.property-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.category:hover {
    background: var(--accent-color);
}

.price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--text-light);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.price:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.property-info {
    padding: 2rem;
}

.property-info h3 {
    font-size: 1.3rem;
    white-space: nowrap;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.property-details span {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.property-details span:hover {
    color: var(--primary-color);
}

.property-details i {
    color: var(--primary-color);
    margin-right: 8px;
}

.video-section {
    padding: 8rem 2rem;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--text-light);
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.video-section .section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 4rem;
}

.video-section .subtitle {
    /* color: var(--primary-color); */
    color: rgb(207, 12, 44);
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.video-section h2 {
    font-size: 3rem;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 3rem;
}

.video-placeholder {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder iframe {
    width: 100%;
    height: 500px;
    border: none;
}
/*best deal section*/
.best-deal {
    padding: 8rem 2rem;
    background: var(--background-light);
}

.best-deal .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.best-deal .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.best-deal .deal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.best-deal .stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.best-deal .stat-item:hover {
    transform: translateY(-10px);
    background: var(--primary-color);
    color: var(--text-light);
}

.best-deal .stat-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.best-deal .stat-item:hover i {
    color: var(--text-light);
}

.best-deal .stat-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.best-deal .stat-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.best-deal .stat-item:hover p {
    color: var(--text-light);
}

/* Categories Section */
.categories {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 20%, var(--secondary-color) 80%);
    color: var(--text-light);
  }
  
  .categories-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .category-item {
    text-align: center;
    flex: 1 1 calc(25% - 2rem);
    color: var(--text-light);
  }
  
  .category-item i {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
  
  .category-item h3 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
  }
  
  .category-item p {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  


/* Agents Section */
.agents {
    padding: 8rem 2rem;
    background: var(--background-light);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.agent-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.25,0.1,0.25,1),box-shadow 0.4s cubic-bezier(0.25,0.1,0.25,1);
}

.agent-card img {
    width: 100%;
    height: 300px;
    object-fit:co;
    transition: transform 0.6s cubic-bezier(0.25,0.1,0.25,1);
}

.agent-info {
    padding: 2rem;
    text-align: center;
}

.agent-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: var(--primary-color);
}

.agent-info p {
    color: #666;
    margin-bottom: 1rem;
}

.agent-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.agent-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.agent-social a:hover {
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 2rem;
    background: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ensure 4 cards in a row */
    gap: 2rem;
    max-width: 1400px; /* Increase container width */
    margin: 0 auto;
}

.testimonial-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    width: 100%; /* Ensure cards take full column width */
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.quote {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    margin-bottom: 2rem;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.client-info img:hover {
    transform: scale(1.1);
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.client-info span {
    color: #666;
    font-size: 0.9rem;
}


/* Newsletter Section */
.newsletter {
    padding: 8rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.newsletter-subtitle{
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.sub{
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: var(--background-light);
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: var(--background-light);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--text-light);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background: var(--secondary-color);
}

/* Map Section */
.map {
    height: 450px;
}

.map iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background: #1d3557;
    color: #f1faee;
    padding: 6rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem; /* Increased gap between columns for better spacing */
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Added consistent spacing between elements in each section */
}

.footer-section h3 {
    color: #e63946;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #a8dadc;
}

.footer-description {
    margin-top: 0.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #f1faee;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #e63946;
}

.social-links {
    display: flex;
    gap: 1.2rem; /* Increased gap between social media icons */
}

.social-links a {
    color: #f1faee;
    font-size: 1.8rem;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: #e63946;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    margin-top: 3rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .deal-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.property-card:nth-child(2) {
    animation-delay: 0.2s;
}

.property-card:nth-child(3) {
    animation-delay: 0.4s;
}

.category-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.agent-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.testimonial-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.info-item {
    animation: fadeIn 0.6s ease-out forwards;
}

