* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem;
    display: inline-block;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    min-width: 150px;
    top: 100%;
    left: 0;
    z-index: 1001;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
    background: #f9f9f9;
    color: #3498db;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Search Icon and Bar Styles */
.nav-container .nav-links .search-toggle {
    background: #0b1f3a;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #ffffff;
    padding: 0.6rem;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.nav-container .nav-links .search-toggle:hover {
    background: #0b1f3a;
    color: #d4af37;
}

.nav-container .nav-links .search-toggle i {
    color: inherit;
}

.search-icon {
    font-size: 1.2rem;
    cursor: pointer;
    color: #2c3e50;
    transition: color 0.3s;
}

.search-icon:hover {
    color: #3498db;
}

.navbar-search-bar {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 2rem;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 1rem;
    z-index: 1001;
    width: 300px;
}

.navbar-search-bar.active {
    display: flex !important;
    flex-direction: column;
}

.search-bar h3 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #2c3e50;
}

.search-input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-button {
    width: 100%;
    padding: 0.5rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.search-button:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        padding-left: 1rem;
        display: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-toggle {
        /* width: 100%; */
        text-align: left;
    }

    .dropdown-toggle::after {
        float: right;
    }

    .logo img {
        height: 30px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .search-bar {
        display: none;
        position: static;
        width: 100%;
        margin-top: 1rem;
    }
    .search-bar.active {
        display: flex;
    }
}

@media (max-width: 400px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 25px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .menu-toggle {
        font-size: 1.2rem;
    }

    .search-icon {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 750px;
    overflow: hidden;
    margin-top: 60px; /* Account for fixed navbar */
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.slide-1 { background-image: linear-gradient(rgba(0, 0, 0, 0.801), rgba(0, 0, 0, 0.781)), url('./livemore/images/frames-for-your-heart-mR1CIDduGLc-unsplash.jpg'); 
            background-size: 100% 750px;
            background-repeat: no-repeat;  
        }


.slide-2 { background-image: linear-gradient(rgba(0, 0, 0, 0.801), rgba(0, 0, 0, 0.781)), url('./livemore/images/carousel.jpg'); 
            background-size: 100% 750px;
            background-repeat: no-repeat;
            
        }
.slide-3 { background-image: linear-gradient(rgba(0, 0, 0, 0.801), rgba(0, 0, 0, 0.781)), url('./livemore/images/carousel1.jpg'); 

            background-size: 100% 750px;
            background-repeat: no-repeat;
        }



.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.hero--content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 20;
    max-width: 90%;
    padding: 0 1rem;
}

.hero--content h1 {
   font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero--content p {
     font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
     display: inline-block;
    padding: 1rem 2rem;
    background: #c3973e !important;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(195, 151, 62, 0.3);
}

.cta-button:hover {
    background: #0e2e50 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 46, 80, 0.4);
}

/* Tablet Responsive - 768px and below */
@media (max-width: 768px) {
    .hero {
        height: 500px;
    }
    
    .hero--content h1 {
        font-size: 2.5rem;
    }
    
    .hero--content p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    .carousel-prev, .carousel-next {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Mobile Large - 600px and below */
@media (max-width: 600px) {
    .hero {
        height: 450px;
    }
    
    .hero--content {
        max-width: 95%;
        padding: 0 0.5rem;
    }
    
    .hero--content h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero--content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .carousel-prev, .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .carousel-next {
        right: 0.5rem;
    }
}

/* Mobile Medium - 480px and below */
@media (max-width: 480px) {
    .hero {
        height: 400px;
    }
    
    .hero--content h1 {
        font-size: 2rem;
        margin-bottom: 0.7rem;
        line-height: 1.1;
    }
    
    .hero--content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .cta-button {
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .carousel-prev, .carousel-next {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    /* Ensure background images scale properly */
    .slide-1, .slide-2, .slide-3 {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

/* Mobile Small - 400px and below */
@media (max-width: 400px) {
    .hero {
        height: 350px;
        margin-top: 70px; /* Adjust for smaller navbar */
    }
    
    .hero--content {
        max-width: 100%;
        padding: 0 0.75rem;
    }
    
    .hero--content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
        line-height: 1.1;
        font-weight: 600;
    }
    
    .hero--content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 5px;
        margin-top: 0.5rem;
    }
    
    .carousel-prev, .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        padding: 0.3rem;
    }
    
    .carousel-prev {
        left: 0.3rem;
    }
    
    .carousel-next {
        right: 0.3rem;
    }
    
    /* Optimize background images for small screens */
    .carousel-item {
        background-attachment: scroll;
    }
    
    .slide-1, .slide-2, .slide-3 {
        background-size: cover;
        background-position: center 30%;
        background-repeat: no-repeat;
    }
}

/* Mobile Extra Small - 360px and below */
@media (max-width: 360px) {
    .hero {
        height: 320px;
    }
    
    .hero--content h1 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .hero--content p {
        font-size: 0.85rem;
        line-height: 1.25;
        margin-bottom: 0.8rem;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .carousel-prev, .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Mobile Tiny - 320px and below */
@media (max-width: 320px) {
    .hero {
        height: 300px;
    }
    
    .hero--content {
        padding: 0 0.5rem;
    }
    
    .hero--content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    
    .hero--content p {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 0.7rem;
    }
    
    .cta-button {
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
    }
    
    .carousel-prev, .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .carousel-prev {
        left: 0.2rem;
    }
    
    .carousel-next {
        right: 0.2rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        max-height: 400px;
    }
    
    .hero--content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .hero--content p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .cta-button {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .carousel-prev, .carousel-next {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .cta-button {
        min-height: 44px;
        touch-action: manipulation;
    }
}

/* High DPI screens - Ensure crisp images */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .slide-1, .slide-2, .slide-3 {
        background-size: cover;
        -webkit-background-size: cover;
    }
}


/* Info Section */
.info-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.info-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
}

.info-container img {
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bouncing {
    animation: bounce 2s infinite ease-in-out;
}

.info-content {
    width: 50%;
}

.info-content h2 {
    font-size: 2.5rem;
    color: #0e2e50;
    margin-bottom: 1rem;
}

.info-content h3 {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 1rem;
}

.info-content p {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 1rem;
    text-align: justify;
}

.info-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.info-content li {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 0.5rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .info-container img {
        width: 100%;
        max-width: 400px;
    }

    .info-content {
        width: 100%;
    }

    .info-content h2 {
        font-size: 2rem;
    }

    .info-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 400px) {
    .info-container img {
        max-width: 100%;
    }

    .info-content h2 {
        font-size: 1.5rem;
    }

    .info-content h3 {
        font-size: 1.2rem;
    }

    .info-content p,
    .info-content li {
        font-size: 1rem;
    }
}

/* Properties Section */
.property-types {
    padding: 4rem 2rem;
    background: #ffffff;
}

.property-types h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0e2e50;
}

.property-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.property-card {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.property-card.duplex {
    background-image: url('./livemore/images/duplex.jpg') !important;
}

.property-card.bungalow {
    background-image: url('./livemore/images/frames-for-your-heart-mR1CIDduGLc-unsplash.jpg');
}

.property-card.penthouse {
    background-image: url('./livemore/images/penthouse.jpg');
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.card-content .price {
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-container {
        grid-template-columns: 1fr;
    }

    .property-card {
        height: 250px;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .property-types {
        padding: 2rem 1rem;
    }

    .property-card {
        height: 200px;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }
}

/* Featured Properties */

.featured-properties {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.featured-properties h1{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0e2e50;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 20px 0 10px 0;
}

.featured-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative; /* Ensure card context for positioning */
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Container for absolute positioning of sale-tag */
    width: 100%; /* Ensure it takes full width of its container */
    z-index: 10;
}

/* .featured-image.duplex {
    background-image: url('./livemore/carousel1.jpg');
    background-size: 100% 300px !important;
}

.featured-image.bungalow {
    background-image: url('./livemore/5\,000\,000.jpg');
}

.featured-image.penthouse {
    background-image: url('./livemore/images/duplex.jpg');
}

.featured-image.house {
    background-image: url('./livemore/images/frames-for-your-heart-mR1CIDduGLc-unsplash.jpg');
} */

.sale-tag {
     position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 110, 255, 0.863); /* Bright red with high opacity */
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1000; /* Very high z-index to ensure it stays on top */
}

.featured-info {
    padding: 1rem;
    text-align: left;
}

.featured-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.5rem;
}

.featured-size {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 0.5rem;
}

.featured-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.featured-boxes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.featured-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 10px;
    color: #333;
}

.featured-box i {
    color: #000;
}

.see-more-btn {
    display: block;
    margin: 2rem auto 0;
    width: 100px;
    height: 40px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    align-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.see-more-btn:hover {
    background-color: #2980b9;
}

/* View More Button for Featured Properties */
.view-more-container {
    text-align: center;
    margin-top: 1.5rem;
}
.view-more-btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
}
.view-more-btn:hover {
    background: #217dbb;
}

/* Responsive Design for View More Button */
@media (max-width: 600px) {
    .view-more-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}
@media (max-width: 400px) {
    .view-more-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.9rem;
    }
    .view-more-container {
        margin-top: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-container {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 180px;
    }

    .featured-price {
        font-size: 1.3rem;
    }

    .featured-size, .featured-location {
        font-size: 0.9rem;
    }

    .featured-box {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

     .sale-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

     .see-more-btn {
        width: 120px;
        height: 45px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .featured-properties {
        padding: 2rem 1rem;
    }

    .featured-image {
        height: 150px;
    }

    .featured-price {
        font-size: 1.2rem;
    }

    .featured-size, .featured-location {
        font-size: 0.8rem;
    }

    .featured-boxes {
        gap: 0.5rem;
    }

    .featured-box {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

     .sale-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .see-more-btn {
        width: 120px;
        height: 45px;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
    }

}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }   
}
    
/* Footer Section */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem;
    
}

.site-footer .footer-text {
    font-size: 13px;
    text-align: center;
    padding-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.footer-contact p i {
    color: #3498db;
    margin-right: 0.5rem;
}

.footer-contact p strong {
    color: #fff;
}

.footer-contact .office-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.footer-contact .office-line i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact .office-line span {
    display: inline-block;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.footer-map:hover iframe {
    transform: scale(1.02);
}

.footer-links-nav ul {
    list-style: none;
    padding: 0;
}

.footer-links-item {
    margin: 0.5rem 0;
}

.footer-links-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-link:hover {
    color: #3498db;
}

.dropdown-toggle {
    cursor: pointer;
}

.footer-links-sub-menu {
    display: none;
    list-style: none;
    padding-left: 1rem;
}

.dropdown:hover .footer-links-sub-menu {
    display: block;
}

.footer-links-sub-menu a {
    color: #ddd;
    text-decoration: none;
}

.footer-links-sub-menu a:hover {
    color: #fff;
}

hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: #ddd;
}

.footer-text a {
    color: #3498db;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 400px) {
    .site-footer {
        padding: 2rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-map iframe {
        height: 200px;
    }

    .social-icons a {
        font-size: 1.2rem;
    }

    .footer-links-nav ul {
        padding: 0;
    }

    .footer-links-item {
        margin: 0.3rem;
    }

    .footer-links-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    .footer-links-sub-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
    }

    .footer-links-item:hover .footer-links-sub-menu {
        display: block;
    }
}

/* About Section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.842), rgba(0, 0, 0, 0.89)), url('./livemore/images/about.jpg');
    background-size: 100vw 620px;
    background-repeat: no-repeat;
    height: 620px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    z-index: -1;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
}

.about-overview {
    padding: 4rem 2rem;
    background: #f9f9f9;

}

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.overview-text h2 {
    color: #000;
    margin-bottom: 1rem;
}

.overview-text p {
    color: #000;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

.read-more-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: #2980b9;
}

.overview-image img.bouncing {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: #fff;
    overflow-y: auto;
    margin: 5% auto;
    padding: 2rem;
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
    color: #333;
    max-height: 80vh;
}

.modal-content p{
    color: #000;
    line-height: 1.6;
    text-align: justify;
}

.modal-content h2 {
    color: #000;
    margin-bottom: 1rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 400px) {
    .overview-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .overview-image img.bouncing {
        height: auto;
    }

    .read-more-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }

    .modal-content {
        margin: 15% auto;
        width: 90%;
        padding: 1.5rem;
        max-height: 70vh;
    }

    .close-btn {
        font-size: 1.2rem;
    }
}

/* Responsive Design */
@media (max-width: 400px) {
    .about-hero {
         height: 400px !important;
        background-size: 100% 500px;
    }

    .team-hero {
        height: 400px !important;
        background-size: 100% 500px;
    }

    .branch-hero {
        height: 400px !important;
        background-size: 100% 500px;
    }

    .hero-content h1 {
        /* margin-top: -150px !important; */
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .overview-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .overview-image img {
        height: auto;
    }

    .read-more-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }

    .about-team {
        padding: 2rem 1rem;
    }

    .team-container {
        grid-template-columns: 1fr;
    }

    .team-member img {
        height: 150px;
    }

    .about-cta {
        padding: 2rem 1rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
    }

    .modal-content {
        margin: 15% auto;
        width: 90%;
        padding: 1.5rem;
    }

    .close-btn {
        font-size: 1.2rem;
    }
}

/* Team hero Section */
.team-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.810), rgba(0, 0, 0, 0.790)), url('./livemore/team/team.JPG');
    background-size: 100vw 700px;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* Branches */
.branch-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.856), rgba(0, 0, 0, 0.849)), url('./livemore/team/teamwork.JPG');
    background-size: 100vw 700px;
    background-position: center;
    background-repeat: no-repeat;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* Team Section */
.team-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
    text-align: center;
}

.team-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Background images for each team member */
.team-member:nth-child(1) img {
    background-image: url('./livemore/team/Chita.JPG');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.team-member:nth-child(2) img {
    background-image: url('./livemore/team/Emmanuel-Gabriel-Ngwe.jpeg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.team-member:nth-child(3) img {
    background-image: url('./livemore/team/Obioha-Chijioke.jpeg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.team-member:nth-child(4) img {
    background-image: url('./livemore/team/Opoke-David.jpeg');
    background-size: 100% 300px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 300px;
    width: 100%;
}

.team-member:nth-child(5) img {
    background-image: url('./livemore/team/Anefu-Michael.jpeg');
    background-size: 100% 300px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 300px;
    width: 100%;
}


.team-member h3 {
    color: #2c3e50;
    margin: 1rem 0 0.5rem;
}

.team-member p {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.social-icons {
    margin: 1rem 0;
}

.social-icons a {
    color: #2c3e50;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #3498db;
}

.know-more-btn,
.know-more-btn1,
.know-more-btn2,
.know-more-btn3,
.know-more-btn4 {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #c3973e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.know-more-btn:hover,
.know-more-btn1:hover,
.know-more-btn2:hover,
.know-more-btn3:hover,
.know-more-btn4:hover {
    background: #0e2e50;
}

.team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.team-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 2rem;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    color: #333;
    overflow-y: auto;
    max-height: 80vh;
}

.team-modal-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.team-modal-content p {
    color: #000;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1rem;
}

.team-modal-content .email-link {
    color: #000;
    text-decoration: none;
}

.team-modal-content .email-link:hover {
    color: #2980b9;
}

.team-modal-content .phone-link {
    color: #000;
    text-decoration: none;
}

.team-modal-content .phone-link::before {
    content: '📞 ';
}

.team-modal-content .phone-link:hover {
    color: #2980b9;
}

.team-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.team-close-btn:hover {
    color: #2c3e50;
}

/* Scoped styles for the Gwarinpa team section */
.gwarinpa-team-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
    text-align: center;
}

.gwarinpa-team-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.gwarinpa-team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gwarinpa-team-member {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gwarinpa-team-member:nth-child(1) img {
    background-image: url('./livemore/team/timothy.jpg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.gwarinpa-team-member:nth-child(2) img {
    background-image: url('./livemore/team/okoro.JPG');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.gwarinpa-team-member:nth-child(3) img {
    background-image: url('./livemore/team/stella.jpeg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.gwarinpa-team-member:nth-child(4) img {
    background-image: url('./livemore/team/Gladys-Okoro.jpeg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.gwarinpa-team-member:nth-child(5) img {
    background-image: url('./livemore/team/ISAAC-GODWIN.jpeg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.gwarinpa-team-member:nth-child(6) img {
    background-image: url('./livemore/team/ABENEGE-VICTOR.jpeg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.gwarinpa-team-member:nth-child(7) img {
    background-image: url('./livemore/team/Joshua-Okechukwu.jpeg');
    background-size: 100% 350px;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 350px;
    width: 100%;
}

.gwarinpa-team-member h3 {
    color: #2c3e50;
    margin: 1rem 0 0.5rem;
}

.gwarinpa-team-member p {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.gwarinpa-social-icons {
    margin: 1rem 0;
}

.gwarinpa-social-icons a {
    color: #2c3e50;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.gwarinpa-social-icons a:hover {
    color: #3498db;
}

.gwarinpa-know-more-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #c3973e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.gwarinpa-know-more-btn:hover {
    background: #0e2e50;
}

.gwarinpa-team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.gwarinpa-team-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 2rem;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    color: #333;
    overflow-y: auto;
    max-height: 80vh;
}

.gwarinpa-team-modal-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.gwarinpa-team-modal-content p {
    color: #000;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1rem;
}

.gwarinpa-team-modal-content .email-link {
    color: #000;
    text-decoration: none;
}

.gwarinpa-team-modal-content .email-link:hover {
    color: #2980b9;
}

.gwarinpa-team-modal-content .phone-link {
    color: #000;
    text-decoration: none;
}

.gwarinpa-team-modal-content .phone-link::before {
    content: '📞 ';
}

.gwarinpa-team-modal-content .phone-link:hover {
    color: #2980b9;
}

.gwarinpa-team-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.gwarinpa-team-close-btn:hover {
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 400px) {
    .gwarinpa-team-section {
        padding: 2rem 1rem;
    }

    .gwarinpa-team-container {
        grid-template-columns: 1fr;
    }

    .gwarinpa-team-member img {
        height: 200px;
    }

    .gwarinpa-social-icons a {
        font-size: 1.2rem;
    }

    .gwarinpa-know-more-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }

    .gwarinpa-team-modal-content {
        margin: 15% auto;
        width: 90%;
        padding: 1.5rem;
        max-height: 70vh;
    }

    .team-close-btn {
        font-size: 1.2rem;
    }
}


/* Account Section */
.account-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.801), rgba(0, 0, 0, 0.781)), url('./livemore/about.jpg');
    background-size: 100% 650px;
    background-repeat: no-repeat;
    height: 500px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    z-index: -1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
}

.account-details {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;

}

.payment-image {
    background-image: url(./livemore/team/modern-bank-building-entrance-free-photo.jpeg);
    background-repeat: no-repeat;
    background-size: 100% 360px;
    width: 500px;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.payment-image:hover {
    transform: scale(1.05);
}

.account-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.account-card h2 {
    color: #000;
    margin-bottom: 1.5rem;

}

.account-card p {
    color: #000;
    margin: 0.5rem 0;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.account-card p i {
    margin-right: 1rem;
    color: #3498db;
}

.account-cta {
    padding: 4rem 2rem;
    background: #3498db;
    text-align: center;
    color: white;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #fff;
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
    background: #2980b9;
    color: white;
}

/* Animations */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.animate-slideUp {
    animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Improve responsiveness for Account Page */

/* Between 401px and 600px - small tablets & large phones */
@media (max-width: 600px) {
    .details-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .payment-image {
        width: 100%;
        background-size: cover;
        background-position: center;
        height: 250px;
    }

    .account-card {
        padding: 1.5rem;
    }

    .account-card p {
        font-size: 1rem;
        word-break: break-word;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }
}

/* 400px and below - small mobile phones */
@media (max-width: 400px) {
    .account-hero {
        height: 400px !important;
        background-size: 100% 500px;
    }

    .hero-content h1 {

        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .details-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .payment-image {
        width: 100%;
        height: 200px;
    }

    .account-card {
        padding: 1rem;
    }

    .account-card p {
        font-size: 0.9rem;
    }

    .account-cta {
        padding: 1.5rem 1rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}



/* Contact Section */
.contact-hero {
    position: relative;
    height: 590px;
    background-image: url('./livemore/team/contact-us.jpg');
    background-size: 100vw 700px;
    background-repeat: no-repeat;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.774);
    animation: heroFadeIn 1.5s ease-in-out;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
}

/* Contact Details Section */
.contact-details {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.details-container {
    max-width: 1700px;
    margin: 0 auto;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.info-card p {
    color: #666;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.info-card p i {
    margin-right: 1rem;
    color: #3498db;
}

.info-card p a {
    color: #3498db;
    text-decoration: none;
}

.info-card p a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .details-container {
        padding: 0 0.5rem;
    }
    .info-card {
        padding: 1.2rem 0.5rem;
        font-size: 0.98rem;
    }
    .info-card h2 {
        font-size: 1.15rem;
    }
}

@media (max-width: 400px) {
    .info-card {
        padding: 1rem 0.2rem;
    }
    .info-card h2 {
        font-size: 1rem;
    }
    .info-card p {
        font-size: 0.92rem;
    }
}

/* Contact Map Section */
.contact-map {
    padding: 4rem 2rem;
    background: #fff;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-card iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.map-card:hover iframe {
    transform: scale(1.02);
}

.contact-form {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.form-container h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: #3498db;
    outline: none;
}

.form-container textarea {
    height: 150px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: #2980b9;
}

/* Animations */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.animate-slideUp {
    animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 400px) {
    .contact-hero {
       height: 400px !important;
        background-size: 100% 500px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .info-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

   

    .map-card iframe {
        height: 300px;
    }

    .contact-form {
        padding: 2rem 1rem;
    }

    .form-container input,
    .form-container textarea {
        padding: 0.6rem;
    }

    .form-submit {
        padding: 0.6rem 1.5rem;
    }
}


.prop-type-hero {
    position: relative !important;
    height: 400px !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.801), rgba(0, 0, 0, 0.781)), url('./livemore/images/jakub-zerdzicki-R2mMFDpe1eM-unsplash.jpg') !important; 
    background-size: 100% 600px !important;
    background-repeat: no-repeat !important;  
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: white !important;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7) !important;
    animation: heroFadeIn 1.5s ease-in-out !important;
}

.prop-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.prop-hero-content p {
    font-size: 1.2rem;
}

.prop-types {
    padding: 4rem 2rem;
    background: #f9f9f9;
    text-align: center;
}

.prop-types h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.prop-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.prop-card {
    text-decoration: none;
    color: #333;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.prop-card.duplex {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./livemore/images/duplex.jpg') no-repeat center center/cover !important;
}

.prop-card.bungalow {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./livemore/images/bungalow.jpg') no-repeat center center/cover !important;
}

.prop-card.penthouse {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./livemore/images/penthouse.jpg') no-repeat center center/cover;
}

.prop-card-content {
    padding: 2rem;
    text-align: left;
    color: #fff;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.prop-card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.prop-card-content p {
    font-size: 1rem;
}

.prop-cta {
    padding: 4rem 2rem;
    background: #0e2e50;
    text-align: center;
    color: white;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #c3973e;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
    background: #0e2e50;
    color: white;
}

/* Animations */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 400px) {
    .prop-hero {
        height: 250px;
    }

    .prop-hero-content h1 {
        font-size: 1.8rem;
    }

    .prop-hero-content p {
        font-size: 1rem;
    }

    .prop-types {
        padding: 2rem 1rem;
    }

    .prop-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .prop-card-content {
        height: 150px;
        padding: 1.5rem;
    }

    .prop-card-content h3 {
        font-size: 1.5rem;
    }

    .prop-card-content p {
        font-size: 0.9rem;
    }

    .prop-cta {
        padding: 2rem 1rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
    }
}

/* Property Details - Enhanced Mobile Responsiveness */
.prop-detail-hero {
    position: relative;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    animation: heroFadeIn 1.5s ease-in-out;
}

/* Mobile adjustments for property details */
@media (max-width: 400px) {
    .prop-detail-hero {
        height: 250px;
        background-size: cover;
        background-position: center center;
    }

    .prop-detail-hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

.prop-detail-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.prop-detail-hero-content p {
    font-size: 1.2rem;
}

.prop-detail-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.prop-detail-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.prop-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.prop-detail-image {
    height: 300px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.prop-detail-image:hover {
    transform: scale(1.05);
}

.duplex-hero { background-image: url('./livemore/images/duplex.jpg'); }
.bungalow-hero { background-image: url('./livemore/images/bungalow.jpg'); }
.penthouse-hero { background-image: url('./livemore/images/penthouse.jpg'); }
.house-hero { background-image: url('./livemore/images/frames-for-your-heart-mR1CIDduGLc-unsplash.jpg'); }

.prop-detail-text {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* .prop-detail-text h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
} */

.prop-detail-text p {
    color: #000;
    margin: 0.5rem 0;
    font-size: 20px;
    font-weight: 500;
    text-align: justify;
}

.prop-detail-gallery-title {
    color: #000;
    margin: 1rem;
    text-align: center;
}

.prop-detail-gallery {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.prop-detail-gallery-item {
    height: 200px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.prop-detail-gallery-item:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.animate-slideUp {
    animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

}

/* Responsive Design */
@media (max-width: 400px) {
    .prop-detail-hero {
        height: 250px;
    }

    .prop-detail-hero-content h1 {
        font-size: 1.8rem;
    }

    .prop-detail-hero-content p {
        font-size: 1rem;
    }

    .prop-detail-section {
        padding: 2rem 1rem;
    }

    .prop-detail-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .prop-detail-image {
        height: 200px;
    }

    .prop-detail-text {
        padding: 1.5rem;
    }

    .prop-detail-gallery {
        grid-template-columns: 1fr;
    }

    .prop-detail-gallery-item {
        height: 150px;
    }
}

/* Login/Admin */

.login-hero {
    position: relative;
    height: 300px;
    background: url('./livemore/images/jakub-zerdzicki-R2mMFDpe1eM-unsplash.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    animation: heroFadeIn 1.5s ease-in-out;
}

.login-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.login-content {
    padding: 4rem 2rem;
    background: #f9f9f9;
    text-align: center;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-container {
    position: relative;
}

.password-container input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.login-input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.password-container input:focus {
    border-color: #3498db;
    outline: none;
}

.password-container .fa-eye,
.password-container .fa-eye-slash {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.login-submit {
    padding: 0.8rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.login-submit:hover {
    background: #2980b9;
}

.reset-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    display: block;
    margin-top: 1rem;
    transition: color 0.3s;
}

.reset-link:hover {
    color: #2980b9;
}

/* Admin styles */
.admin-hero {
    position: relative;
    height: 300px;
    background: url('./livemore/images/jakub-zerdzicki-R2mMFDpe1eM-unsplash.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    animation: heroFadeIn 1.5s ease-in-out;
}

.admin-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admin-hero-content p {
    font-size: 1.2rem;
}

.admin-content {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.admin-content h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.admin-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-form input[type="text"],
.admin-form input[type="number"] {
    padding: 0.8rem;
    margin-top: 10px;
    width: 500px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.admin-form input[type="text"]:focus,
.admin-form input[type="number"]:focus {
    border-color: #3498db;
    outline: none;
}

.admin-form input[type="file"] {
    padding: 0.8rem;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.admin-submit {
    padding: 0.8rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.admin-submit:hover {
    background: #2980b9;
}

.admin-delete {
    padding: 0.5rem 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.admin-delete:hover {
    background: #c0392b;
}

.admin-edit {
    padding: 0.7rem 1.6rem;
    margin: 10px 0 0 10px;
    background: #27ae60; /* Distinct green color */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s ease;
}

.admin-edit:hover {
    background: #219653; /* Darker green on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.admin-list {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.admin-item:hover {
    transform: translateY(-5px);
}

.admin-item p {
    margin: 0.5rem 0;
    color: #666;
}

.admin-item strong {
    color: #2c3e50;
}

/* Property List styles (unchanged) */

.prop-list-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.prop-list-hero-content p {
    font-size: 1.2rem;
}

.prop-list-search {
    padding: 2rem;
    background: #f9f9f9;
    text-align: center;
}

.prop-list-search .search-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.prop-list-search .search-input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 200px;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #3498db;
    outline: none;
}

.search-button {
    padding: 0.8rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background: #2980b9;
}

.prop-list-featured {
    padding: 4rem 2rem;
    background: #fff;
}

.prop-list-featured h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0e2e50;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.featured-card {
    text-decoration: none;
    color: #333;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 450px;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.featured-image {
    height: 320px;
    position: relative;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.duplex { background-image: url('https://via.placeholder.com/300'); } 
.bungalow { background-image: url('https://via.placeholder.com/300'); }
.penthouse { background-image: url('https://via.placeholder.com/300'); }
.house { background-image: url('https://via.placeholder.com/300'); }

.sale-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c4963c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
}

.featured-info {
    padding: 1.25rem 1rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-price {
    color: #c4963c;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.featured-size {
    color: #000 !important;
    margin-bottom: 0.5rem;
    text-align: left;
    line-height: 1.4;
}

.featured-location {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
    line-height: 1.5;
}

.featured-location i {
    margin-right: 0.5rem;
    color: #c4963c;
   
}

.featured-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: auto;
}

.featured-box {
    text-align: center;
    padding: 0.35rem;
    min-width: 0;
}

.featured-box i {
    color: #c4963c;
    margin-bottom: 0.3rem;
}

.featured-box span {
    color: #666;
    font-size: 0.75rem;
    display: block;
    line-height: 1.3;
}

/* Animations */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

.animate-slideUp {
    animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 400px) {
    .login-hero {
        height: 200px;
    }

    .login-hero-content h1 {
        font-size: 1.8rem;
    }

    .login-content {
        padding: 2rem 1rem;
    }

    .login-form input {
        padding: 0.6rem;
    }

    .login-submit {
        padding: 0.6rem;
    }

    .password-container .fa-eye,
    .password-container .fa-eye-slash {
        right: 5px;
    }

    .reset-link {
        font-size: 0.8rem;
    }

    .admin-hero {
        height: 200px;
    }

    .admin-hero-content h1 {
        font-size: 1.8rem;
    }

    .admin-hero-content p {
        font-size: 1rem;
    }

    .admin-content {
        padding: 2rem 1rem;
    }

    .admin-form input[type="text"],
    .admin-form input[type="number"],
    .admin-form input[type="file"] {
        padding: 0.6rem;
    }

    .admin-submit,
    .admin-delete {
        padding: 0.6rem;
    }

    .admin-item {
        padding: 1rem;
    }

    .prop-list-hero {
        height: 250px;
    }

    .prop-list-hero-content h1 {
        font-size: 1.8rem;
    }

    .prop-list-hero-content p {
        font-size: 1rem;
    }

    .prop-list-search {
        padding: 1rem;
    }

    .prop-list-search .search-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-input {
        width: 100%;
        padding: 0.6rem;
    }

    .search-button {
        width: 100%;
        padding: 0.6rem 1rem;
    }

    .prop-list-featured {
        padding: 2rem 1rem;
    }

    .prop-list-featured h1 {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }

    .featured-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .featured-card {
        border-radius: 12px;
    }

    .featured-image {
        height: 170px;
    }

    .featured-info {
        padding: 0.95rem;
    }

    .featured-price {
        font-size: 1rem;
    }

    .featured-size,
    .featured-location {
        font-size: 0.92rem;
    }

    .featured-boxes {
        gap: 0.35rem;
    }

    .featured-box span {
        font-size: 0.7rem;
    }
}

/* Testimonials Carousel Styles */

.testimonials-section {
    background: #f8f9fa;
    padding: 3rem 1rem;
    text-align: center;
}
.testimonials-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 700;
    letter-spacing: 1px;
}
.testimonial-carousel {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
}

/* Hide carousel next/prev buttons in testimonial carousel */
.testimonial-carousel .carousel-btn {
    display: none !important;
}

.testimonial-slide {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: opacity 0.5s;
}
.testimonial-slide.active {
    display: flex;
    animation: fadeIn 0.7s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}
.testimonial-content {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    width: 100%;
}
.testimonial-comment {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.2rem;
    font-style: italic;
}
.testimonial-name {
    font-size: 1rem;
    color: #3498db;
    font-weight: 600;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    opacity: 0.8;
    transition: background 0.2s;
}
.carousel-btn:hover {
    background: #217dbb;
}
.prev-btn { left: -1.5rem; }
.next-btn { right: -1.5rem; }

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
    gap: 0.5rem;
}
.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-dots .dot.active {
    background: #3498db;
}

@media (max-width: 600px) {
    .testimonial-carousel {
        max-width: 98vw;
    }
    .testimonial-content {
        padding: 1.2rem 0.5rem;
    }
    .carousel-btn {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
    }
    .prev-btn { left: -0.5rem; }
    .next-btn { right: -0.5rem; }
}
@media (max-width: 400px) {
    .testimonials-title {
        font-size: 1.2rem;
    }
    .testimonial-comment {
        font-size: 0.95rem;
    }
    .testimonial-content {
        padding: 1rem 0.2rem;
    }
}

/* Mobile adjustments for 400px and below */
@media (max-width: 400px) {
    .admin-content {
        padding: 2rem 1rem;
    }

    .admin-form {
        width: 100%;
        padding: 0.5rem;
        gap: 0.8rem;
    }

    .admin-form input[type="text"],
    .admin-form input[type="number"],
    .admin-form input[type="file"] {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .admin-submit,
    .admin-delete,
    .admin-edit {
        width: 100%;
        padding: 0.7rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .admin-list {
        padding: 0.5rem;
    }

    .admin-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .admin-item p {
        font-size: 0.85rem;
        word-break: break-word;
    }
}

/* Estates Listing Page Styles */
.estates-hero {
    position: relative;
    height: 450px;
    margin-top: 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./livemore/images/carousel.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.estates-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.estates-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 2rem;
}

.estates-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.estates-hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* Estates Section */
.estates-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.estates-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Estates Grid */
.estates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Estate Card */
.estate-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.estate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.estate-card-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.estate-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.estate-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
}

.estate-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.estate-card-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.estate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #c3973e;
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
}

.estate-card:hover .estate-btn {
    background: #0e2e50;
}

/* Placeholder Card */
.estate-card-placeholder {
    pointer-events: none;
    opacity: 0.7;
}

.estate-card-placeholder .estate-card-content {
    text-align: center;
}

/* Estates CTA */
.estates-cta {
    padding: 4rem 2rem;
    background: #0e2e50;
    text-align: center;
    color: white;
}

.estates-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.estates-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Estates Page */
@media (max-width: 992px) {
    .estates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .estates-hero {
        height: 350px;
    }
    
    .estates-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .estates-hero-content p {
        font-size: 1rem;
    }
    
    .estates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .estate-card-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .estates-hero {
        height: 300px;
    }
    
    .estates-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .estates-section {
        padding: 2rem 1rem;
    }
    
    .estate-card-image {
        height: 220px;
    }
    
    .estate-card-content h3 {
        font-size: 1.2rem;
    }
    
    .estates-cta {
        padding: 2rem 1rem;
    }
    
    .estates-cta h2 {
        font-size: 1.5rem;
    }
}

/* Estate Detail Page Styles */
.estate-detail-hero {
    position: relative;
    height: 500px;
    margin-top: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.estate-detail-hero-content {
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.estate-detail-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.estate-detail-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    line-height: 1.6;
}

/* Estate Video Section */
.estate-video-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 2rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Estate Properties Section */
.estate-properties-section {
    padding: 4rem 2rem;
    background: #fff;
}

.properties-container {
    max-width: 1200px;
    margin: 0 auto;
}

.properties-container .featured-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.properties-container .featured-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.properties-container .featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.properties-container .featured-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.properties-container .featured-info {
    padding: 1.5rem;
}

.properties-container .featured-size {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.properties-container .featured-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.properties-container .featured-boxes {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.properties-container .featured-box {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #555;
}

.properties-container .featured-box i {
    color: #c4963c;
}

/* No Properties State */
.no-properties {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 2rem;
}

.no-properties i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.no-properties h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-properties p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Back to Estates */
.back-to-estates {
    padding: 2rem;
    text-align: center;
    background: #f9f9f9;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #1a252f;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive Estate Pages */
@media (max-width: 992px) {
    .properties-container .featured-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .estate-detail-hero {
        height: 400px;
    }
    
    .estate-detail-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .estate-detail-hero-content p {
        font-size: 1rem;
    }
    
    .properties-container .featured-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .estate-detail-hero {
        height: 350px;
    }
    
    .estate-detail-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .estate-detail-hero-content p {
        font-size: 0.95rem;
    }
    
    .estate-video-section,
    .estate-properties-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .properties-container .featured-image {
        height: 180px;
    }
    
    .properties-container .featured-boxes {
        justify-content: center;
    }
}
