/* Real Estate Website Custom Styles */

/* Global Styles */
:root {
  --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #ecf0f1;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    /* flex-wrap: nowrap; prevent items wrapping to next line */
}

/* Hamburger always on far right */
.navbar-toggler {
    margin-left: auto;
}

/* Allow brand to shrink so toggler fits on same line */
@media (max-width: 991.98px) {
    /* Keep hamburger on same line by absolutely positioning */
    .navbar-toggler {
        position: absolute;
        right: 1rem;
        top: 0.5rem;
        margin-left: 0; 
    }

    .navbar-brand {
        flex-shrink: 1;
        min-width: 0;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand img {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bg-white) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--bg-white) !important;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
    font-size: 0.7rem;
    color: white !important;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    color: var(--bg-white) !important;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Service Features Inline Styling */

/* Force vertical list for service offers */
.service-features ul{
    flex-direction: column !important;
    gap: 8px;
}
.service-features .feature-item{
    flex-basis: 100% !important;
}
.service-features {
    margin-bottom: 15px;
    width: 100%;
    max-width: 100%;
}

.service-features ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: flex-start;
    line-height: 1.4;
    width: 100%;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-color);
    white-space: nowrap;
    flex-shrink: 0;
    margin: 2px 0;
    min-width: fit-content;
    line-height: 1.4;
    box-sizing: border-box;
    flex-basis: 100%;
}

.feature-item i {
    color: #28a745;
    margin-right: 5px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-features ul {
        gap: 15px;
    }

    .feature-item {
        font-size: 0.8rem;
        margin: 2px 0;
        flex-basis: calc(50% - 8px);
    }

    .feature-item i {
        font-size: 0.8rem;
        margin-right: 4px;
    }
}

@media (max-width: 576px) {
    .service-features ul {
        gap: 10px;
    }

    .feature-item {
        font-size: 0.75rem;
        margin: 2px 0;
        flex-basis: calc(50% - 5px);
    }

    .feature-item i {
        font-size: 0.75rem;
        margin-right: 3px;
    }
}

