/* ============================================
   Modern UI/UX Design System for Icecool Hotspots
   ============================================ */

/* ===== CSS Variables & Design Tokens ===== */
:root {
    /* Primary Colors - Modern Blue/Purple Gradient */
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;
    
    /* Accent Colors - Purple/Violet */
    --accent-50: #faf5ff;
    --accent-100: #f3e8ff;
    --accent-200: #e9d5ff;
    --accent-300: #d8b4fe;
    --accent-400: #c084fc;
    --accent-500: #a855f7;
    --accent-600: #9333ea;
    --accent-700: #7e22ce;
    --accent-800: #6b21a8;
    --accent-900: #581c87;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #222e68 0%, #ffffff 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #222e68 0%, #ffffff 50%, #f9f9f9 100%);
    --gradient-card: linear-gradient(135deg, rgba(34, 46, 104, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 40px rgba(34, 46, 104, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-600);
}

/* ===== Navigation ===== */
.navbar {
    /* background: rgba(255, 255, 255, 0.98) !important; */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    padding: 1rem 0;
    
}

.navbar.scrolled {
    backdrop-filter: blur(70);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) 0;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--gray-700) !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: #222e68 !important;
    background: rgba(34, 46, 104, 0.1);
}

.navbar.scrolled .navbar-nav .nav-link.active {
    color: #222e68 !important;
    background: rgba(34, 46, 104, 0.1);
}

.navbar.scrolled .navbar-nav .nav-link::before {
    background: #222e68;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-logo {
    height: 105px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-base);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1) rotate(2deg);
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-icon {
    font-size: 1.5rem;
    color: var(--primary-600);
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 35px;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
}

.navbar-nav .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    margin: 0 var(--spacing-xs);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
    transition: transform var(--transition-base);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-600) !important;
    background: var(--gray-50);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.navbar-nav .dropdown-item {
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
}

.navbar-nav .dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(4px);
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #222e68;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(34, 46, 104, 0.3);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(34, 46, 104, 0.4);
    color: white;
    background: #1a2452;
}

.btn-outline-primary {
    border: 2px solid #222e68;
    color: #222e68;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #222e68;
    color: white;
    border-color: #222e68;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== Hero Section ===== */
.hero-section {
    background:url('../images/sectio-img/hero.jpg');
    color: white;
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: 150px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(34, 46, 104, 0.3) 100%);
    pointer-events: none;
    will-change: transform;
    transform: translateY(var(--parallax-before-y, 0px));
    transition: transform 0.1s ease-out;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
    will-change: transform;
    transform: translateY(var(--parallax-after-y, 0px)) translate(0, 0) rotate(0deg);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    will-change: transform;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5), 0 1px 5px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== About Parallax Section ===== */
.about-parallax-section {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.about-parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(34, 46, 104, 0.15) 100%);
    pointer-events: none;
    will-change: transform;
    transform: translateY(var(--parallax-before-y, 0px));
    transition: transform 0.1s ease-out;
    z-index: 0;
}

.about-parallax-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
    will-change: transform;
    transform: translateY(var(--parallax-after-y, 0px)) translate(0, 0) rotate(0deg);
    z-index: 0;
}

.about-parallax-content {
    position: relative;
    z-index: 2;
    will-change: transform;
    color: white;
}

/* ===== Search Tabs ===== */
.search-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs);
    border-radius: var(--radius-xl);
    width: fit-content;
}

