:root {
    --primary-red: #c8102e;
    --accent-yellow: #f3ef11;
    --warm-brown: #a77846;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Links */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* ====================
   GRADIENT TEXT UTILITIES
   ==================== */

/* Gradient text for icons and spans */
.gradient-text {
    display: inline-block;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient icon class */
.gradient-icon {
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====================
   CARD STYLES
   ==================== */

/* White card with shadow */
.card-white {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* White card with elevation */
.card-white-elevated {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Gradient background card */
.card-gradient {
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    border-radius: 12px;
    color: white;
}

/* Facebook gradient background */
.bg-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c5ba8 100%);
    color: white;
}



/* ============================================
   REUSABLE BUTTON CLASSES
   Add these to your master CSS file (modern-styles.css)
   ============================================ */

/* Base button style */
.btn-action {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none !important;
    outline: none !important;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    outline: none !important;
}

.btn-action:focus,
.btn-action:active,
.btn-action:visited {
    outline: none !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    border: none !important;
}

/* WhatsApp button */
.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.btn-whatsapp:hover {
    background: #1fab52 !important;
    color: white !important;
}

.btn-whatsapp:focus,
.btn-whatsapp:active,
.btn-whatsapp:visited {
    background: #1fab52 !important;
    color: white !important;
    outline: none !important;
    border: none !important;
}

/* Email/Gradient button */
.btn-gradient {
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%) !important;
    color: white !important;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #a70d26 0%, #8f6339 100%) !important;
    color: white !important;
}

.btn-gradient:focus,
.btn-gradient:active,
.btn-gradient:visited {
    background: linear-gradient(135deg, #a70d26 0%, #8f6339 100%) !important;
    color: white !important;
    outline: none !important;
    border: none !important;
}

/* Button container for flex layout */
.btn-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .btn-container {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
    }
}

/* Override any Bootstrap or other link styles */
a.btn-action,
a.btn-whatsapp,
a.btn-gradient,
a.contact-btn {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
}

a.btn-action:focus,
a.btn-action:active,
a.btn-action:visited,
a.btn-whatsapp:focus,
a.btn-whatsapp:active,
a.btn-whatsapp:visited,
a.btn-gradient:focus,
a.btn-gradient:active,
a.btn-gradient:visited,
a.contact-btn:focus,
a.contact-btn:active,
a.contact-btn:visited {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
}

/* Specific fix for contact buttons */
.contact-btn {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
}

.contact-btn:focus,
.contact-btn:active,
.contact-btn:visited {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
}

/* Fix for thumbnail scroll buttons and other buttons */
button,
button:focus,
button:active,
button:visited {
    outline: none !important;
    border: none;
}

.thumbnail-scroll-btn,
.thumbnail-scroll-btn:focus,
.thumbnail-scroll-btn:active,
.thumbnail-scroll-btn:hover {
    outline: none !important;
    border: none !important;
}

/* Fix for carousel control buttons */
.carousel-control-prev,
.carousel-control-next,
.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-control-prev:active,
.carousel-control-next:active {
    outline: none !important;
    border: none !important;
}

.btn-phone {
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%) !important;
    color: white !important;
}

.btn-phone:hover,
.btn-phone:focus,
.btn-phone:active {
    background: linear-gradient(135deg, #a70d26 0%, #8f6339 100%) !important;
    color: white !important;
    outline: none !important;
    border: none !important;
}

.btn-email {
    background: #a77846 !important;
    color: white !important;
}

.btn-email:hover,
.btn-email:focus,
.btn-email:active {
    background: #8f6339 !important;
    color: white !important;
    outline: none !important;
    border: none !important;
}

.btn-messenger {
    background: #0084FF !important;
    color: white !important;
}

.btn-messenger:hover,
.btn-messenger:focus,
.btn-messenger:active {
    background: #0073e6 !important;
    color: white !important;
    outline: none !important;
    border: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .btn-container {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
    }
}


/* ====================
   BUTTON STYLES
   ==================== */

/* White button with gradient text */
.btn-white-gradient {
    background-color: white;
    color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white-gradient span,
.btn-white-gradient i {
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-white-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Service button style */
.btn-service {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    color: white;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
    color: white;
}

/* ====================
   TEXT UTILITIES
   ==================== */

/* Text colors */
.text-gray {
    color: #666;
}

.text-gray-dark {
    color: #333;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white-95 {
    color: rgba(255, 255, 255, 0.95);
}

/* Font sizes */
.text-large {
    font-size: 1.1rem;
}

.text-medium {
    font-size: 1.05rem;
}

.text-small {
    font-size: 0.95rem;
}

/* Line heights */
.line-height-relaxed {
    line-height: 1.8;
}

.line-height-comfortable {
    line-height: 2;
}

/* ====================
   IMAGE STYLES
   ==================== */

/* Carousel image height */
.carousel-img-height {
    height: 500px;
    object-fit: cover;
    cursor: pointer;
}

/* Property image height */
.property-img-height {
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

/* Contained image */
.img-contained {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
}

/* ====================
   LAYOUT UTILITIES
   ==================== */

/* Grid layouts */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Flex utilities */
.button-flex {
    display: flex;
    gap: 10px;
}

.flex-gap-1 {
    display: flex;
    gap: 1rem;
}

.flex-gap-075 {
    display: flex;
    gap: 0.75rem;
}

.feature-item-flex {
    display: flex;
    align-items: flex-start;
}

/* Feature icon wrapper */
.feature-icon-wrapper {
    font-size: 2rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

/* ====================
   SPACING UTILITIES
   ==================== */

.mt-15 {
    margin-top: 15px;
}

/* ====================
   SECTION HEADING
   ==================== */

.section-heading {
    color: transparent !important;
}

.section-heading .gradient-text {
    display: inline-block;
}

/* Back to top button with gradient icon */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.4);
}

.back-to-top i {
    color: white;
}

/* Body */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 10px;
}

/* Button - View Property */
.btn-view-property {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-view-property:hover {
    background-color: #a00d25;
    transform: translateY(-2px);
    color: white;
}

/* Call to action */

.call-to-action:hover {
    transform: translateY(-8px);
}

/* Contact Section */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0.5rem;
}

.contact-link.email {
    background-color: var(--warm-brown);
}

.contact-link.email:hover {
    background-color: #8a5f38;
}

.contact-link:hover {
    background-color: #a00d25;
    transform: translateY(-2px);
}

.contact-link.whatsapp {
    background-color: #25D366;
}

.contact-link.whatsapp:hover {
    background-color: #20b455;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-hidden {
    display: none;
}

/* Gradient styling for fa-check-circle icons */
.fa-check-circle {
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--warm-brown) 100%);
    color: white;
    padding: 0.6rem 1rem;
    text-align: center;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-icon:hover {
    transform: scale(1.2);
}

.footer-icon-small {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

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

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

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--warm-brown) 100%);
    color: white;
    padding: 2rem 0.5rem;
    text-align: center;
    border-radius: 20px;
    margin-top: 1rem;
}

