/* ===================================
   E-Auction Expo - Main Stylesheet
   =================================== */

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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 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);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

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

.btn-search {
    background: var(--accent-color);
    color: #fff;
    padding: 14px 28px;
}

.btn-search:hover {
    background: #d97706;
}

/* Header & Navigation */
.header {
    background: #fff;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu-header,
.nav-menu-close,
.mobile-logo {
    display: none;
}

.nav-menu-close {
    background: transparent;
    border: none;
    color: var(--dark-color);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-menu-close:hover {
    color: var(--primary-color);
}

.nav-install {
    display: none;
    margin-left: 0.5rem;
}

.nav-install.show {
    display: block;
}

.btn-install {
    border: 1px dashed rgba(37, 99, 235, 0.6);
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-install:hover {
    background: var(--primary-color);
    color: #fff;
    border-style: solid;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1200;
}

.nav-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-color);
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.nav-user {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.35rem 0.9rem 0.35rem 0.35rem;
    background: #fff;
    cursor: pointer;
    min-width: 0;
}

.user-menu-toggle i {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.account-avatar-lg {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
}

.user-labels {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
    padding: 0.75rem;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1500;
}

.nav-user.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a,
.user-dropdown button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--dark-color);
    cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.section-gap {
    padding: 4rem 0;
}

.account-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08));
    padding: 4rem 0 2rem;
}

.account-hero-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.account-overline {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 0.75rem;
}

.account-lead {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 540px;
    margin-bottom: 1.5rem;
}

.account-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.account-hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-meta-label {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.account-meta-value {
    font-weight: 600;
    font-size: 1rem;
}

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

.account-stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.account-stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.account-stat-card .label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray-color);
}

.account-stat-card .muted {
    color: var(--gray-color);
}

.account-panel {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-color);
}

.account-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.account-action-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    background: var(--light-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: inherit;
}

.account-action-card:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-alert {
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    border-left: 4px solid;
    font-weight: 500;
}

.form-alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-color: #10b981;
}

.form-alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border-color: #ef4444;
}

.account-avatar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.password-hints {
    list-style: disc;
    padding-left: 1.25rem;
    color: var(--gray-color);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.btn-login,
.btn-register {
    padding: 0.55rem 1.35rem !important;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
}

.btn-login {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--primary-color) !important;
}

.btn-login:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-register:hover {
    filter: brightness(1.05);
}

.btn-login i,
.btn-register i {
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600') center/cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Search Section */
.search-section {
    background: #fff;
    padding: 1.5rem 0;
}

.search-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 0.85rem;
    align-items: end;
}

.search-item label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--gray-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-item input,
.search-item select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d5dbe7;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
}

.search-item select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
    appearance: none;
}

.search-item input:focus,
.search-item select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-item .btn-search {
    width: 46px;
    height: 46px;
    padding: 0;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
}

.search-item.search-action {
    display: flex;
    align-items: flex-end;
}

.search-item.search-action .btn-search i {
    margin: 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

/* Featured Properties */
.featured-properties {
    padding: 5rem 0;
    background: var(--light-color);
}

.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 400px 1fr;
    height: 280px;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    background: var(--light-color);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--accent-color), #ea580c);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.property-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-status {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: #fff;
}