/* Hero Section */
.hero-section {
    color: white;
    /* padding: 90px 0; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 67px;
    position: relative;
}


/* Hero Logo Overlay */
.hero-logo-overlay {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-logo {
    border-radius: 8px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

 .heritage-section {
     position: relative;
     background: linear-gradient(135deg, rgba(44, 62, 80, 0.92), rgba(52, 152, 219, 0.76)),
         url('../images/hawa-mahal.jpg') center/cover;
     overflow: hidden;
 }

 .heritage-section::before {
     content: '';
     position: absolute;
     inset: 0;
     background: radial-gradient(800px 380px at 15% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
         radial-gradient(650px 320px at 85% 30%, rgba(255, 255, 255, 0.10), transparent 60%);
     pointer-events: none;
 }

 .heritage-section .container {
     position: relative;
     z-index: 1;
 }

 .heritage-card {
     height: 100%;
     border-radius: 18px;
     overflow: hidden;
     background: rgba(255, 255, 255, 0.08);
     border: 1px solid rgba(255, 255, 255, 0.14);
     box-shadow: 0 18px 46px rgba(15, 23, 42, 0.22);
     transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
 }

 .heritage-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
 }

 .heritage-media {
     position: relative;
     height: 180px;
     overflow: hidden;
 }

 .heritage-media img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transform: scale(1.02);
     transition: transform 420ms ease;
 }

 .heritage-card:hover .heritage-media img {
     transform: scale(1.08);
 }

 .heritage-body {
     padding: 16px 16px 18px;
     color: #fff;
 }

 .heritage-title {
     font-weight: 800;
     letter-spacing: 0.2px;
     font-size: 1.05rem;
 }

 .heritage-meta {
     opacity: 0.9;
     font-size: 0.9rem;
     margin-top: 4px;
 }

 .heritage-cta {
     margin-top: 14px;
     font-weight: 700;
     color: rgba(255, 255, 255, 0.95);
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 .heritage-card:focus-visible {
     outline: 3px solid rgba(52, 152, 219, 0.55);
     outline-offset: 4px;
 }

 @media (max-width: 575.98px) {
     .heritage-media {
         height: 160px;
     }
 }

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buy/Rent Choice Section */
.buy-rent-choice {
    overflow: hidden;
    border-radius: 10px;
}

.choice-box {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.choice-buy {
    background: linear-gradient(135deg, rgba(26, 60, 110, 0.85), rgba(26, 60, 110, 0.95)),
                url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.choice-rent {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.75), rgba(183, 28, 28, 0.9)),
                url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.choice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.choice-box:hover .choice-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.choice-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.choice-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.choice-box:hover .choice-content h2 {
    transform: scale(1.05);
}

.choice-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.choice-box:hover {
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .choice-box {
        height: 200px;
    }
    
    .choice-content h2 {
        font-size: 2.5rem;
    }
    
    .choice-content p {
        font-size: 0.95rem;
    }
}

/* Property Cards */
.property-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.property-card img {
  transition: transform 0.5s ease;
}

.property-card:hover img {
  transform: scale(1.05);
}


.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.property-card .card-body {
    padding: 20px;
}

.property-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-card .card-text {
    color: var(--text-light);
    margin-bottom: 15px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.property-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Property Card Button Styles */
.property-card .card-body .btn {
    min-width: 120px; /* Minimum width for consistency */
    min-height: 42px; /* Standardize button height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 15px;
    margin-top: 15px;
    flex: 1; /* Makes buttons equally sized */
    max-width: calc(50% - 5px); /* Two buttons with small gap */
}

/* Specific styles for property card action buttons */
.property-card .card-body > a.btn {
    min-width: 120px;
    min-height: 42px;
    padding: 10px 15px;
    text-align: center;
    display: inline-block;
    margin-top: 15px;
    flex: 1;
}

.property-card .card-body > a.btn:first-child {
    margin-right: 10px; /* Space between buttons */
}

/* Mobile responsiveness for property card buttons */
@media (max-width: 767px) {
    .property-card .card-body .btn,
    .property-card .card-body > a.btn {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    
    .property-card .card-body > a.btn:first-child {
        margin-right: 0; /* Remove right margin on mobile */
    }
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--bg-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-box .feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services Section */
.service-item {
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    pointer-events: none;
    transition: opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 9999;
}

.back-to-top i {
    font-size: 1.2rem;
    line-height: 1;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.back-to-top:active {
    transform: translateY(0) scale(0.98);
}

@media (max-width: 576px) {
    .back-to-top {
        left: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery overlay text styling */
.gallery-item strong {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.88), rgba(52, 152, 219, 0.78)),
        url('../images/hawa-mahal.jpg') center/cover;
    color: var(--bg-white);
    padding: 40px 0 20px;
    margin-top: 40px;
    text-align: center;
}

footer h5 {
    color: var(--bg-white);
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

footer p,
footer a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.6;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline; /* Add underline on hover for better UX */
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white; /* Changed from var(--bg-white) to white for consistency */
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

/* Property Details Page */
.property-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.88), rgba(52, 152, 219, 0.78)),
        url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    /* Full viewport height minus navbar */
    min-height: clamp(320px, 60vh, 560px);
    height: auto;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 67px;
    overflow: hidden;
    
    /* Perfect image fit */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.property-details-page .property-gallery #mainImage {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.property-details-page .property-gallery .thumbnail-img {
    width: 100%;
    height: 78px;
    object-fit: cover;
    border-radius: 12px !important;
    opacity: 0.92;
    transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.property-details-page .property-gallery .thumbnail-img:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.property-details-page .property-info {
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
}

.property-details-page .property-info h3 {
    letter-spacing: 0.2px;
}

.property-details-page .property-info h5 {
    color: var(--primary-color);
    font-weight: 700;
}

.property-details-page .property-info .table {
    margin-bottom: 0;
}

.property-details-page .property-info .table td {
    padding: 10px 0;
    border-color: rgba(222, 226, 230, 0.7);
}

.property-details-page .property-info .table tr:last-child td {
    border-bottom: 0;
}

.property-details-page .property-info ul.list-unstyled li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
    color: var(--text-dark);
}

.property-details-page .property-info ul.list-unstyled li i {
    margin-top: 3px;
}

.property-details-page .property-info .badge {
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
}

.property-details-page .property-price-row {
    gap: 12px;
}

.property-details-page .property-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.property-details-page .property-top-actions .btn {
    white-space: nowrap;
}

.property-details-page .property-info .property-specs .spec-item {
    padding: 14px 10px;
    border-radius: 14px;
    background: rgba(236, 240, 241, 0.55);
}

.property-details-page .property-info .property-specs .spec-value {
    font-size: 1.35rem;
}

.property-details-page .property-info .property-specs .spec-label {
    font-size: 0.85rem;
}

@media (min-width: 992px) {
    .property-details-page .property-info {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 991.98px) {
    .property-details-page .property-gallery #mainImage {
        max-height: 420px;
        border-radius: 14px !important;
    }
}

@media (max-width: 575.98px) {
    .property-details-page .property-gallery #mainImage {
        max-height: 320px;
    }

    .property-details-page .property-gallery .thumbnail-img {
        height: 70px;
    }

    .property-details-page .property-info {
        padding: 22px;
    }

    .property-details-page .property-price-row {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .property-details-page .property-top-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .property-details-page .property-top-actions .btn {
        flex: 1;
    }
}

.property-info {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.property-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.property-specs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.spec-item {
    text-align: center;
    padding: 20px;
}

.spec-item .spec-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Brand column elements */
.footer-logo {
    height: 80px;
    width: auto;
    border-radius: 8px;
}
.footer-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}
.footer-brand p {
    max-width: 280px;
}
.footer-brand .social-links {
    gap: 6px;
}

.spec-item .spec-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Enhanced Responsive Design */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .hero-section h1 {
        font-size: 3.5rem;
        font-weight: 700;
    }

    .hero-section p {
        font-size: 1.3rem;
    }

    .property-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .property-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
}

/* Desktops (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .property-card .card-img-top {
        height: 200px;
    }
}



.map-wrapper {
  position: relative;
}

.map-label {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -100%);
  background: #0d6efd;
  color: #fff;
  padding: 0px 5px;
  border-radius: 20px;
  font-weight: 400;
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.map-label i {
  font-size: 16px;
}

/* Small pointer arrow */
.map-label::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #0d6efd transparent transparent transparent;
}


/* Tablets (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .property-card .card-img-top {
        height: 180px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 35px;
    }

    .service-card,
    .feature-card {
        margin-bottom: 30px;
    }

    .gallery-item {
        margin-bottom: 20px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .hero-section {
        padding: 100px 0 80px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .property-card .card-img-top {
        height: 160px;
    }

    .property-specs {
        flex-direction: column;
        gap: 10px;
    }

    .spec-item {
        margin-bottom: 10px;
        text-align: center;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        height: 30px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .service-card,
    .feature-card {
        margin-bottom: 25px;
    }

    .gallery-item {
        margin-bottom: 15px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-info-card {
        margin-bottom: 20px;
    }
}

/* Mobile Portrait (575px and below) */
@media (max-width: 575px) {

    /* Footer brand alignment */
    .footer-brand {
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
        max-width: 90%;
    }

    /* Hero Section */
    /* Ensure hero content sits below the fixed navbar on very small screens */
    .hero-section {
        min-height: calc(100vh - 56px);
        height: auto;
        padding: 100px 0 60px;
        text-align: center;
        margin-top: 56px;
        /* Ensure images fit properly on mobile */
        background-size: cover;
        background-position: center center;
    }

    /* Improve visibility of outline button against hero gradient */
    .hero-section .btn-outline-primary {
        color: #ffffff;
        border-color: #ffffff;
    }

    .hero-section .btn-outline-primary:hover {
        background-color: #ffffff;
        color: var(--secondary-color);
    }

    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-section .btn-group {
        flex-direction: column;
        gap: 15px;
    }


    /* Navigation */
    .navbar {
        padding: 8px 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
        line-height: 1.3;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .navbar-brand img {
        height: 28px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .brand-text {
        font-size: 1rem;
        font-weight: 600;
        color: var(--bg-white) !important;
        line-height: 1.2;
        display: block;
        white-space: normal;
        word-break: break-word;
        flex: 1;
        min-width: 0;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Typography */
    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Property Cards */
    .property-card {
        margin-bottom: 25px;
        border-radius: 12px;
        overflow: hidden;
    }

    .property-card .card-img-top {
        height: 140px;
    }

    .property-card .card-body {
        padding: 20px;
    }

    .property-card h3 {
        font-size: 1.2rem;
    }

    .property-price {
        font-size: 1.3rem;
    }

    .property-specs {
        flex-direction: column;
        gap: 8px;
    }

    .spec-item {
        margin-bottom: 8px;
        text-align: center;
        padding: 8px;
        background: rgba(52, 152, 219, 0.05);
        border-radius: 8px;
    }

    .spec-item i {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .spec-item span {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Hero buttons spacing fix */
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }

    .hero-section .btn+.btn {
        margin-left: 0;
        /* override ms-3 */
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Service Cards */
    .service-card,
    .feature-card {
        margin-bottom: 20px;
        padding: 25px;
        text-align: center;
    }

    .service-card i,
    .feature-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .service-card h3,
    .feature-card h3 {
        font-size: 1.3rem;
    }

    /* Gallery */
    .gallery-item {
        margin-bottom: 15px;
        border-radius: 10px;
        overflow: hidden;
    }

    .gallery-filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 20px;
    }

    /* Contact Form */
    .contact-form {
        padding: 20px;
        border-radius: 12px;
    }

    .contact-form h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 25px;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-control,
    .form-select {
        padding: 12px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    }

    .contact-info-card {
        margin-bottom: 20px;
        padding: 20px;
        text-align: center;
        border-radius: 12px;
    }

    .contact-info-card i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .contact-info-card h4 {
        font-size: 1.1rem;
    }



    .emi-section {
        background: #d9dadce5;
        color: #fff;
        padding: 60px 0;
    }

    .emi-section input {
        border-radius: 8px;
    }

    .property-card {
        position: relative;
    }

    .save-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        border-radius: 50%;
    }

    .save-btn:hover {
        background: #0d6efd;
        color: #fff;
    }


    /* Footer */
    footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    footer p,
    footer a {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .social-links {
        margin-top: 20px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.1rem;
        color: white; /* Added to ensure social links are white */
        margin: 0 5px;
    }

    /* About Page */
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-item::before {
        left: 5px;
        width: 20px;
        height: 20px;
    }

    /* Property Details */
    .property-details-section {
        padding: 60px 0;
    }

    .property-image-gallery {
        margin-bottom: 30px;
    }

    .property-info {
        text-align: center;
    }

    .property-features {
        margin-top: 30px;
    }

    .property-features ul {
        columns: 1;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 25px;
        text-align: center;
    }

    .testimonial-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .testimonial-author {
        margin-top: 20px;
    }

    .testimonial-author h5 {
        font-size: 1rem;
    }

    .testimonial-author p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .property-card .card-img-top {
        height: 120px;
    }

    .property-card .card-body {
        padding: 15px;
    }

    .property-price {
        font-size: 1.2rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 15px;
    }

    footer {
        padding: 30px 0 15px;
    }

    /* Navigation for very small screens */
    .navbar-brand {
        font-size: 1rem;
        line-height: 1.2;
    }

    .navbar-brand img {
        height: 24px;
        margin-right: 6px;
    }

    .brand-text {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.1;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .property-card .card-img-top {
        height: 120px;
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .navbar-brand img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .property-card .card-img-top {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ticker Section */
.ticker-section{
    background-color: var(--primary-color);
    color:white;
    overflow:hidden;
    padding:6px 0;
}
.ticker-inner{
    display:inline-block;
    white-space:nowrap;
    animation:ticker 30s linear infinite;
}
@keyframes ticker{
    0%{transform:translateX(100%);}100%{transform:translateX(-100%);}
}

/* Contact Info Styling */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    line-height: 1.5;
    text-align: left;
    justify-content: flex-start;
}

.contact-item i {
    color: white;
    font-size: 1rem;
    min-width: 20px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item span {
    flex: 1;
    word-break: break-word;
    text-align: left;
}

/* Footer list spacing */
footer .list-unstyled li {
    margin-bottom: 4px;
    line-height: 1.4;
}

/* Footer background transition */
footer {
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Column Alignment */
footer .col-lg-2,
footer .col-lg-4 {
    display: flex;
    flex-direction: column;
}

footer h5 {
    margin-bottom: 15px;
    height: 30px; /* Ensure consistent height for headers */
    display: flex;
    align-items: center;
}

footer ul {
    flex: 1;
    display: flex;
    flex-direction: column;
}

footer ul li {
    margin-bottom: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 25px;
}

footer .col-lg-4 p {
    margin-bottom: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 25px;
}

/* Mobile Footer Column Alignment */
@media (max-width: 767px) {
    footer .col-lg-2,
    footer .col-lg-4 {
        display: block;
        text-align: center;
    }
    
    footer h5 {
        height: auto;
        margin-bottom: 10px;
        display: block;
    }
    
    footer ul {
        display: block;
    }
    
    footer ul li {
        margin-bottom: 8px;
        min-height: auto;
        display: block;
    }
    
    footer .col-lg-4 p {
        margin-bottom: 8px;
        min-height: auto;
        display: block;
    }
}

/* Ensure consistent spacing */
footer .mb-4 {
    margin-bottom: 1.5rem !important;
}

/* LANGDI RESIDENCY PROJECT STYLES */

/* Gradient Background */
.bg-gradient-primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 50%, #1a365d 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="20" fill="white" opacity="0.03"/><circle cx="80" cy="80" r="30" fill="white" opacity="0.02"/></svg>');
    pointer-events: none;
}

/* Project Carousel */
.project-carousel {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.carousel-inner {
    height: 400px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

/* Video Container in Carousel */
.carousel-video-container {
    width: 100%;
    height: 400px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-video {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Highlight Boxes */
.highlight-box {
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.highlight-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.highlight-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Details */
.project-details h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

.project-details p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

/* Clickable Location Box Hover Effect */
.clickable-location {
    transition: all 0.3s ease;
}
.clickable-location:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Premium Location Modal Styling */
#locationModal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#locationModal .modal-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    border: none;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
}

#locationModal .modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#locationModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

#locationModal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

#locationModal .modal-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 0 0 20px 20px;
}

#locationModal .modal-body ul {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#locationModal .modal-body ul:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

#locationModal .modal-body li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

#locationModal .modal-body li:last-child {
    border-bottom: none;
}

#locationModal .modal-body li:hover {
    background: linear-gradient(90deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
    padding-left: 10px;
    border-radius: 8px;
    margin: 0 -10px;
}

#locationModal .modal-body li strong {
    color: #2c5aa0;
    font-weight: 600;
    margin-left: 8px;
}

#locationModal .modal-footer {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    border: none;
    padding: 20px 30px;
    border-radius: 0 0 20px 20px;
}

#locationModal .modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#locationModal .modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

#locationModal .modal-footer .btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

#locationModal .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Modal Animation */
#locationModal .modal-dialog {
    transition: all 0.3s ease;
}

#locationModal.show .modal-content {
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    #locationModal .modal-content {
        margin: 10px;
        border-radius: 15px;
    }
    
    #locationModal .modal-header {
        padding: 20px;
        border-radius: 15px 15px 0 0;
    }
    
    #locationModal .modal-title {
        font-size: 1.2rem;
    }
    
    #locationModal .modal-body {
        padding: 20px;
    }
    
    #locationModal .modal-body ul {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    #locationModal .modal-body li {
        font-size: 0.85rem;
        padding: 10px 0;
    }
    
    #locationModal .modal-footer {
        padding: 15px 20px;
        border-radius: 0 0 15px 15px;
    }
    
    #locationModal .modal-footer .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Amenity Cards */
.amenity-card {
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.15);
    border-color: #2c5aa0 !important;
}

.amenity-card h5 {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.amenity-card p {
    color: #666;
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

/* SVG icon sizing for amenities */
.amenity-icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: inline-block;
}

/* 5-Column Layout for Amenities */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 1199px) {
    .col-lg-2-4 {
        width: 25%;
    }
}

@media (max-width: 991px) {
    .col-lg-2-4 {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Section Header White Text */
.section-header.text-white h2 {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header.text-white p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-inner {
        height: 300px;
    }

    .carousel-video-container {
        height: 300px;
    }

    .highlight-value {
        font-size: 1.5rem;
    }

    .section-header.text-white h2 {
        font-size: 1.8rem;
    }

    .project-details {
        margin-top: 2rem;
    }

    .amenity-card {
        margin-bottom: 1rem;
    }
}

/* ============================================
   TERMS & PRIVACY PAGE STYLES
   ============================================ */

.terms-container {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 66px;
}

.terms-section-title {
    color: #ff6b6b;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 10px;
}

.terms-subsection-title {
    color: #2c5aa0;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-content {
    line-height: 1.8;
    color: #555;
}

.terms-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.terms-content ul,
.terms-content ol {
    margin-bottom: 15px;
    margin-left: 20px;
}

.terms-content li {
    margin-bottom: 8px;
}

.terms-highlight-box {
    background: #fff3cd;
    border-left: 4px solid #ff6b6b;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.toc {
    background: #f0f7ff;
    border: 2px solid #2c5aa0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.toc h5 {
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 15px;
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.toc a:hover {
    text-decoration: underline;
}

.last-updated {
    color: #888;
    font-style: italic;
    margin-bottom: 20px;
}

/* Project Image Cards */
.project-image-card {
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-image-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-image-card:hover .project-overlay {
    transform: translateY(0);
}

.project-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.project-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.project-price {
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        right: 10px;
    }
}

