/* Enhanced CSS with Typography & Animations */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Enhanced Color Palette */
    --primary-color: #059669;
    --primary-light: #10b981;
    --primary-dark: #047857;
    --secondary-color: #f59e0b;
    --accent-color: #3b82f6;
    --accent-light: #60a5fa;
    --success-color: #22c55e;
    --warning-color: #f97316;
    --error-color: #ef4444;
    
    /* Neutral Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #fbbf24 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(5, 150, 105, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-base: all 0.25s ease;
    --transition-slow: all 0.35s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
    --z-toast: 1070;
}

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

::selection {
    background-color: var(--primary-color);
    color: white;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Enhanced Typography */
.font-primary { font-family: var(--font-primary); }
.font-secondary { font-family: var(--font-secondary); }
.font-mono { font-family: var(--font-mono); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

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

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-color);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
}

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-slideInDown {
    animation: slideInDown 0.6s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.4s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

/* Hover Animations */
.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: var(--transition-smooth);
}

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

.hover-glow {
    transition: var(--transition-smooth);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

.hover-rotate {
    transition: var(--transition-smooth);
}

.hover-rotate:hover {
    transform: rotate(5deg) scale(1.05);
}

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

.container-fluid {
    width: 100%;
    padding: 0 var(--space-4);
}

/* Enhanced Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: fadeInLeft 0.8s ease-out;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.logo-text h2 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--text-2xl);
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.logo-text span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Enhanced Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--text-base);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    z-index: -1;
    border-radius: var(--radius-lg);
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

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

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    background: var(--gradient-hero);
    color: white;
    padding: 140px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-6);
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: var(--text-2xl);
    color: var(--secondary-color);
    margin-bottom: var(--space-4);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Enhanced Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-16);
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.feature-card h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Enhanced Sections */
.section-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Cards */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-slow);
}

.card:hover::before {
    left: 0;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Enhanced Form Elements */
input, select, textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition-smooth);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
    transform: translateY(-2px);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

/* Enhanced Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    z-index: var(--z-fixed);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Enhanced WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--text-2xl);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    transition: var(--transition-smooth);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl);
    animation: none;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-6);
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: var(--text-2xl);
        color: var(--text-primary);
        cursor: pointer;
    }
    
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .header,
    .whatsapp-float,
    .scroll-to-top {
        display: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-primary: #000000;
        --bg-primary: #ffffff;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --bg-primary: #0f172a;
        --bg-secondary: #1e293b;
        --bg-tertiary: #334155;
    }
    
    body {
        background: var(--bg-primary);
        color: var(--text-primary);
    }
}
/* Gallery Section Fixes */
/* Gallery Section Styles */
.gallery {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
#visit-popup {
  position: fixed;
  right: 20px;
  bottom: 160px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  padding: 20px;
  z-index: 1001;
  display: none;
  width: 250px;
}
#visit-popup button#visit-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
#loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loader:after {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
  border: 8px solid #0770e3;
  border-top: 8px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Image Container */
.gallery-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}
#whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 1000;
  background: #25D366;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
#whatsapp-float:hover {
  transform: scale(1.1);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

/* Icon fallback */
.gallery-icon {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Content area */
.gallery-content {
    padding: 1.5rem;
}

.gallery-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.4;
}

.gallery-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* No items message */
.no-gallery-items {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-gallery-items p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-image,
    .gallery-icon {
        height: 200px;
    }
    
    .gallery-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image,
    .gallery-icon {
        height: 180px;
    }
}






   
        /* Map Section */
