/* Custom CSS for Indiabulls Estate & Club Landing Page */

/* Base Styles */
* {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Background - Smooth Indiabulls Estate Club Images */
.hero-bg {
    position: relative;
    background: #f8fafc; /* Very light fallback instead of green */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroImageCrossFade 16s ease-in-out infinite;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroImageCrossFadeSecond 16s ease-in-out infinite;
    z-index: 2;
}

/* Cross-fade Animation - First Layer */
@keyframes heroImageCrossFade {
    0%, 22% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/e9990810bec7a4c5970558aa33de93e3');
        opacity: 1;
        filter: blur(0px);
    }
    24%, 24.5% {
        opacity: 0;
        filter: blur(2px);
    }
    25%, 47% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/a6616ade35653df0b6b09925a68f6a3c');
        opacity: 1;
        filter: blur(0px);
    }
    49%, 49.5% {
        opacity: 0;
        filter: blur(2px);
    }
    50%, 72% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/fa001a7cb13aab092877c978679b2c42');
        opacity: 1;
        filter: blur(0px);
    }
    74%, 74.5% {
        opacity: 0;
        filter: blur(2px);
    }
    75%, 97% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/23c3afcfefc1ee4220bd31dbf75b1627');
        opacity: 1;
        filter: blur(0px);
    }
    99%, 99.5% {
        opacity: 0;
        filter: blur(2px);
    }
    100% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/e9990810bec7a4c5970558aa33de93e3');
        opacity: 1;
        filter: blur(0px);
    }
}

/* Cross-fade Animation - Second Layer (Offset) */
@keyframes heroImageCrossFadeSecond {
    0%, 22% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/a6616ade35653df0b6b09925a68f6a3c');
        opacity: 0;
    }
    23%, 24% {
        opacity: 1;
        filter: blur(0px);
    }
    25%, 47% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/fa001a7cb13aab092877c978679b2c42');
        opacity: 0;
    }
    48%, 49% {
        opacity: 1;
        filter: blur(0px);
    }
    50%, 72% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/23c3afcfefc1ee4220bd31dbf75b1627');
        opacity: 0;
    }
    73%, 74% {
        opacity: 1;
        filter: blur(0px);
    }
    75%, 97% {
        background-image: url('https://page.gensparksite.com/v1/base64_upload/e9990810bec7a4c5970558aa33de93e3');
        opacity: 0;
    }
    98%, 99% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 0;
    }
}