.property-wishlist {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-wishlist:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.property-content {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.location {
    color: var(--gray-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.property-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 500;
}

.property-details span i {
    color: var(--primary-color);
    font-size: 1rem;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.price .label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.price .amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.btn-view {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 8px;
    white-space: nowrap;
    font-weight: 600;
}

.auction-timer {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    padding: 10px 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auction-timer i {
    color: var(--danger-color);
}

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

/* Bank Listings Section */
.bank-listings {
    padding: 5rem 0;
    background: var(--light-color);
}

.bank-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bank-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bank-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.bank-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.bank-card:hover .bank-logo {
    transform: scale(1.1) rotate(5deg);
}

.bank-logo i {
    font-size: 2rem;
    color: #fff;
}

.bank-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.property-count {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
}

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

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.step-card:hover {
    background: var(--light-color);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 4rem 0;
}

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

.stat-card {
    text-align: center;
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
}

.footer-col .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-col .footer-brand h3 {
    margin-bottom: 0;
}

.footer-col .footer-brand img {
    height: 34px;
    width: auto;
    display: block;
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #cbd5e1;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
}

.contact-info li a {
    color: inherit;
    text-decoration: none;
}

.contact-info li a:hover {
    text-decoration: underline;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.search-bar-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.top-search-form {
    width: 100%;
}

.search-inputs {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1.25rem;
    align-items: stretch;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.search-field:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-field:focus-within {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.search-field i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.search-field input,
.search-field select {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--dark-color);
    font-family: inherit;
    font-weight: 500;
}

.search-field input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
}

.search-field select option {
    padding: 0.5rem;
}

.btn-search {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-search:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-search:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-search i {
    font-size: 1.1rem;
}

/* Responsive Search Bar */
@media (max-width: 1200px) {
    .search-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .search-section {
        padding: 1.25rem 0;
    }
    
    .search-item .btn-search {
        grid-column: span 3;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-section {
        padding: 1rem 0;
    }
    
    .search-box {
        padding: 1.25rem;
    }
    
    .search-item input,
    .search-item select {
        padding: 0.65rem 0.85rem;
    }
    
    .search-item .btn-search {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }
}

/* Properties Page - Optimized Layout */
.properties-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.properties-content {
    width: 100%;
}

/* Properties Toolbar */
.properties-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.results-count strong {
    color: var(--primary-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
}

.page-btn {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn.active,
.page-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

/* Property Detail Page */
.property-detail-section {
    padding: 2rem 0 5rem;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.property-gallery {
    margin-bottom: 2rem;
}

.main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    height: 500px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.image-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.action-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.thumbnail {
    height: 100px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.more-images {
    background: var(--dark-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.property-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.property-header-detail h1 {
    font-size: 2rem;
}

.property-location {
    font-size: 1.1rem;
}

.property-id {
    background: var(--light-color);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.info-item span {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.property-description {
    margin-bottom: 3rem;
}

.property-description h2 {
    margin-bottom: 1.5rem;
}

.property-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-color);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--success-color);
}

.property-details-table {
    margin-bottom: 3rem;
}

.details-grid {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--dark-color);
}

.detail-value {
    color: var(--gray-color);
}

.property-amenities {
    margin-bottom: 3rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.amenity-item:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.amenity-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.property-location-map {
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.location-info h4 {
    margin-bottom: 1rem;
}

.location-info p {
    margin-bottom: 0.5rem;
    color: var(--gray-color);
}

/* Visit Enquiry Form */
.visit-enquiry-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
}

.visit-enquiry-form h2 {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Detail Sidebar */
.detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.auction-card {
    border: 3px solid var(--primary-color);
}

.auction-status-badge {
    background: var(--success-color);
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.current-bid {
    text-align: center;
    margin-bottom: 1.5rem;
}

.current-bid .label {
    display: block;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.current-bid h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.bid-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.auction-timer-big {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.timer-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.bid-details {
    margin-bottom: 1.5rem;
}

.bid-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.auction-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: center;
}

/* Agent Card */
.agent-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.agent-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.5rem;
}

.agent-rating i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.agent-rating span {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-left: 5px;
}

.contact-btn {
    display: block;
    padding: 10px;
    background: var(--light-color);
    border-radius: 6px;
    margin-bottom: 10px;
    text-align: center;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Calculator Card */
.calculator-result {
    background: var(--primary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
}

.calculator-result h3 {
    margin: 0;
    font-size: 2rem;
}

/* Share Card */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: var(--gray-color); }

/* Similar Properties */
.similar-properties {
    margin-top: 5rem;
}

.similar-properties h2 {
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-section {
    padding: 3rem 0 5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form-container > p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.contact-form .form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.contact-info-cards {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--gray-color);
    line-height: 1.6;
}

.social-media-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 12px;
}

.social-media-section h3 {
    margin-bottom: 1.5rem;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link.facebook {
    background: #1877f2;
    color: #fff;
}

.social-link.twitter {
    background: #1da1f2;
    color: #fff;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.social-link.linkedin {
    background: #0077b5;
    color: #fff;
}

.social-link.youtube {
    background: #ff0000;
    color: #fff;
}

/* Map Section */
.map-section {
    margin: 3rem 0;
}

.map-container-full {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.faq-grid {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question h4 {
    margin: 0;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-color);
    line-height: 1.8;
}

/* About Page */
.about-content {
    padding: 3rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.intro-text p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.our-values {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.value-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

.why-choose-us {
    padding: 5rem 0;
}

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

.feature-item {
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    background: var(--light-color);
    border-radius: 8px;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--gray-color);
    line-height: 1.6;
}

.our-team {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.team-member {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.member-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 10px;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

.achievements {
    padding: 5rem 0;
}

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

.achievement-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: var(--transition);
}

.achievement-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.achievement-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.achievement-card p {
    color: var(--gray-color);
}

.testimonials-section {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--accent-color);
}

.testimonial-text {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-author p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn-secondary:hover {
    background: var(--light-color);
}

/* Auth Pages - New Split Screen Design */
.auth-section {
    height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 0;
    background: var(--light-color);
    overflow: hidden;
}

.auth-split-container {
    display: grid;
    grid-template-columns: 45% 55%;
    width: 100%;
    height: 100vh;
}

/* Left Side - Image */
.auth-image-side {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(124, 58, 237, 0.95)),
                url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1200') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-image-side::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%);
    pointer-events: none;
}

.auth-image-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.auth-image-content {
    max-width: 420px;
    margin: 0 auto;
}

.auth-image-content i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.auth-image-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.auth-image-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.auth-features {
    display: grid;
    gap: 1rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Right Side - Form */
.auth-form-side {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    max-height: 100vh;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-header h2 {
    font-size: 1.85rem;
    margin-bottom: 0.375rem;
    color: var(--dark-color);
    font-weight: 700;
}

.auth-header p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--dark-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
    margin-bottom: 0;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.95rem;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--light-color);
}

.input-with-icon input:hover,
.input-with-icon select:hover {
    border-color: #cbd5e1;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.input-with-icon select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

.toggle-password {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray-color);
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--gray-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.trust-badges {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.trust-badges h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.badges {
    display: grid;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--light-color);
    border-radius: 8px;
}

.badge i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .property-card {
        grid-template-columns: 320px 1fr;
        height: 240px;
    }
    
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
    
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bank-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .navbar .container {
        gap: 1rem;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 85vw);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 1.75rem;
        box-shadow: -12px 0 30px rgba(15, 23, 42, 0.2);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 1300;
    }

    .nav-menu-wrapper.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.35rem;
        color: var(--primary-color);
    }

    .mobile-logo img {
        height: 36px;
        width: auto;
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        padding: 0.75rem 0;
    }

    .nav-user {
        width: 100%;
    }

    .user-menu-toggle {
        width: 100%;
        justify-content: space-between;
        border-radius: 12px;
    }

    .user-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.75rem;
        box-shadow: none;
        border: 1px solid var(--border-color);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }

    .nav-user.open .user-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .btn-login,
    .btn-register {
        width: 100%;
        text-align: center;
    }

    .nav-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid var(--border-color);
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .account-hero-card {
        flex-direction: column;
        padding: 1.75rem;
    }

    .account-hero-meta {
        justify-content: flex-start;
    }

    .account-panel {
        padding: 1.75rem;
    }

    .account-hero-actions,
    .form-actions {
        flex-direction: column;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .bank-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .property-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .property-image {
        height: 220px;
    }
    
    .property-content {
        padding: 1.25rem;
    }
    
    .property-content h3 {
        font-size: 1.25rem;
    }
    
    .property-details {
        gap: 0.75rem;
    }
    
    .property-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-view {
        width: 100%;
        text-align: center;
    }
    
    .steps-grid,
    .stats-grid,
    .values-grid,
    .features-grid,
    .team-grid,
    .achievements-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-toolbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-layout,
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .auth-split-container {
        grid-template-columns: 1fr;
    }
    
    .auth-image-side {
        display: none;
    }
    
    .auth-form-side {
        padding: 2rem 1.5rem;
    }
    
    .auth-section {
        padding: 1rem 0;
    }
    
    .auth-header h2 {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .quick-info-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
