/* Premium Design System - Vittaarch GROUP / Dholera Insights */
:root {
    --primary: #1F4E79;
    --primary-light: #2d6ba3;
    --primary-dark: #173a5c;
    --primary-blue: #1F4E79;
    --primary-blue-light: #2d6ba3;
    --primary-blue-dark: #173a5c;
    --accent-black: #1a1a1a;
    --accent-grey: #6b7c9d;
    --accent-gold: #d4af37;
    --text-dark: #1a1a1a;
    --text-body: #475569;
    --text-light: #64748b;
    --bg-cream: #f8fafc;
    --bg-white: #ffffff;
    --bg-section-alt: #f1f5f9;
    --border-light: #e2e8f0;
    --section-spacing: 80px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: 'Red Hat Display', serif;
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-cream);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.font-display {
    font-family: 'Red Hat Display', serif;
    letter-spacing: -0.03em;
    font-weight: 600;
}

/* Smooth Scroll with Offset for Fixed Header */
html {
    scroll-padding-top: 100px;
}

/* Enhanced Navigation */
nav {
    transition: var(--transition-smooth);
}

.nav-link {
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(12px);
}

/* Premium Button Styles */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    transform: translateY(0);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.btn-premium:active {
    transform: translateY(0);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-premium:hover::after {
    left: 100%;
}

/* Card Enhancements */
.zone-card,
.feature-card {
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}

.zone-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Image Hover Effects */
.image-hover {
    overflow: hidden;
    border-radius: 1rem;
}

.image-hover img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--primary-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Animation for Hero Elements */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

/* Animation Delays */
.delay-500ms {
    animation-delay: 0.5s;
}

.delay-1s {
    animation-delay: 1s;
}

.delay-1-5s {
    animation-delay: 1.5s;
}

.delay-2s {
    animation-delay: 2s;
}

/* Timeline Enhancements */
.timeline-dot {
    transition: var(--transition-smooth);
}

.timeline-dot:hover {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.1);
}

/* Progress Bar Animation */
.progress-fill {
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FAQ Accordion Enhancement */
details {
    transition: var(--transition-smooth);
}

details:hover {
    background: rgba(59, 130, 246, 0.02);
}

details summary {
    transition: var(--transition-smooth);
}

details summary:hover {
    color: var(--primary-blue);
}

details[open] summary~* {
    animation: sweep 0.3s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Table Enhancements */
table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

tr {
    transition: var(--transition-smooth);
}

tr:hover {
    background: rgba(59, 130, 246, 0.03);
}

td {
    border-bottom: 1px solid var(--border-light);
}

/* Loading Skeleton Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

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

.skeleton {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #f6f7f8 4%, #e2e8f0 25%, #f6f7f8 36%);
    background-size: 1000px 100%;
}

/* Mobile Menu Enhancement */
#mobile-menu {
    transition: var(--transition-smooth);
    transform-origin: top;
}

#mobile-menu.hidden {
    display: none;
    opacity: 0;
    transform: scaleY(0);
}

#mobile-menu:not(.hidden) {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-blue-light);
    outline-offset: 2px;
}

/* Stats Counter Animation */
.stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Hero Section Parallax Effect */
.hero-bg {
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.75)), url('http://static.photos/cityscape/1200x630/42');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(30, 58, 138, 0.4) 100%);
    pointer-events: none;
}

/* Static hero banner (About Dholera, Investment, Contact) - full-width image + overlay */
.hero-banner {
    position: relative;
    min-height: 42vh;
    padding-top: 7rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (min-width: 768px) {
    .hero-banner { min-height: 50vh; padding-top: 8rem; padding-bottom: 5rem; }
}
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.82) 0%, rgba(23, 58, 92, 0.75) 100%);
    pointer-events: none;
}
.hero-banner-content {
    position: relative;
    z-index: 10;
}

/* Banner Slider Styles */
.banner-slider {
    position: relative;
    background: #0f172a;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 0;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.banner-slide .hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.banner-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.banner-dot.active {
    background: white !important;
    transform: scale(1.2);
}

/* Section Spacing Improvements */
section {
    position: relative;
}

/*
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
    opacity: 0.5;
}
*/

/* Link Underline Animation */
.link-underline {
    position: relative;
    text-decoration: none;
}

.link-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Trust Indicators Pulse */
@keyframes pulse-subtle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.trust-indicator {
    animation: pulse-subtle 3s ease-in-out infinite;
}

/* Responsive Typography Scale */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .font-display {
        letter-spacing: -0.02em;
    }
}

/* Print Styles */
@media print {

    nav,
    footer,
    .btn-premium {
        display: none;
    }

    body {
        background: white;
    }
}
/* Development Timeline Line */
.timeline-line { position: absolute; left: 1.5rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, #2d6ba3, #1F4E79); z-index: 1; }
@media (min-width: 768px) { .timeline-line { left: 50%; transform: translateX(-50%); } }

/* Animations from original HTML */
.animate-fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-fade-in.visible, [data-aos].aos-animate.animate-fade-in { opacity: 1; transform: translateY(0); }

/* Bulk Land & Investment Zone Specifics */
.hero-overlay {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.tab-btn {
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: #1F4E79;
    color: white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.post-content p,
.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.post-content h2,
.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul,
.prose ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.post-content img,
.prose img {
    margin: 2rem 0;
    border-radius: 16px;
}