.search-tab {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.search-tab.active {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.search-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ===== Search Form ===== */
.search-form {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.search-input-group {
    display: flex;
    gap: 0;
    align-items: stretch;
    border-radius: 0.75rem;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1.25rem 1.75rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
    color: #1f2937;
}

.search-input:focus {
    outline: none;
    background: #f9fafb;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-btn {
    padding: 1.25rem 2.5rem !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    white-space: nowrap;
    background: #222e68 !important;
    color: white !important;
    border: none !important;
}

/* ===== Stats Cards ===== */
.stats-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.stats-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.stats-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-text {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== Features Section ===== */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    position: relative;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #222e68;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #222e68 0%, #ffffff 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #222e68;
    box-shadow: 0 4px 6px -1px rgba(34, 46, 104, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 15px -3px rgba(34, 46, 104, 0.4);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-text {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ===== What We Offer Section ===== */
.what-we-offer-section {
    padding: 5rem 0;
    background: white;
    position: relative;
}

.offer-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.offer-card:hover::before {
    transform: scaleX(1);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #222e68;
}

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #222e68 0%, #ffffff 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(34, 46, 104, 0.3);
    transition: all 0.3s ease;
}

.offer-card:hover .offer-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 15px -3px rgba(34, 46, 104, 0.4);
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #1f2937;
    line-height: 1.4;
}

.offer-card:hover .offer-title {
    color: #222e68;
}

/* ===== Properties Section ===== */
.properties-section {
    padding: 5rem 0;
    background: white;
}

.property-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    position: relative;
}

.property-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    border-radius: var(--radius-2xl);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #222e68;
}

.property-card:hover::after {
    opacity: 0.03;
}

.property-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: linear-gradient(135deg, #222e68 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222e68;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.property-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--gradient-secondary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.property-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222e68;
    margin-bottom: 0.5rem;
}

.property-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    line-height: 1.4;
}

.property-address {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.property-address::before {
    content: '📍';
    font-size: 0.875rem;
}

.property-features {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.property-feature i {
    color: #222e68;
    font-size: 1.1rem;
}

.property-footer {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.favorite-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: var(--spacing-xs);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn:hover {
    background: var(--gray-100);
    transform: scale(1.1);
}

.favorite-btn.active,
.favorite-btn:hover {
    color: #ef4444;
}

.favorite-btn.active {
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

/* ===== Properties Hotspots Section ===== */
.properties-hotspots-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f9fafb 0%, white 100%);
    position: relative;
}

.properties-hotspots-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

/* ===== Modern Country Cards ===== */
.country-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.country-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.country-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    z-index: 1;
}

.country-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #222e68;
}

.country-card-modern:hover::before {
    transform: scaleX(1);
}

.country-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #222e68 0%, #ffffff 100%);
}

.country-image img {
    transition: transform var(--transition-base);
}

.country-card-modern:hover .country-image img {
    transform: scale(1.05);
}

.country-card-body {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.country-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    transition: color var(--transition-base);
}

.country-card-modern:hover .country-name {
    color: #222e68;
}

.country-count {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    margin: 0;
}

/* ===== Legacy Country Cards (for backward compatibility) ===== */
.country-card {
    transition: all var(--transition-base);
    border: 2px solid var(--gray-200) !important;
    background: white !important;
}

.country-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl) !important;
    background: var(--gradient-primary) !important;
    border-color: transparent !important;
}

.country-card:hover h5,
.country-card:hover p {
    color: white !important;
}

.country-card h5 {
    font-weight: 700;
    transition: color var(--transition-base);
}

.country-card p {
    transition: color var(--transition-base);
}

/* ===== Footer Styles ===== */
.footer-modern {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.footer-modern a {
    text-decoration: none;
}

.footer-modern a:hover {
    color: white !important;
}

.footer-credit-logo img {
    filter: brightness(1.1);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #222e68 0%, #1a2452 50%, #222e68 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.8;
}

.cta-section .btn-light {
    background: white;
    color: #222e68;
    border: 2px solid white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: var(--gradient-hero);
    color: white;
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-md);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.newsletter-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.newsletter-input::placeholder {
    color: var(--gray-400);
}

/* ===== Forms ===== */
.form-control,
.form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    font-size: 0.95rem;
    background: white;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
    font-weight: 600;
}

.card-body {
    padding: var(--spacing-xl);
}

/* ===== Info Items ===== */
.info-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

.info-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #222e68 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.info-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Property Detail ===== */
.property-detail-hero-section {
    position: relative;
}

.property-detail-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.property-detail-image-wrapper {
    transition: all 0.3s ease;
}

.property-detail-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