/* Fallback sliding animation with gradients */
@keyframes heroSlideFallback {
    0% {
        background: linear-gradient(135deg, 
            #1a5f1a 0%, 
            #2d7d2d 25%, 
            #1a3d1a 50%, 
            #d4af37 75%, 
            #1a2d1a 100%);
        background-position: 0% center;
    }
    33.33% {
        background: linear-gradient(135deg, 
            #d4af37 0%, 
            #f4d03f 25%, 
            #b8860b 50%, 
            #228b22 75%, 
            #1a3d1a 100%);
        background-position: 100% center;
    }
    66.66% {
        background: linear-gradient(135deg, 
            #228b22 0%, 
            #32cd32 25%, 
            #006400 50%, 
            #d4af37 75%, 
            #1a2d1a 100%);
        background-position: 0% center;
    }
    100% {
        background: linear-gradient(135deg, 
            #1a5f1a 0%, 
            #2d7d2d 25%, 
            #1a3d1a 50%, 
            #d4af37 75%, 
            #1a2d1a 100%);
        background-position: 0% center;
    }
}

/* Alternative hero background for published sites */
.hero-bg-fallback {
    background: linear-gradient(135deg, 
        #1a5f1a 0%, 
        #2d7d2d 25%, 
        #1a3d1a 50%, 
        #d4af37 75%, 
        #1a2d1a 100%);
    animation: heroSlideFallback 15s ease-in-out infinite;
}

/* Navigation Enhancements */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .logo-background {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #F4D03F);
    transition: width 0.3s ease;
}

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

/* Luxury Buttons */
.luxury-btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #228B22 50%, #B8860B 100%);
    color: white;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(212, 175, 55, 0.3),
        0 4px 16px rgba(34, 139, 34, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-btn-primary::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: left 0.6s ease;
}

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

.luxury-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(212, 175, 55, 0.4),
        0 8px 24px rgba(34, 139, 34, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #F4D03F 0%, #32CD32 50%, #D4AF37 100%);
}

.luxury-btn-secondary {
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid #D4AF37;
    color: #D4AF37;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-btn-secondary:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 32px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #F4D03F;
}

/* Premium Shadow */
.shadow-3xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}



/* Hero Content Enhancements - Left Aligned */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    padding: 2rem 1rem;
    padding-top: 6rem; /* Add top padding to avoid header overlap */
}

/* Desktop Hero Layout - Content on Left */
@media (min-width: 1024px) {
    .hero-content {
        padding: 8rem 2rem 2rem 2rem; /* Reduced bottom padding */
        max-width: 1200px;
        margin: 0 auto;
        justify-content: flex-start;
        min-height: 85vh; /* Reduced from 100vh */
    }
    
    .hero-content > div {
        max-width: 50%;
        text-align: left;
    }
}

/* Large Desktop - More space for content */
@media (min-width: 1200px) {
    .hero-content {
        padding: 10rem 2rem 2rem 2rem; /* Reduced bottom padding */
        min-height: 90vh; /* Reduced height */
    }
    
    .hero-content > div {
        max-width: 45%;
    }
}

/* Enhanced visibility for main title */
.hero-main-title {
    display: block;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure brand names are prominent */
.brand-luxury {
    color: #d4af37 !important;
    font-weight: 900 !important;
    text-shadow: 
        3px 3px 12px rgba(0, 0, 0, 0.9),
        0px 0px 30px rgba(0, 0, 0, 0.8),
        0px 0px 60px rgba(212, 175, 55, 0.4),
        2px 2px 4px rgba(0, 0, 0, 1);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
}

.brand-estate-club {
    color: #d4af37 !important;
    font-weight: 900 !important;
    text-shadow: 
        3px 3px 12px rgba(0, 0, 0, 0.9),
        0px 0px 30px rgba(0, 0, 0, 0.8),
        0px 0px 60px rgba(212, 175, 55, 0.4),
        2px 2px 4px rgba(0, 0, 0, 1);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
}

/* Multi-line title support */
.hero-title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-title-line:last-child {
    margin-bottom: 0;
}

/* Enhanced Text Visibility for Desktop */
.hero-title {
    text-shadow: 
        3px 3px 10px rgba(0, 0, 0, 0.9),
        0px 0px 25px rgba(0, 0, 0, 0.8),
        0px 0px 50px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 1);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #d4af37 !important;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    text-shadow: 
        3px 3px 12px rgba(0, 0, 0, 0.95),
        0px 0px 20px rgba(0, 0, 0, 0.8),
        0px 0px 40px rgba(212, 175, 55, 0.4),
        2px 2px 4px rgba(0, 0, 0, 1);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8));
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.2;
    color: #ffffff !important;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

.hero-description {
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0px 0px 16px rgba(0, 0, 0, 0.7),
        1px 1px 3px rgba(0, 0, 0, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.6;
    color: #e5e7eb !important;
}

.hero-badge {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    box-shadow: 
        0 8px 32px rgba(212, 175, 55, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-stat-card {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-stat-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 6px 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Hero Button Enhancements */
.hero-btn-primary {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 
        0 8px 32px rgba(212, 175, 55, 0.4),
        0 4px 16px rgba(34, 139, 34, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Subtle Animation for Background */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.floating-element {
    animation: subtleFloat 8s ease-in-out infinite;
}

/* Glowing Effects */
.glow-green {
    box-shadow: 0 0 20px rgba(34, 139, 34, 0.3);
}

.glow-green:hover {
    box-shadow: 0 0 30px rgba(34, 139, 34, 0.5);
}

/* Card Hover Effects */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(34, 139, 34, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(34, 139, 34, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.pricing-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery Hover Effects */
.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    transition: all 0.6s ease;
}

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

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Parallax Effects */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Form Enhancements */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #F4D03F);
    z-index: 100;
    transition: width 0.3s ease;
}

/* Modal Animations */
.modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

.modal-content {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem !important; /* 60px */
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.875rem !important; /* 30px */
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem !important; /* 20px */
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 600px;
    }
    
    .hero-content {
        padding: 3rem 0;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-bg {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4.5rem !important; /* 72px */
        line-height: 1.05;
    }
    
    .hero-subtitle {
        font-size: 2.25rem !important; /* 36px */
        line-height: 1.15;
    }
    
    .hero-description {
        font-size: 1.375rem !important; /* 22px */
        max-width: 700px;
    }
}

/* Tablet and Small Desktop */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 3rem !important; /* 48px */
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important; /* 24px */
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1.125rem !important; /* 18px */
        max-width: 500px;
    }
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding-top: 5rem !important;
        text-align: left;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content > div {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important; /* 40px */
        line-height: 1.1;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 1.25rem !important; /* 20px */
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem !important; /* 16px */
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .feature-card:hover {
        transform: translateY(-5px) scale(1);
    }
    
    .pricing-card:hover {
        transform: translateY(-4px);
    }
    
    /* Mobile Navigation */
    #navbar {
        min-height: 70px;
        padding: 0.5rem 0;
    }
    
    #navbar .container {
        padding: 0 1rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-content {
        padding-top: 4rem !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.125rem !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #D4AF37, #F59E0B);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #F59E0B, #D4AF37);
}

/* Hero Section Specific Styling */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed header */
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Ensure hero content starts from left */
#home .hero-content {
    align-items: flex-start;
    text-align: left;
}

#home .hero-content > div {
    width: 100%;
    max-width: none;
}

@media (min-width: 1024px) {
    #home .hero-content > div {
        max-width: 50%;
        width: 50%;
    }
}

/* Improved text readability - Light overlay only behind text */
.hero-text-wrapper {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .hero-text-wrapper {
        background: rgba(0, 0, 0, 0.35);
        padding: 3rem;
        margin: 2rem 0;
        max-width: 70%;
        backdrop-filter: blur(20px);
    }
}

/* Ensure proper line spacing for titles */
.hero-title {
    margin-bottom: 1rem !important;
    line-height: 1.1 !important;
    word-spacing: 0.1em;
}

.hero-subtitle {
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
}

.hero-description {
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
}

/* Button container spacing */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text-wrapper {
        background: rgba(0, 0, 0, 0.4);
        padding: 1.5rem;
        margin: 1rem;
        text-align: center;
    }
}

/* Text Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Success/Error Messages */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10B981;
    color: #065F46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #EF4444;
    color: #7F1D1D;
}

.alert-info {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: #D4AF37;
    color: #92400E;
}

/* Luxury Accent Elements */
.luxury-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 40px 0;
}

.luxury-border {
    border: 2px solid;
    border-image: linear-gradient(45deg, #D4AF37, #F59E0B) 1;
}

/* High-end Typography */
.luxury-text {
    background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Premium Shadow Effects */
.luxury-shadow {
    box-shadow: 
        0 4px 20px rgba(212, 175, 55, 0.15),
        0 8px 40px rgba(0, 0, 0, 0.1);
}

.luxury-shadow-lg {
    box-shadow: 
        0 8px 30px rgba(212, 175, 55, 0.2),
        0 16px 60px rgba(0, 0, 0, 0.15);
}

/* Backdrop Blur Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Enhanced Logo Styling */
.logo-background {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.logo-background:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-1px) scale(1.01);
}

/* Subtle Glow Animation */
@keyframes logoGlow {
    0%, 100% { 
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.08),
            0 1px 3px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 
            0 6px 24px rgba(0, 0, 0, 0.1),
            0 1px 3px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(212, 175, 55, 0.1);
    }
}

.logo-background {
    animation: logoGlow 4s ease-in-out infinite;
}

.logo-enhanced {
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
    object-fit: contain;
}

.logo-enhanced:hover {
    filter: brightness(1.1) contrast(1.15);
}

/* Navigation Enhancements for Larger Logo */
#navbar {
    min-height: 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled {
    min-height: 70px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

#navbar.scrolled .logo-enhanced {
    transform: scale(0.9);
}

/* Enhanced Navigation Styling */
.nav-link {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.025em;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
    background: rgba(212, 175, 55, 0.1);
}

/* Fix any section overlap with fixed header */
section {
    position: relative;
    z-index: 1;
}

#contact {
    position: relative;
    z-index: 2;
}

