@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Playfair+Display:wght@700&display=swap');

:root {
    --bg-body: #030712;       /* Deep Midnight */
    --text-main: #ffffff;     /* Pure White for Headings */
    --text-muted: #cbd5e1;    /* Brighter Slate (Slate 300) for better readability */
    --primary-glow: rgba(56, 189, 248, 0.5);
    --card-border: rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.8;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(129, 140, 248, 0.12) 0%, transparent 30%);
    background-attachment: fixed;
    overflow-x: hidden;
    width: 100%; /* Ensure body doesn't overflow */
}

/* Ensure container has proper padding on mobile */
@media (max-width: 767.98px) {
    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

p, .lead {
    color: var(--text-muted);
    font-weight: 300;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.glass-card:hover {
    background: var(--glass-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px -10px var(--primary-glow);
    border-color: rgba(255, 255, 255, 0.25);
}

/* High-End Navbar */
.navbar {
    background: rgba(3, 7, 18, 0.65) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(1.8);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 4px;
}

.nav-link {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.6rem 1.2rem !important;
    transition: all 0.3s ease;
    border-radius: 50px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Special CTA Button Style for 'Contact Us' in Navbar */
.nav-link.nav-btn-contact {
    background: var(--accent-gradient);
    color: #ffffff !important;
    padding: 0.6rem 1.8rem !important;
    margin-left: 1rem;
    box-shadow: 0 4px 15px -3px rgba(56, 189, 248, 0.4);
    border: 1px solid transparent;
}

.nav-link.nav-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(56, 189, 248, 0.6);
    background: var(--accent-gradient) !important;
    border-color: rgba(255,255,255,0.2);
}

/* Mobile Menu Spacing */
@media (max-width: 767.98px) {
    .navbar-collapse {
        padding: 1rem 0 2rem;
    }
    .navbar-nav .nav-item {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }
    .nav-link.nav-btn-contact {
        margin-left: 0 !important;
        margin-top: 10px;
        display: inline-block;
        width: auto;
    }
}

/* Hero Title */
.hero-title {
    font-size: clamp(3rem, 8vw, 4.8rem);
    line-height: 1.1;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-glow {
    background: var(--accent-gradient);
    border: none;
    color: white !important;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 20px -5px rgba(56, 189, 248, 0.6);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px -5px rgba(56, 189, 248, 0.9);
}

/* Icons */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #38bdf8;
}

.glass-card:hover .icon-wrapper {
    background: var(--accent-gradient);
    color: white;
}

/* Stats */
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline-step {
    border-left: 2px solid rgba(255,255,255,0.15);
}

.timeline-step::before {
    background: #030712;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

/* Custom Dropdown */
.dropdown-trigger {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.dropdown-menu-custom {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translate(-50%, -10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu-custom.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
    display: block !important;
}

.dropdown-item-custom {
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.dropdown-item-custom:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.dropdown-item-custom.active {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

/* Premium Button */
.btn-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 12px 30px;
    backdrop-filter: blur(5px);
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-premium > span {
    position: relative;
    z-index: 2;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    z-index: 1;
    opacity: 0;
    transform: scaleX(0.5) scaleY(0.5);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 50px;
}

.btn-premium:hover {
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.btn-premium:hover::before {
    opacity: 1;
    transform: scale(1);
}

.btn-premium:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px -5px rgba(56, 189, 248, 0.4);
}

/* Scroll Down Animation */
.scroll-down-animate {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-down-indicator p {
    letter-spacing: 0.1em;
    opacity: 0.7;
    font-size: 0.8rem;
}

footer {
    border-top: 1px solid var(--card-border);
    padding: 4rem 0;
    background: rgba(0,0,0,0.4);
}

/* Responsive Navbar & Padding Fixes */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
}
.hero-padding {
    padding-top: 100px !important;
}

/* Mobile Hero Fixes - prevent content being covered by fixed navbar */
@media (max-width: 991.98px) {
    #mobile-hero-fix {
        /* Disable flex centering completely on mobile */
        display: block !important;
        
        /* Ensure the content flows naturally and respects padding */
        min-height: auto !important;
        height: auto !important;
        
        /* Increase top padding significantly to clear the fixed navbar */
        padding-top: 180px !important; 
        
        /* Reset margins to avoid conflicts */
        margin-top: 0 !important;
    }
}