.property-stats-card,
.property-description-card,
.property-features-card,
.price-card,
.property-details-card {
    transition: all 0.3s ease;
}

.property-stats-card:hover,
.property-description-card:hover,
.property-features-card:hover,
.price-card:hover,
.property-details-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
}

.property-stat-item {
    transition: all 0.3s ease;
}

.property-stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-tag-modern {
    transition: all 0.3s ease;
}

.feature-tag-modern:hover {
    background: linear-gradient(135deg, #222e68 0%, #ffffff 100%) !important;
    color: #222e68 !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(34, 46, 104, 0.3);
}

.property-detail-item {
    transition: all 0.2s ease;
}

.property-detail-item:hover {
    background: #f9fafb;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    border-radius: 0.5rem;
}

.property-sidebar {
    position: sticky;
}

/* ===== Modern Modal Styles ===== */
.modern-modal {
    border: none;
    overflow: hidden;
    max-width: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.modern-modal .modal-dialog {
    margin: 1.75rem auto;
}

.modern-modal-header {
    position: relative;
    background: linear-gradient(135deg, #222e68 0%, #ffffff 100%) !important;
    color: #222e68 !important;
    padding: 2.5rem 2.5rem 2rem !important;
    border: none !important;
}

.modern-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.modern-modal-header .modal-title {
    color: #222e68 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.modern-modal-header .small {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.875rem;
    font-weight: 400;
}

.modal-icon-wrapper {
    width: 56px !important;
    height: 56px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    color: white !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.modern-modal-header:hover .modal-icon-wrapper {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25) !important;
}

.modern-modal-header .btn-close {
    opacity: 0.9 !important;
    filter: brightness(0) invert(1);
    transition: all 0.2s ease;
}

.modern-modal-header .btn-close:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

.modern-modal .modal-body {
    padding: 2.5rem !important;
    background: #ffffff;
}

/* ===== Modern Form Styles ===== */
.form-group-modern {
    margin-bottom: 1.75rem;
}

.form-label-modern {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.form-label-modern i {
    color: #222e68;
    font-size: 1.125rem;
    margin-right: 0.625rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    width: 20px;
    flex-shrink: 0;
}

.form-group-modern:focus-within .form-label-modern i {
    transform: scale(1.1);
    color: #222e68;
}

.form-label-modern .text-danger {
    color: #ef4444 !important;
    margin-left: 0.25rem;
    font-weight: 600;
}

.input-wrapper-modern {
    position: relative;
    width: 100%;
}

.input-wrapper-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #222e68, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-wrapper-modern:focus-within::after {
    opacity: 1;
}

.form-control-modern,
input.form-control-modern,
textarea.form-control-modern,
.modern-modal input[type="text"],
.modern-modal input[type="email"],
.modern-modal input[type="tel"],
.modern-modal input[type="date"],
.modern-modal textarea {
    width: 100% !important;
    padding: 0.9375rem 1.25rem !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 0.625rem !important;
    font-size: 0.9375rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.form-control-modern:focus,
input.form-control-modern:focus,
textarea.form-control-modern:focus,
.modern-modal input[type="text"]:focus,
.modern-modal input[type="email"]:focus,
.modern-modal input[type="tel"]:focus,
.modern-modal input[type="date"]:focus,
.modern-modal textarea:focus {
    outline: none !important;
    border-color: #222e68 !important;
    box-shadow: 0 0 0 3px rgba(34, 46, 104, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
    transform: translateY(-1px) !important;
}

.form-control-modern:hover:not(:focus),
input.form-control-modern:hover:not(:focus),
textarea.form-control-modern:hover:not(:focus),
.modern-modal input[type="text"]:hover:not(:focus),
.modern-modal input[type="email"]:hover:not(:focus),
.modern-modal input[type="tel"]:hover:not(:focus),
.modern-modal input[type="date"]:hover:not(:focus),
.modern-modal textarea:hover:not(:focus) {
    border-color: #d1d5db !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05) !important;
}

.form-control-modern::placeholder,
input.form-control-modern::placeholder,
textarea.form-control-modern::placeholder,
.modern-modal input[type="text"]::placeholder,
.modern-modal input[type="email"]::placeholder,
.modern-modal input[type="tel"]::placeholder,
.modern-modal textarea::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
}

.form-control-modern:focus::placeholder,
input.form-control-modern:focus::placeholder,
textarea.form-control-modern:focus::placeholder,
.modern-modal input[type="text"]:focus::placeholder,
.modern-modal input[type="email"]:focus::placeholder,
.modern-modal input[type="tel"]:focus::placeholder,
.modern-modal textarea:focus::placeholder {
    opacity: 0.5 !important;
}

textarea.form-control-modern,
.modern-modal textarea {
    resize: vertical !important;
    min-height: 130px !important;
    font-family: inherit !important;
    padding-top: 0.9375rem !important;
    padding-bottom: 0.9375rem !important;
}

/* Override Bootstrap form-control if present */
.modern-modal .form-control,
.modern-modal input.form-control,
.modern-modal textarea.form-control {
    border: 1.5px solid #e5e7eb !important;
    border-radius: 0.625rem !important;
    padding: 0.9375rem 1.25rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.modern-modal .form-control:focus,
.modern-modal input.form-control:focus,
.modern-modal textarea.form-control:focus {
    border-color: #222e68 !important;
    box-shadow: 0 0 0 3px rgba(34, 46, 104, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Error/Invalid states */
.form-control-modern:invalid:not(:placeholder-shown),
.modern-modal input:invalid:not(:placeholder-shown),
.modern-modal textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.05) !important;
}

.form-control-modern:valid:not(:placeholder-shown),
.modern-modal input:valid:not(:placeholder-shown),
.modern-modal textarea:valid:not(:placeholder-shown) {
    border-color: #10b981 !important;
}

/* Remove default browser validation styling */
.form-control-modern:invalid,
.modern-modal input:invalid,
.modern-modal textarea:invalid {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Ensure inputs display properly */
.modern-modal input,
.modern-modal textarea {
    display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}


/* ===== Modern Submit Button ===== */
.modern-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #222e68 !important;
    border: none !important;
    color: white !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    border-radius: 0.625rem !important;
    font-size: 1rem !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 6px -1px rgba(34, 46, 104, 0.3), 0 2px 4px -1px rgba(34, 46, 104, 0.2);
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.modern-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 46, 104, 0.4), 0 4px 6px -1px rgba(34, 46, 104, 0.3);
    background: #1a2452 !important;
}

.modern-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(34, 46, 104, 0.3);
}

.modern-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.modern-submit-btn i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.modern-submit-btn:hover i {
    transform: translateX(2px);
}

/* ===== Form Message Alerts ===== */
#contactFormMessage .alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.25rem;
}

#contactFormMessage .alert-success {
    background: #d1fae5;
    color: #065f46;
}

#contactFormMessage .alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== Spinner ===== */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* ===== Modal Backdrop ===== */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* ===== Form Input Icons ===== */
.form-label-modern i {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.form-group-modern:focus-within .form-label-modern i {
    transform: scale(1.1);
    color: #222e68;
}

/* ===== Form Group Animations ===== */
.form-group-modern {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

.form-group-modern:nth-child(1) { animation-delay: 0.05s; }
.form-group-modern:nth-child(2) { animation-delay: 0.1s; }
.form-group-modern:nth-child(3) { animation-delay: 0.15s; }
.form-group-modern:nth-child(4) { animation-delay: 0.2s; }
.form-group-modern:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Modal Body Enhancements ===== */
.modern-modal .modal-body {
    position: relative;
}

.modern-modal .modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

/* ===== Modal Responsive ===== */
@media (max-width: 768px) {
    .modern-modal {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .modern-modal-header {
        padding: 2rem 1.5rem 1.5rem !important;
    }
    
    .modern-modal-header .modal-title {
        font-size: 1.25rem !important;
    }
    
    .modal-icon-wrapper {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.25rem !important;
    }
    
    .modern-modal .modal-body {
        padding: 1.5rem !important;
    }
    
    .form-group-modern {
        margin-bottom: 1.25rem;
    }
}

/* ===== Contact Form ===== */
.contact-form {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* ===== Footer ===== */
footer {
    background: var(--gray-900) !important;
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

footer h5, footer h6 {
    color: white;
    margin-bottom: var(--spacing-lg);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

footer a:hover {
    color: white;
    transform: translateX(4px);
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-2xl) 0;
}

/* ===== Pagination ===== */
.pagination {
    gap: var(--spacing-xs);
}

.pagination .page-link {
    color: #222e68;
    border-color: var(--gray-200);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    font-weight: 500;
}

.pagination .page-link:hover {
    background: rgba(34, 46, 104, 0.1);
    border-color: #222e68;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination .page-item.active .page-link {
    background: #222e68;
    border-color: #222e68;
    color: white;
    box-shadow: var(--shadow-md);
}

/* ===== Alerts ===== */
.alert {
    border-radius: var(--radius-lg);
    border: none;
    padding: var(--spacing-lg) var(--spacing-xl);
    box-shadow: var(--shadow-md);
    font-weight: 500;
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-800);
    border-left: 4px solid var(--primary-500);
}

/* ===== Loading Spinner ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .property-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .search-form {
        padding: var(--spacing-xl);
    }
    
    .feature-card,
    .property-card {
        margin-bottom: var(--spacing-lg);
    }
    
    .property-image {
        height: 200px;
        font-size: 3rem;
    }
    
    .navbar-nav {
        padding: var(--spacing-md) 0;
    }
    
    .navbar-nav .nav-link {
        padding: var(--spacing-sm) 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .search-tabs {
        flex-wrap: wrap;
    }
    
    .stats-card {
        margin-top: var(--spacing-md);
    }
    
    .property-features {
        gap: var(--spacing-md);
    }
    
    .country-image {
        height: 180px;
    }
    
    .country-card-body {
        padding: 1.25rem;
    }
    
    .country-name {
        font-size: 1.125rem;
    }
    
    .country-count {
        font-size: 0.8125rem;
    }
    
    .properties-hotspots-section {
        padding: var(--spacing-2xl) 0;
    }
}

/* ===== Utility Classes ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.shadow-colored {
    box-shadow: var(--shadow-colored);
}

/* ===== Scroll Animations ===== */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeIn 0.6s ease-out;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* ===== Country Page Styles ===== */
/* Country Hero Section - Uses same styling as hero-section */
.country-hero-section.hero-section {
    margin-top: 0 !important;
}

.enquiry-section {
    position: relative;
}

.enquiry-form-wrapper {
    transition: all 0.3s ease;
}

.enquiry-form-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

.enquiry-input {
    padding: 0.875rem 1.25rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 0.75rem !important;
    font-size: 0.9375rem !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.enquiry-input:focus {
    border-color: #222e68 !important;
    box-shadow: 0 0 0 4px rgba(34, 46, 104, 0.1) !important;
    outline: none !important;
    transform: translateY(-2px);
}

.enquiry-input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

.enquiry-features .feature-icon-small {
    transition: all 0.3s ease;
}

.enquiry-features .d-flex:hover .feature-icon-small {
    transform: scale(1.1) rotate(5deg);
}

.country-image-placeholder {
    transition: all 0.3s ease;
}

.country-image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
}

/* ===== Breadcrumbs ===== */
.breadcrumb-section {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--gray-200);
    margin-top: 76px;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 0.5rem;
    color: var(--gray-400);
    font-weight: 400;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-base);
    font-size: 0.9rem;
}

.breadcrumb-item a:hover {
    color: #222e68;
}

.breadcrumb-item.active {
    color: #222e68;
    font-weight: 600;
    font-size: 0.9rem;
}

.breadcrumb-item.active a {
    color: #222e68;
    pointer-events: none;
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    footer,
    .btn,
    .search-form {
        display: none;
    }
}
