/* ================================
   DealEdge - Premium Real Estate & Financial Services
   Modern, Professional, Fintech-Inspired Design
   ================================ */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Calm, Professional Palette */
    --primary-color: #1a4d7f;
    --primary-light: #2563a8;
    --primary-dark: #0f3557;
    --secondary-color: #d4af37;
    --secondary-light: #e6c566;
    --secondary-dark: #b89730;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e8ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #0d1117;
    
    /* Accent Colors */
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 0 30px;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.nav-tagline {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.nav-tagline p {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0 20px;
}

.nav-tagline p::before,
.nav-tagline p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.nav-tagline p::before {
    left: -50px;
}

.nav-tagline p::after {
    right: -50px;
}

.nav-brand:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.brand-logo {
    height: 45px;
    width: 180px;
    display: block;
}

.brand-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.brand-name {
    font-family: var(--font-display);
    letter-spacing: -0.5px;
    color: var(--white);
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin-left: 50px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-smooth);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===== Hero Section - Premium Enhanced ===== */
.hero {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1f2e 0%, #0f3557 25%, #1a4d7f 60%, #2563a8 100%);
    padding-top: 80px;
    padding-bottom: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%),
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 168, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 1;
}

/* Animated Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: 10%;
    right: -5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--secondary-light);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    bottom: 20%;
    left: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 50px) scale(1.05);
    }
}

/* Particles Effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 30%; animation-delay: 2s; }
.particle:nth-child(3) { top: 60%; left: 50%; animation-delay: 4s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 6s; }
.particle:nth-child(5) { top: 30%; left: 80%; animation-delay: 8s; }
.particle:nth-child(6) { top: 50%; left: 20%; animation-delay: 10s; }
.particle:nth-child(7) { top: 70%; left: 40%; animation-delay: 12s; }
.particle:nth-child(8) { top: 10%; left: 60%; animation-delay: 14s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

/* Premium Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-line {
    display: block;
    font-size: 0.6em;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.title-highlight {
    display: block;
    position: relative;
}

.highlight-text {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    animation: slideIn 1s ease 0.5s both;
}

.highlight-ampersand {
    margin: 0 15px;
    opacity: 0.7;
    font-weight: 400;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.92;
    animation: fadeInUp 0.8s ease 0.2s both;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.subtitle-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

/* Feature Highlights */
.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-premium {
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    gap: 12px;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn-premium:hover .btn-icon {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Visual Cards Section */
.hero-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.visual-card:hover::before {
    opacity: 0.5;
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.visual-card-1 {
    width: 280px;
    top: 0;
    left: 0;
    animation: fadeInRight 1s ease 0.5s both;
}

.visual-card-2 {
    width: 280px;
    top: 120px;
    right: 50px;
    animation: fadeInRight 1s ease 0.7s both;
}

.visual-card-3 {
    width: 280px;
    top: 280px;
    left: 80px;
    animation: fadeInRight 1s ease 0.9s both;
}

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

.visual-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.visual-card .card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.visual-card .card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.visual-card .card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    pointer-events: none;
}

.visual-card:hover .card-glow {
    opacity: 0.2;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    animation: fadeInUp 0.8s ease 1s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-card:hover::before {
    left: 100%;
}

.stat-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.stat-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.stat-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: ringPulse 3s infinite;
}

@keyframes ringPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.stat-content {
    flex: 1;
    text-align: left;
}

.stat-label {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.stat-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.8;
    animation: fadeIn 2s ease 2s both;
    z-index: 1;
}

.scroll-indicator span {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow i {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 15px);
        opacity: 0.5;
    }
}

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

/* ===== Section Common Styles ===== */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Services Section ===== */
.services {
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--white);
    font-size: 2rem;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.service-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 12px 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.service-features i {
    color: var(--success);
    font-size: 1.1rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 25px 0 40px;
}

.about-values {
    display: grid;
    gap: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

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

.about-image-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.about-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.about-image-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: var(--font-display);
}

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

/* ===== Trust Badges Section ===== */
.trust-badges {
    background: linear-gradient(135deg, #1a4d7f 0%, #2563a8 100%);
    padding: 80px 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.trust-badge:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trust-badge:hover::before {
    opacity: 1;
}

.badge-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.trust-badge:hover .badge-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(212, 175, 55, 0.3);
}

.trust-badge h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.trust-badge p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
    flex-grow: 1;
}

.badge-checkmark {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
}

/* ===== Process Section ===== */
.process {
    background: var(--off-white);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.step-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.step-description {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Property Types Section ===== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-xl);
}

.property-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2.2rem;
    transition: var(--transition-smooth);
}