.hero-section:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hero-section h1 {
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 2rem;
}

/* HTML */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Lightbox Modal */
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--accent-yellow);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 2001;
}

.lightbox-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lightbox-next {
    right: 10px;
}

.lightbox-prev {
    left: 10px;
}

/* Main Layout */
main {
    min-height: calc(100vh - 200px);
    padding: 1rem;
    margin: 0 auto;
}

/* Navbar */
.navbar-brand {
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease, filter 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.navbar-brand i {
    background: linear-gradient(135deg, #fff 0%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-collapse {
    border-radius: 12px;
}

.navbar-custom {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--warm-brown) 100%) !important;
    padding: 0.1rem 0.5rem;
    box-shadow: 0 8px 32px rgba(200, 16, 46, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-custom:hover {
    box-shadow: 0 12px 40px rgba(200, 16, 46, 0.4);
}

.navbar-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: italic;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(243, 239, 17, 0.3);
    outline: none;
}

.navbar-toggler:hover {
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cdefs%3e%3clinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3e%3cstop offset='0%25' style='stop-color:rgb(255,255,255);stop-opacity:1' /%3e%3cstop offset='100%25' style='stop-color:rgb(243,239,17);stop-opacity:1' /%3e%3c/linearGradient%3e%3c/defs%3e%3cpath stroke='url(%23grad)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem !important;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(243, 239, 17, 0.25) 100%);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(243, 239, 17, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover i {
    transform: scale(1.1) rotate(5deg);
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.property-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-card-img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card-text {
    color: #666;
    flex-grow: 1;
}

.property-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

/* Search & Filter */
.search-filter-bar {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Sections */
section {
    margin-bottom: 2rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    color: transparent;
    background-image: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

/* Services Section */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    border-radius: 12px 12px 0 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Skeleton Loading */
.skeleton {
    background: #e0e0e0;
    background-image: linear-gradient(90deg,
            #e0e0e0 0px,
            #f0f0f0 40px,
            #e0e0e0 80px);
    background-size: 400px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: 8px;
}

.skeleton-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.skeleton-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 10px;
}

.skeleton-text.large {
    height: 24px;
}

.skeleton-text.small {
    height: 12px;
}

.skeleton-title {
    height: 48px;
    width: 250px;
    margin: 0 auto 1rem;
}

.skeleton-subtitle {
    height: 24px;
    width: 40%;
    margin: 0 auto 2rem;
}

.skeleton-wrapper {
    display: block;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    padding: 5px;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    margin-bottom: 1rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, #c8102e 0%, #a77846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
}

.team-role {
    color: #666;
    font-style: italic;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {

    .properties-grid,
    .gallery-grid,
    .team-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .hero-section h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .hero-section p {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }

    .hero-section:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

    .lightbox-content {
        padding: 60px 20px;
    }

    .lightbox-nav {
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    .section-title {
        font-size: clamp(1.25rem, 6vw, 2rem);
    }

    .navbar {
        position: relative;
    }

    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-toggler {
        order: 1;
        margin-right: auto;
        z-index: 1001;
    }

    .navbar-brand {
        order: 2;
        flex: 1;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.9rem;
        margin: 0;
    }

    .navbar-collapse {
        order: 3;
        flex-basis: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--warm-brown) 100%);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 12px 12px;
        margin-top: 0;
        z-index: 1000;
    }

    .navbar-collapse.show {
        z-index: 9999 !important;
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 0.75rem 1.5rem !important;
        margin: 0.25rem 0.5rem;
        width: calc(100% - 1rem);
    }
}