/* Ensure contact forms don't get overlapped */
.contact-form,
.modal {
    position: relative;
    z-index: 100;
}

.modal {
    position: fixed;
    z-index: 1001;
}

/* Navigation Layout Fix */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Prevent button overlap - simple fix */
#navbar .luxury-btn-primary {
    white-space: nowrap;
    z-index: 1001;
    position: relative;
}

/* Ensure sections don't overlap with fixed navbar */
section {
    position: relative;
    z-index: 1;
}

/* Contact section specific fix */
#contact {
    z-index: 2;
}

/* Navigation Container */
#navbar .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo and Brand Section Alignment */
#navbar .flex.items-center.space-x-6 {
    align-items: center;
    flex-wrap: nowrap;
}

/* Authorized Partner Section */
#navbar .hidden.xl\\:flex {
    white-space: nowrap;
    min-width: 200px;
}

/* Navigation Container Fixes */
#navbar .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#navbar .flex.justify-between {
    width: 100%;
    align-items: center;
    min-height: 60px;
}

/* Logo and Text Alignment */
#navbar .flex.items-center {
    align-items: center;
    flex-wrap: nowrap;
}

/* Large Desktop - More spacing */
@media (min-width: 1280px) {
    #navbar .container {
        max-width: 1400px;
        padding: 0 2rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .logo-enhanced {
        height: 48px !important;
        max-width: 180px;
    }
    
    .logo-background {
        padding: 6px 12px;
        border-radius: 10px;
    }
    
    #navbar {
        min-height: 70px;
    }
    
    #navbar.scrolled {
        min-height: 60px;
    }
}

