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

:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --light-color: #f3f4f6;
    --border-color: #e5e7eb;
    --text-color: #1f2937;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-light: linear-gradient(135deg, #dbeafe 0%, #fef3c7 100%);
    --shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    --shadow-lg: 0 30px 60px rgba(37, 99, 235, 0.25);
    --shadow-hover: 0 40px 80px rgba(37, 99, 235, 0.35);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-login {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    background-size: 200% 200%;
    color: #0f172a !important;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    font-weight: 700;
    animation: gradientShift 3s ease infinite;
}

.btn-login::after {
    display: none;
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 40%, #2563eb 70%, #1e3a8a 100%);
    color: white;
    padding: 10rem 2rem 12rem;
    text-align: center;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

@keyframes moveBackground {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: slideInDown 0.8s ease-out;
    color: white;
    line-height: 1.2;
}

.hero h2 .text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.3px;
    animation: slideInUp 0.8s ease-out 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbbf24;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.search-bar {
    display: flex;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
    animation: slideInUp 0.8s ease-out 0.4s both;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 60px;
    backdrop-filter: blur(10px);
}

.search-bar input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-bar input:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3);
}

.search-bar button {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    background: var(--gradient-accent);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    border: none;
}

.search-bar button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.5);
}

.search-bar button:active {
    transform: translateY(0) scale(0.98);
}

/* Quick Filters */
.quick-filters {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    padding: 3.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.quick-filters h3 {
    margin-bottom: 2.5rem;
    font-size: 1.6rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.85rem 1.8rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.5px;
    animation: fadeInScale 0.5s ease-out;
}

.filter-btn:nth-child(1) { animation-delay: 0s; }
.filter-btn:nth-child(2) { animation-delay: 0.1s; }
.filter-btn:nth-child(3) { animation-delay: 0.2s; }
.filter-btn:nth-child(4) { animation-delay: 0.3s; }
.filter-btn:nth-child(5) { animation-delay: 0.4s; }

.filter-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.45);
}

.listings-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.listings-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.listings-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--gradient-accent);
    margin: 0.8rem auto 0;
    border-radius: 3px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.property-card {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }
.property-card:nth-child(6) { animation-delay: 0.6s; }
.property-card:nth-child(7) { animation-delay: 0.7s; }
.property-card:nth-child(8) { animation-delay: 0.8s; }
.property-card:nth-child(9) { animation-delay: 0.9s; }
.property-card:nth-child(10) { animation-delay: 1s; }
.property-card:nth-child(11) { animation-delay: 1.1s; }
.property-card:nth-child(12) { animation-delay: 1.2s; }

.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    border: 1px solid rgba(37, 99, 235, 0.08);
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.property-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
}

.property-card:hover::before {
    opacity: 1;
}

.property-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: all 0.5s ease;
}

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

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

.property-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6); }
}

.property-details {
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.property-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.property-location {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.3rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-location::before {
    content: '📍';
    font-size: 1rem;
}

.property-specs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 0.6rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.property-card:hover .spec-item {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-color);
}

.property-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.property-actions {
    display: flex;
    gap: 0.8rem;
}

.property-actions .btn-view {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1e40af 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-view:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
}

.btn-favorite {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text-color);
    border: 2px solid #e2e8f0;
    font-size: 1.3rem;
    max-width: 60px;
}

.btn-favorite:hover,
.btn-favorite.active {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border-color: #fca5a5;
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 40%, #2563eb 70%, #1e3a8a 100%);
    color: white;
    padding: 6rem 0;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.stats-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-card {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.stat-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.stat-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.stat-card:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fbbf24;
}

.stat-card p {
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
}

.about-content h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    margin: 1rem auto 3.5rem;
    border-radius: 3px;
}

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

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1px solid rgba(37, 99, 235, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #f59e0b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-3deg); }
    75% { transform: translateY(-8px) rotate(3deg); }
}

.feature-card h4 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}
    font-size: 0.85rem;
    opacity: 1;
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, rgba(37, 99, 235, 0.03) 50%, rgba(245, 158, 11, 0.03) 100%);
    color: rgba(255, 255, 255, 0.82);
    position: relative;

/* Footer content layout (index.html uses .footer-content/.footer-brand/.footer-links/.footer-contact) */
.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    text-align: left;
    margin-bottom: 2rem;
}

.footer h3,
.footer h4 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.9rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #fbbf24;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0.55rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
}

.contact-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #f59e0b 100%);
    margin: 1rem auto 3.5rem;
    border-radius: 3px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #93c5fd;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-left: 5px solid;
    border-image: linear-gradient(180deg, #1e40af 0%, #3b82f6 100%) 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.info-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.info-item p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    animation: fadeIn 0.3s;
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    animation: slideInUp 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 0 40px rgba(37, 99, 235, 0.6); }
}

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

@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 25%, #f59e0b 50%, #fbbf24 75%, #1e40af 100%);
}

.footer p {
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    font-weight: 700;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}