.map-section {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-section h3 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.map-container {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.map-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.map-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

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

.address-info h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.address-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.map-instruction {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.map-instruction::before {
    content: '👆';
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .map-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .map-container {
        padding: 20px;
    }
    
    .map-icon {
        font-size: 2.5rem;
    }
    
    .address-info h4 {
        font-size: 1.1rem;
    }
    
    .address-text {
        font-size: 1rem;
    }
}

        /* Loader Spinner */
        #loader {
            position: fixed;
            left: 0; top: 0; right: 0; bottom: 0;
            background: rgba(255,255,255,0.85);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #loader:after {
            content: '';
            width: 60px; height: 60px;
            border: 8px solid #0770e3;
            border-top: 8px solid #fff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }





        /* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 280px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Placeholder */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    color: #718096;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.gallery-placeholder p {
    font-size: 14px;
    font-weight: 500;
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.gallery-info p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    opacity: 0.9;
}

.gallery-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No Gallery Items */
.no-gallery-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.no-gallery-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-gallery-items h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-gallery-items p {
    color: #718096;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        height: 220px;
    }
}


        /* Projects Section - Card Layout Only */
        #projects {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 20px;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #718096;
            margin-bottom: 50px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Card Grid Layout */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Project Card - Compact Design */
        .project-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            border: 1px solid #e2e8f0;
            min-height: 460px;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
        }

        /* Color Variations */
        .project-card.color-1 {
            border-top: 4px solid #667eea;
        }

        .project-card.color-2 {
            border-top: 4px solid #10B981;
        }

        .project-card.color-3 {
            border-top: 4px solid #F59E0B;
        }

        /* Status Badge */
        .status-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .status-badge.available {
            background: #10B981;
            color: white;
        }

        .status-badge.sold {
            background: #EF4444;
            color: white;
        }

        .status-badge.reserved {
            background: #F59E0B;
            color: white;
        }

        /* Compact Image Container */
        .project-image-container {
            width: 100%;
            height: 200px;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.3s ease;
        }

        .project-card:hover .project-image {
            transform: scale(1.05);
        }

        /* Default Image Placeholder */
        .project-default-image {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .default-icon {
            font-size: 3rem;
            margin-bottom: 8px;
            opacity: 0.8;
        }

        .placeholder-text {
            font-size: 12px;
            font-weight: 500;
            opacity: 0.9;
        }

        /* Image Overlay */
        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            padding: 20px 15px 10px;
            color: white;
        }

        .plot-type-tag {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            display: inline-block;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Content Section */
        .project-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .project-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        /* Project Details */
        .project-details {
            margin-bottom: 20px;
        }

        .detail {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 0;
            color: #4a5568;
            font-size: 13px;
            border-bottom: 1px solid #f1f5f9;
        }

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

        .detail-icon {
            font-size: 14px;
            width: 20px;
            text-align: center;
            color: #667eea;
        }

        .detail-text {
            flex: 1;
            font-weight: 500;
        }

        /* Project Actions */
        .project-actions {
            display: flex;
            gap: 10px;
            margin-top: auto;
        }

        .btn {
            flex: 1;
            padding: 10px 8px;
            border-radius: 8px;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            font-size: 12px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .btn-outline {
            background: transparent;
            border: 1px solid #667eea;
            color: #667eea;
        }

        .btn-outline:hover {
            background: #667eea;
            color: white;
        }

        .btn-sold {
            background: #9ca3af;
            color: white;
            cursor: not-allowed;
            opacity: 0.7;
        }

        /* No Projects */
        .no-projects {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        }

        .no-projects h3 {
            color: #2d3748;
            margin-bottom: 10px;
            font-size: 1.5rem;
        }

        .no-projects p {
            color: #718096;
        }

        /* WhatsApp Floating Button */
        #whatsapp-float {
            position: fixed;
            right: 20px;
            bottom: 90px;
            z-index: 1200;
            background: #25D366;
            border-radius: 50%;
            padding: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            transition: transform 0.2s;
        }
        #whatsapp-float:hover { transform: scale(1.1); }

        /* Site Visit Popup */
        #visit-popup {
            position: fixed;
            right: 20px;
            bottom: 160px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.17);
            padding: 20px;
            z-index: 1201;
            display: none;
            width: 250px;
        }
        #visit-popup button#visit-popup-close {
            position: absolute;
            top: 8px;
            right: 8px;
            border: none;
            background: transparent;
            font-size: 22px;
            cursor: pointer;
        }
        #visit-popup h4 { margin: 0 0 10px 0; }
        #visit-popup input, #visit-popup button[type="submit"] {
            display: block; width: 100%;
            margin-bottom: 10px; padding: 8px; border-radius: 5px; border: 1px solid #ddd;
        }
        #visit-popup button[type="submit"] {
            background: #667eea; color: #fff; border: none; font-weight: 600; cursor: pointer;
        }

        /* Banking Partners Styles */
        .banks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .bank-card-link {
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s ease;
        }

        .bank-card-link:hover {
            transform: translateY(-5px);
        }

        .bank-card {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .bank-card:hover {
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        .bank-logo {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            font-size: 1.2rem;
            margin: 0 auto 1rem auto;
        }

        .bank-logo.blue { background: linear-gradient(135deg, #4285f4, #1a73e8); }
        .bank-logo.red { background: linear-gradient(135deg, #dc3545, #c82333); }
        .bank-logo.orange { background: linear-gradient(135deg, #ff6b35, #f40000); }
        .bank-logo.purple { background: linear-gradient(135deg, #8e44ad, #7d3c98); }
        .bank-logo.navy { background: linear-gradient(135deg, #2c3e50, #34495e); }
        .bank-logo.green { background: linear-gradient(135deg, #28a745, #20c997); }

        .bank-card span {
            display: block;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .bank-hover-text {
            opacity: 0;
            position: absolute;
            bottom: -20px;
            left: 0;
            right: 0;
            background: rgba(102, 126, 234, 0.9);
            color: white;
            padding: 0.5rem;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .bank-card:hover .bank-hover-text {
            opacity: 1;
            bottom: 0;
        }

        .loan-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
            padding: 2rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            color: white;
        }

        .loan-features .feature h4 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .loan-features .feature p {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 15px;
            }
            
            .project-image-container {
                height: 180px;
            }
            
            .project-content {
                padding: 15px;
            }
            
            .project-actions {
                flex-direction: column;
                gap: 8px;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .section-subtitle {
                font-size: 1rem;
                padding: 0 20px;
            }

            .banks-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 1rem;
            }
            
            .bank-card {
                padding: 1rem;
            }
            
            .bank-logo {
                width: 50px;
                height: 50px;
                font-size: 1rem;
            }
            
            .loan-features {
                grid-template-columns: 1fr;
                padding: 1.5rem;
            }

            #map, #visit-popup, #whatsapp-float { right: 10px; }
            #map { width: 98vw; left: 0; right: 0; bottom: 20px; }
            #visit-popup { width: 96vw; }
        }

        @media (max-width: 480px) {
            .projects-grid {
                padding: 0 10px;
            }
            
            .project-image-container {
                height: 160px;
            }
            
            .default-icon {
                font-size: 2.5rem;
            }
        }

    
        /* Footer Section */
        .footer {
            background: #2d3748;
            color: #e2e8f0;
            padding: 60px 0 30px;
            margin-top: 0;
        }

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

        .footer-content {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            color: #ffffff;
            font-size: 1.3rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .footer-section p,
        .footer-section li {
            color: #a0aec0;
            line-height: 1.6;
            margin-bottom: 10px;
        }

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

        .footer-section ul li {
            margin-bottom: 8px;
        }

        .footer-section a {
            color: #a0aec0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #667eea;
        }

        /* Footer Logo */
        .footer-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .footer-logo .logo-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
        }

        .footer-logo .logo-text h3 {
            color: #667eea;
            margin: 0 0 5px 0;
            font-size: 1.2rem;
        }

        .footer-logo .logo-text p {
            color: #a0aec0;
            margin: 0;
            font-size: 0.9rem;
        }

        /* Social Media Icons */
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #667eea;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: #667eea;
            color: white;
            transform: translateY(-2px);
        }

        /* Contact Items */
        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 15px;
        }

        .contact-item i {
            color: #667eea;
            margin-top: 2px;
            width: 18px;
        }

        .contact-item span {
            color: #a0aec0;
            font-size: 14px;
            line-height: 1.5;
        }

        /* Footer Bottom */
        .footer-bottom {
            border-top: 1px solid #4a5568;
            padding-top: 30px;
            text-align: center;
        }

        .footer-bottom-content p {
            color: #a0aec0;
            margin: 0;
            font-size: 14px;
        }

        /* Gallery and Pricing CSS (add these if not already present) */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 10px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .gallery-item img:hover {
            transform: scale(1.05);
        }

        .pricing-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .pricing-card {
            background: white;
            padding: 40px 30px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .pricing-card:hover {
            transform: translateY(-5px);
        }

        .pricing-card.featured {
            border: 3px solid #667eea;
            transform: scale(1.05);
        }

        .pricing-card h3 {
            color: #2d3748;
            margin-bottom: 20px;
        }

        .pricing-card .price {
            font-size: 2.5rem;
            font-weight: 700;
            color: #667eea;
            margin-bottom: 30px;
        }

        .pricing-card .price span {
            font-size: 1rem;
            color: #718096;
        }

        .pricing-card ul {
            list-style: none;
            padding: 0;
            margin-bottom: 30px;
        }

        .pricing-card ul li {
            padding: 10px 0;
            color: #4a5568;
            border-bottom: 1px solid #f1f5f9;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
            
            .social-links {
                justify-content: flex-start;
            }

            .footer-logo {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
        }

        @media (max-width: 480px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }
            
            .social-links {
                justify-content: center;
            }

            .contact-item {
                justify-content: center;
                text-align: left;
            }
        }
        /* About Section Enhanced with Owner Image */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat p {
    color: #718096;
    font-weight: 600;
    font-size: 14px;
}

/* Owner Profile Section */
.owner-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.owner-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.owner-image {
    position: relative;
    margin-bottom: 25px;
}

.owner-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px; /* Optional: adds rounded corners */
}

.company-info h1 {
    margin: 0;
    font-size: 24px;
    color: #2c5282; /* Match your blue theme */
}

.company-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}
@media (max-width: 768px) {
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .company-info h1 {
        font-size: 20px;
    }
    
    .logo-section {
        gap: 10px;
    }
}

/* Owner Placeholder */
.owner-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.owner-avatar {
    font-size: 4rem;
    color: white;
}

/* Owner Badge */
.owner-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Owner Details */
.owner-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.owner-details .designation {
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.owner-description {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Owner Contact Buttons */
.owner-contact {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.owner-contact-btn,
.owner-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.owner-contact-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.owner-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.owner-whatsapp-btn {
    background: #25D366;
    color: white;
}

.owner-whatsapp-btn:hover {
    background: #20c257;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Company Values */
.company-values {
    margin-bottom: 60px;
}

.values-content h4 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 50px;
}

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

.value-item {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    border-top-color: #667eea;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.value-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.value-item p {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission,
.vision {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission::before {
    background: linear-gradient(135deg, #10B981, #059669);
}

.vision::before {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.mission::before,
.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.mission-icon,
.vision-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.mission-icon {
    background: linear-gradient(135deg, #10B981, #059669);
}

.vision-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.mission h4,
.vision h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.mission p,
.vision p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .owner-profile {
        padding: 30px 20px;
    }
    
    .owner-image img,
    .owner-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .owner-avatar {
        font-size: 3rem;
    }
    
    .owner-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .owner-contact-btn,
    .owner-whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 2rem;
    }
    
    .values-content h4 {
        font-size: 1.5rem;
    }
    
    .owner-details h3 {
        font-size: 1.5rem;
    }
}

    






/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}
/* EMI Options Section */
.emi-options {
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    border: 1px solid #e2e8f0;
}

.table-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
    position: relative;
}

.table-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 2em;
}

.gallery-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 20px 16px 16px 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    overflow: hidden;
    min-height: 400px;
}

.gallery-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.gallery-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}

.gallery-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
    background: #f3f5fa;
    box-shadow: 0 1px 8px rgba(0,0,0,0.09);
}

.section-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 0.3em;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2em;
}

h3 {
    font-size: 1.3em;
    margin: 0 0 0.6em 0;
    text-align: center;
}

p {
    font-size: 1em;
    text-align: center;
    margin: 0 0 0.4em 0;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gallery-card {
        min-height: 280px;
        padding: 10px 7px 10px 7px;
    }
    .gallery-image {
        max-height: 140px;
    }
}

/* EMI Cards Grid */
.emi-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.emi-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.emi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.emi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.emi-card:hover::before {
    transform: scaleX(1);
}

.emi-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emi-card h4::before {
    content: '💰';
    font-size: 1.2rem;
}

.emi-card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 500;
}

.emi-card small {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

/* Grid Layout for Cards */
.emi-options .emi-card:nth-child(n+2) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Better approach - separate container for cards */
.emi-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Card variations for visual distinction */
.emi-card:nth-child(1) {
    border-left: 4px solid #10B981;
}

.emi-card:nth-child(1) h4::before {
    content: '🎯';
}

.emi-card:nth-child(2) {
    border-left: 4px solid #F59E0B;
}

.emi-card:nth-child(2) h4::before {
    content: '⭐';
}

.emi-card:nth-child(3) {
    border-left: 4px solid #8B5CF6;
}

.emi-card:nth-child(3) h4::before {
    content: '🚀';
}

/* Button Styling */
.emi-options .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin: 20px auto 0;
    min-width: 200px;
}

.emi-options .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.emi-options .btn::before {
    content: '📊';
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .emi-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .emi-options {
        padding: 25px 20px;
        margin: 20px 0;
    }
    
    .table-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .emi-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .emi-card {
        padding: 20px;
    }
    
    .emi-card h4 {
        font-size: 1.2rem;
    }
    
    .emi-options .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 180px;
    }
}
.soldout-projects {
  overflow: hidden;
  background: #f8d7da;
  padding: 1rem 0;
  border-radius: 8px;
  border: 1px solid #f5c6cb;
  margin: 2rem 0;
}

.scrolling-wrapper {
  display: flex;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
}

.project-item {
  flex: 0 0 auto;
  background: #721c24;
  color: white;
  font-weight: bold;
  padding: 0.7rem 1.2rem;
  border-radius: 20px;
  margin-right: 1rem;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(114, 28, 36, 0.4);
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50%));
  }
}

@media (max-width: 480px) {
    .emi-options {
        padding: 20px 15px;
    }
    
    .table-title {
        font-size: 1.4rem;
    }
    
    .emi-card {
        padding: 16px;
    }
    
    .emi-card h4 {
        font-size: 1.1rem;
    }
    
    .emi-card p {
        font-size: 0.9rem;
    }
    
    .emi-card small {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* Animation on scroll (optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emi-card {
    animation: fadeInUp 0.6s ease-out;
}

.emi-card:nth-child(2) {
    animation-delay: 0.1s;
}

.emi-card:nth-child(3) {
    animation-delay: 0.2s;
}

.emi-card:nth-child(4) {
    animation-delay: 0.3s;
}

.modal-header {
    padding: 20px;
    background: #667eea;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 20px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}
.footer-logos {
    display: flex;
    align-items: center;
    min-width: 140px;
    padding: 0 20px;
}

.logo-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;              /* max desired height in footer */
    width: 140px;              /* restrict horizontal space (adjust as needed) */
    overflow: hidden;          /* prevent big images overflowing */
}

.logo-icons img {
    max-height: 60px;          /* actual image constrained to footer height */
    width: auto;               /* maintain aspect ratio */
    margin: 0 auto;
    display: block;
    /* Optional for look: */
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    background: #fff;
    padding: 4px 8px;          /* optional: keeps space around logo */
    object-fit: contain;       /* ensures full logo is shown */
}

.banking-partners {
    overflow: hidden;
    padding: 2em 0;
}

.banks-grid {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: slideInfinite 20s linear infinite;
    will-change: transform;
}

.bank-card {
    flex: 0 0 auto;
    min-width: 120px;
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    text-align: center;
    user-select: none;
}

/* Bank logo colors */
.bank-logo.blue { background: #004085; }
.bank-logo.red { background: #c82333; }
.bank-logo.orange { background: #fd7e14; }
.bank-logo.purple { background: #6f42c1; }
.bank-logo.navy { background: #001f3f; }
.bank-logo.green { background: #28a745; }

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

.similar-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.similar-project-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #f9f9f9;
}

.similar-project-card h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.similar-project-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.similar-project-actions {
    margin-top: 15px;
}

.similar-project-actions .btn {
    font-size: 12px;
    padding: 8px 15px;
    margin-right: 10px;
}