@media (max-width: 640px) {
    .logo-enhanced {
        height: 40px !important;
        max-width: 160px;
    }
    
    .logo-background {
        padding: 4px 8px;
        border-radius: 8px;
    }
    
    #navbar {
        min-height: 60px;
    }
}

/* Scrolled State Adjustments */
#navbar.scrolled .logo-background {
    padding: 6px 12px;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Brand Color Utilities */
.text-infraguru {
    color: #003399 !important;
}

.text-indiabulls {
    color: #228B22 !important;
}

.text-estate-gold {
    color: #d4af37 !important;
}

.bg-infraguru {
    background-color: #003399;
}

.bg-indiabulls {
    background-color: #228B22;
}

/* Enhanced Brand Text Styling */
.brand-text-indiabulls {
    color: #228B22 !important;
    font-weight: 800 !important;
    text-shadow: 
        3px 3px 12px rgba(0, 0, 0, 0.9),
        0px 0px 30px rgba(0, 0, 0, 0.8),
        0px 0px 60px rgba(34, 139, 34, 0.3);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.brand-text-estate {
    color: #d4af37 !important;
    font-weight: 800 !important;
    text-shadow: 
        3px 3px 12px rgba(0, 0, 0, 0.9),
        0px 0px 30px rgba(0, 0, 0, 0.8),
        0px 0px 60px rgba(212, 175, 55, 0.4);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

/* Title Word Spacing */
.title-word-spacing {
    word-spacing: 0.15em;
    letter-spacing: 0.02em;
}

/* Visibility Enhancements */
.text-highly-visible {
    text-shadow: 
        3px 3px 12px rgba(0, 0, 0, 0.95),
        0px 0px 25px rgba(0, 0, 0, 0.8),
        0px 0px 50px rgba(0, 0, 0, 0.6),
        1px 1px 3px rgba(0, 0, 0, 1);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
}

.text-premium-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8));
}

.text-premium-green {
    background: linear-gradient(135deg, #228b22 0%, #32cd32 50%, #006400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8));
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-bg {
        background: none !important;
    }
}