.property-card:hover .property-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    transform: rotate(10deg) scale(1.1);
}

.property-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* ===== Testimonials Section ===== */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== EMI Calculator Section ===== */
.emi-calculator {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group label i {
    color: var(--secondary-color);
}

.input-with-display {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: center;
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(26, 77, 127, 0.3);
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.input-group input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(26, 77, 127, 0.3);
}

.input-group input[type="text"] {
    width: 150px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    background: var(--off-white);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray);
}

.btn-calculate {
    margin-top: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.result-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.result-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.result-content {
    flex: 1;
}

.result-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.result-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.result-breakdown {
    background: var(--off-white);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.breakdown-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.breakdown-label {
    font-size: 0.95rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breakdown-label i {
    color: var(--secondary-color);
}

.breakdown-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.breakdown-value.total {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.chart-container {
    background: var(--off-white);
    padding: 30px;
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container canvas {
    max-height: 250px;
}

.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.result-actions .btn {
    padding: 14px 24px;
    font-size: 1rem;
    justify-content: center;
}

/* ===== FAQ Section ===== */
.faq {
    background: var(--white);
    padding: 100px 0;
}

.faq-wrapper {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-category {
    background: var(--off-white);
    padding: 30px;
    border-radius: 15px;
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category-title i {
    color: var(--secondary-color);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.faq-item.active {
    box-shadow: 0 4px 15px rgba(26, 77, 127, 0.15);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

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

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin: 20px 0 40px;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
}

.contact-item p a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item p a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--white);
}

.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(26, 77, 127, 0.1);
}

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

.form-message {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
    margin-top: 20px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ===== Google Maps Section ===== */
.map-section {
    background: var(--white);
    padding: 100px 0;
}

.map-wrapper {
    position: relative;
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
}

.map-info-card {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 20px;
    animation: slideInLeft 0.8s ease-out;
}

.map-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.map-card-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.map-card-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.map-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-map {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-map:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 127, 0.3);
}

.btn-map.btn-call {
    background: var(--secondary-color);
}

.btn-map.btn-call:hover {
    background: #c19a2d;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    display: block;
    flex-shrink: 0;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.newsletter-column {
    max-width: 350px;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.newsletter-input-group:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #c19a2d;
}

.newsletter-message {
    margin-top: 10px;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 8px;
    display: none;
}

.newsletter-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.newsletter-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-xl);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-light);
    transform: translateY(-5px);
}

/* ===== Floating Action Buttons ===== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation-delay: 0.1s;
}

.call-btn {
    background: linear-gradient(135deg, #1a4d7f, #2563a8);
    animation-delay: 0.2s;
}

.floating-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn:hover {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.call-btn:hover {
    box-shadow: 0 6px 30px rgba(26, 77, 127, 0.4);
}

.btn-tooltip {
    position: absolute;
    left: 70px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: rgba(0, 0, 0, 0.85);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

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

/* Pulse animation for attention */
@keyframes float-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    }
}

.floating-btn {
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1), float-pulse 3s ease-in-out 2s infinite;
}

