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

:root {
    /* Updated Color Palette to match stylesou.css */
    --primary-color: #0d47a1;
    --secondary-color: #ff6d00;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --gray-color: #757575;
    --white-color: #ffffff;
    --black-color: #000000;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    
    /* Legacy variable mapping for backward compatibility */
    --primary: #0d47a1;
    --primary-light: #1565c0;
    --secondary: #ff6d00;
    --accent: #f44336;
    --success: #4caf50;
    --warning: #ff9800;
    --dark: #212121;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Updated Gradients to match theme */
    --gradient-primary: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6d00 0%, #ff8f00 100%);
    --gradient-dark: linear-gradient(135deg, #212121 0%, #0d47a1 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    
    /* Consistent shadows with stylesou.css */
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.25);
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    
    /* Typography - matching stylesou.css */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* 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: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50%;
    
    /* Transitions - consistent with stylesou.css */
    --transition: all 0.3s ease;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}
body {
  padding-top: 80px;
  font-family: var(--font-primary);
}
.sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.sidebar a {
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
}

.sidebar a:hover {
  opacity: 0.8;
}
.sidebar-phone {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.sidebar-phone a {
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
}

.sidebar-phone a:hover {
  opacity: 0.8;
}
/* Individual platform colors */
.Facebook   { background: #3b5998; }
.Instagram  { background: #e600ee; }
.Linkedin   { background: #0077b5; }
.Youtube    { background: #ff0000; }
.Whatsapp   { background: #25D366; }
.Phone      { background: #f57c00; }
.Whatsapp-phone   { background: #25D366; }
.Phone-phone      { background: #f57c00; }
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1565c0;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

/* Header Styles */
.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-color);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 35px;
    margin-right: 10px;
    float: left;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar ul li a:hover::after {
    width: 100%;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.header-right .call-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.header-right .call-btn:hover {
    background-color: #1565c0;
}

.mobile-menu-btn {
    display: none;
    font-size: 20`px;
    cursor: pointer;
}

/* Page Header Styles */
        .page-header {
            position: relative;
            width: 100%;
            background: var(--gradient-dark);
            color: var(--white-color);
            padding: 120px 0 80px;
            overflow: hidden;
        }

        /* Decorative overlay */
        .page-header::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 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>');
            background-size: cover;
            pointer-events: none;
        }

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

        /* Header content */
        .page-header-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .page-header h1 {
            font-family: var(--font-secondary);
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            margin-bottom: var(--spacing-md);
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .page-header p {
            font-size: 1.2rem;
            margin-bottom: var(--spacing-2xl);
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Search and Filter Container */
        .search-filter-container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: var(--spacing-lg);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: var(--shadow-light);
        }

        /* Filter Row */
        .filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
            justify-content: center;
        }

        /* Filter Groups */
        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            min-width: 150px;
        }

        .filter-group label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--white-color);
            text-align: left;
        }
        
        /* — Integrate Search Wrapper into Page Header — */
.search-filter-container .search-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto 2rem;
  position: relative;
  display: flex;
}

.search-filter-container .search-wrapper input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--dark-color);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  outline: none;
}

/* Suggestions dropdown */
.search-filter-container .search-wrapper .dropdown-list {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 20;
}

.search-filter-container .search-wrapper .dropdown-list li {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--dark-color);
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-filter-container .search-wrapper .dropdown-list li:hover {
  background: var(--gradient-light); /* subtle highlight */
  color: var(--primary-color);
}

.search-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.search-bar-wrapper input {
  flex: 1;
  max-width: 600px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

.search-button {
  padding: 0.75rem;
  background-color: #ff7000;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.search-button:hover {
  background-color: #0d47a1;
}

#toggle-filters {
  background: var(--white-color);
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.filter-panel {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.filter-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

/* Main pagination container */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            padding: 2rem 0;
            flex-wrap: wrap;
        }

        /* Base button styles */
        .pagination-btn {
            background-color: var(--white-color);
            color: var(--gray-color);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            font-weight: 500;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s ease;
            min-width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        /* Hover states */
        .pagination-btn:hover:not(:disabled) {
            background-color: var(--light-gray);
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        /* Active/current page */
        .pagination-btn.active {
            background-color: var(--primary-color);
            color: var(--white-color);
            border-color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
        }

        /* Disabled state */
        .pagination-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        /* Navigation arrows */
        .pagination-btn.nav-btn {
            padding: 0.75rem 0.5rem;
            min-width: 44px;
        }

        /* Page numbers container */
        .pagination-numbers {
            display: flex;
            gap: 0.25rem;
            background: var(--white-color);
            border-radius: 12px;
            padding: 0.25rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border: 1px solid var(--border-color);
        }

        /* Individual page number buttons */
        .pagination-numbers .pagination-btn {
            border: none;
            box-shadow: none;
            border-radius: 8px;
            margin: 0;
            min-width: 40px;
            height: 40px;
            padding: 0;
        }

        .pagination-numbers .pagination-btn:hover:not(:disabled):not(.active) {
            background-color: var(--light-gray);
            transform: none;
            box-shadow: none;
        }

        .pagination-numbers .pagination-btn.active {
            box-shadow: 0 2px 4px rgba(229, 62, 62, 0.2);
        }

        /* Ellipsis */
        .pagination-ellipsis {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            color: var(--gray-color);
            font-weight: 500;
        }

        /* Mobile responsiveness */
        @media screen and (max-width: 640px) {
            .pagination-container {
                gap: 0.25rem;
                padding: 1rem 0;
            }

            .pagination-btn {
                min-width: 36px;
                height: 36px;
                padding: 0.5rem 0.75rem;
                font-size: 0.8rem;
            }

            .pagination-numbers .pagination-btn {
                min-width: 32px;
                height: 32px;
            }

            .pagination-numbers {
                padding: 0.2rem;
            }
        }

        /* Demo styles */
        .demo-section {
            margin: 2rem 0;
        }

        .demo-title {
            color: white;
            text-align: center;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        /* Select Dropdown */
        .filter-group select {
            padding: 0.75rem 1rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--white-color);
            font-size: 1rem;
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
        }

        .filter-group select:focus {
            outline: none;
            border-color: rgba(255, 255, 255, 0.6);
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
        }

        .filter-group select option {
            background: var(--dark-color);
            color: var(--white-color);
        }

        /* Range Sliders */
        .filter-group input[type="range"] {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }

        .filter-group input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            background: var(--white-color);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }

        .filter-group input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }

        .filter-group input[type="range"]::-moz-range-thumb {
            width: 20px;
            height: 20px;
            background: var(--white-color);
            border-radius: 50%;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        /* Price and Bedroom Display */
        #price-display,
        #bedroom-count {
            font-weight: 600;
            color: var(--white-color);
            padding: 0.25rem 0.5rem;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            font-size: 0.9rem;
        }

        /* Action Buttons */
        .filter-btn,
        .clear-filters-btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .filter-btn {
            background: var(--white-color);
            color: var(--primary-color);
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.9);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .clear-filters-btn {
            background: transparent;
            color: var(--white-color);
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .clear-filters-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--white-color);
        }

        /* Screen Reader Only */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .page-header {
                padding: 80px 0 60px;
            }

            .filter-row {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-group {
                min-width: 100%;
            }

            .search-filter-container {
                padding: var(--spacing-md);
            }

            .filter-btn,
            .clear-filters-btn {
                width: 100%;
                justify-content: center;
                margin-top: 0.5rem;
            }
        }

        @media (max-width: 480px) {
            .page-header h1 {
                font-size: 2rem;
            }

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

            .container {
                padding: 0 0.5rem;
            }
        }

/* Properties Section */
.properties-section {
    padding: var(--spacing-3xl) 0;
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: var(--white-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--box-shadow);
}

.results-summary p {
    color: var(--gray-color);
    font-weight: 500;
}

/* Properties Grid */
.properties-grid {
    display: grid;
    gap: var(--spacing-2xl);
}

.properties-grid.single-column {
    grid-template-columns: 1fr;
}

.property-card {
    background-color: var(--white-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 240px; /* Changed from max-height to min-height */
    margin-bottom: var(--spacing-xl);
    align-items: stretch; /* Ensure both sides stretch to same height */
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.property-image {
    width: 300px; /* Increased width slightly for better proportion */
    min-height: 240px; /* Ensure minimum height */
    flex-shrink: 0;
    background: var(--light-color);
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.property-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Changed from center to space-between */
    width: 100%;
    min-height: 240px; /* Ensure minimum height */
}

.property-info {
    flex-grow: 1;
}

.property-content h3 {
    font-size: 1.3rem; /* Slightly larger */
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    line-height: 1.4;
}

.property-content .location {
    color: var(--gray-color);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.property-content .location i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.property-content .price {
    font-size: 1.4rem; /* Larger price */
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: var(--spacing-lg);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: auto; /* Push to bottom */
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-color);
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--gray-100);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.feature:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.feature:hover i {
    color: var(--white-color);
}

.feature i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

/* Responsive Design for Property Cards */
@media (max-width: 768px) {
    .property-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .property-image {
        width: 100%;
        height: 200px;
        min-height: 200px;
    }
    
    .property-content {
        min-height: auto;
        padding: var(--spacing-lg);
    }
    
    .property-features {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .feature {
        justify-content: center;
        text-align: center;
    }
}

.property-actions {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.view-details-btn {
    background: var(--gradient-secondary);
    color: var(--white-color);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #ff8f00 0%, #ffa726 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.view-details-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.view-details-btn i {
    font-size: 0.9rem;
    transition: transform var(--transition-fast);
}

.view-details-btn:hover i {
    transform: scale(1.1);
}
@media (min-width: 1024px) {
  .sidebar-phone {
    display: none !important;
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .view-details-btn {
        padding: var(--spacing-lg);
        font-size: 1rem;
    }
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.load-more-btn {
    background: var(--gradient-secondary);
    color: var(--white-color);
    border: none;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white-color);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

/* Form Styles */
form {
    padding: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
    display: block;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Why Choose Us Section */
.why-us {
    background: var(--white-color);
    padding: var(--spacing-3xl) 0;
    margin-top: var(--spacing-3xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 2.25rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.why-us-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--white-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-us-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(13, 71, 161, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--primary-color);
    font-size: 1.875rem;
    transition: var(--transition);
}

.why-us-card:hover .icon {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.why-us-card h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.why-us-card p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 60px 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col .logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-col .logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-col .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color);
}

.footer-col p {
    color: var(--white-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    transition: var(--transition);
}

.footer-col h3:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #0077b5;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.social-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
}
.whatsapp { color: #64b500; }
.facebook { color: #1877F2; }
.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.linkedin { color: #0077B5; }

.location-info address {
    font-style: normal;
}

.location-info p {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.location-info a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.location-info a:hover {
    color: #0077b5;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--gray-700);
    font-size: 0.875rem;
    color: var(--gray-500);
}
.Facebook   { background: #3b5998; }
.Instagram  { background: #a300ee; }
.Linkedin   { background: #0077b5; }
.Youtube    { background: #ff0000; }
.Whatsapp   { background: #25D366; }
.Phone      { background: #f57c00; }
 /* ==== MOBILE HEADER – horizontal links + separate login button ==== */
@media (max-width: 768px) {

  /* Let items wrap onto new lines */
  .header .container{
      flex-wrap: wrap;
      gap: 10px;  
      justify-content: center;/* small breathing room                  */
  }

  /* Logo stays on its own line (row 1) */


  /* Navigation bar becomes row 2 and spans full width */
  .navbar{
      flex: 1 1 100%;           /* full row                              */
      order: 2;                 /* show after logo                       */
  }
  .navbar ul{
      flex-wrap: wrap;          /* links flow horizontally then wrap     */
      justify-content: center;
      gap: 0px;
  }
  .navbar ul li {
    margin: 8px 10px;
  }
.sidebar {
 display: none;

  /* Login / profile actions move to row 3, full width */
  .header-right{
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      order: 3;
      gap: 10px;
  }
  .header-right .call-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  /* We no longer show the hamburger */
  .mobile-menu-btn{
      display: none;
  }
}