/* ===== Chatbot Styles ===== */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition-smooth);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(26, 77, 127, 0.4);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.chatbot-container {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 150px);
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-smooth);
    z-index: 1001;
    overflow: hidden;
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chatbot-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--light-gray);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: slideIn 0.3s ease;
}

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

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.message-content {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 75%;
    box-shadow: var(--shadow-sm);
}

.message-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--dark-gray);
}

.message-content ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.message-content li {
    margin: 5px 0;
    color: var(--dark-gray);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: var(--secondary-color);
}

.user-message .message-content {
    background: var(--primary-color);
    color: var(--white);
}

.user-message .message-content p {
    color: var(--white);
}

.chatbot-quick-replies {
    padding: 15px 20px;
    background: var(--white);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--light-gray);
}

.quick-reply {
    padding: 8px 14px;
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dark-gray);
}

.quick-reply:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.quick-reply i {
    font-size: 0.9rem;
}

.chatbot-input-area {
    padding: 15px 20px;
    background: var(--white);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--light-gray);
    border-radius: 0 0 20px 20px;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.chatbot-input:focus {
    border-color: var(--primary-color);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.chatbot-send:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.chatbot-send:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: scale(1);
}

.typing-indicator {
    display: flex;
    gap: 12px;
    align-items: center;
}

.typing-indicator .message-content {
    padding: 16px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--gray);
    border-radius: 50%;
    animation: typingDots 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 70px;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .header {
        padding: 0 25px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .nav-tagline {
        display: none;
    }
    
    .nav-menu {
        gap: 28px;
        margin-left: auto;
    }
    
    .brand-logo {
        height: 42px;
        width: 168px;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 400px;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .visual-card-1 {
        top: 0;
        left: 20px;
    }
    
    .visual-card-2 {
        top: 100px;
        right: 20px;
    }
    
    .visual-card-3 {
        top: 220px;
        left: 60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Trust Badges Tablet */
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }
    
    .header {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .nav-tagline {
        display: none;
    }
    
    .brand-logo {
        height: 38px;
        width: 150px;
    }
    
    .footer-logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        gap: 20px;
        margin-left: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Hero Responsive */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 0.55em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .shape {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .brand-logo {
        height: 32px;
        width: auto;
    }
    
    .footer-logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-highlight {
        font-size: 0.9em;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-premium {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .stat-card,
    .property-card {
        padding: 25px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stat-content {
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    /* Chatbot Mobile Styles */
    .chatbot-container {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .chatbot-header {
        border-radius: 0;
    }
    
    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 90px;
    }
    
    /* Floating Action Buttons Mobile */
    .floating-actions {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn-tooltip {
        display: none;
    }
    
    /* EMI Calculator Mobile */
    .calculator-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 35px;
    }
    
    .input-group input[type="text"] {
        width: 120px;
        font-size: 1rem;
        padding: 10px 12px;
    }
    
    .result-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .result-value {
        font-size: 1.8rem;
    }
    
    .result-actions {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        height: 280px;
    }
    
    /* Trust Badges Mobile */
    .trust-badges {
        padding: 60px 0;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-badge {
        min-height: auto;
        padding: 25px 20px;
    }
    
    .trust-badge h3 {
        font-size: 1.1rem;
    }
    
    .trust-badge p {
        font-size: 0.85rem;
    }
    
    /* FAQ Mobile */
    .faq-question {
        font-size: 0.95rem;
        padding: 18px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    /* Map Section Mobile */
    .map-wrapper iframe {
        height: 350px;
    }
    
    .map-info-card {
        position: static;
        margin: 20px;
        max-width: none;
    }
    
    .map-card-actions {
        flex-direction: column;
    }
    
    .btn-map {
        width: 100%;
        justify-content: center;
    }
    
    /* Newsletter Mobile */
    .newsletter-column {
        max-width: none;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .newsletter-form input[type="email"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .newsletter-form button {
        border-radius: 0 0 12px 12px;
        padding: 14px;
    }
}