/* =========================================
   CSS Variables & Design System
   ========================================= */
:root {
    /* Colors - Premium Dark Mode */
    --bg-color: #050505;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    
    /* Vibrant Accents */
    --accent-1: #e49b0f; /* Refined golden/orange to match the design assets */
    --accent-2: #ff7e5f;
    --accent-3: #feb47b;
    --accent-4: #8e2de2;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --gradient-secondary: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    --gradient-text: linear-gradient(to right, var(--accent-1), var(--accent-3));

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows & Effects */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: var(--spacing-xl) 0;
    }
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    max-width: 600px;
    margin-inline: auto;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   Background Blobs (Dynamic Visuals)
   ========================================= */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--accent-1);
}

.blob-2 {
    bottom: 20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: var(--accent-3);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* =========================================
   Utilities (Glassmorphism & Buttons)
   ========================================= */
.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(228, 155, 15, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(228, 155, 15, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(228, 155, 15, 0.15);
    color: var(--accent-1);
    border: 1px solid rgba(228, 155, 15, 0.3);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
   Navigation
   ========================================= */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
    transition: var(--transition-smooth);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-1);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Offset for fixed nav */
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top center;
    box-shadow: var(--glass-shadow);
}

.stat-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 1rem 1.5rem;
    text-align: center;
    background: rgba(228, 155, 15, 0.1);
    border-color: rgba(228, 155, 15, 0.3);
}

.stat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--accent-1);
}

.stat-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    gap: var(--spacing-md);
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.about-text h3 {
    color: var(--accent-1);
}

.about-image-wrapper {
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-poster {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* =========================================
   Ventures Section (Cards)
   ========================================= */
.ventures-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.venture-card {
    width: 100%;
    max-width: 700px;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.venture-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 8px);
}

/* =========================================
   Associated Ventures
   ========================================= */
.associated-card {
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.associated-card img {
    width: 100%;
    height: auto;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-grid {
    display: grid;
    gap: var(--spacing-md);
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-1);
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--surface-border);
}

.contact-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.contact-item p, .contact-item a {
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--accent-1);
}

.contact-poster-wrapper {
    padding: 1rem;
}

.contact-poster {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) - 8px);
}

footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--surface-border);
    margin-top: var(--spacing-lg);
    background: rgba(0,0,0,0.3);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* =========================================
   Floating Buttons (WhatsApp / Instagram)
   ========================================= */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

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

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

.instagram-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.instagram-btn:hover {
    box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
}

/* =========================================
   Animations & Interactivity
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* =========================================
   Media Queries (Desktop/Tablet Layouts)
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .menu-btn {
        display: block;
    }

    .stat-card {
        bottom: 10px;
        right: 10px;
        padding: 0.8rem 1.2rem;
    }
}

@media (min-width: 992px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
    }

    .hero-text {
        text-align: left;
    }

    .hero-subtitle {
        margin-inline: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================
   Expertise Section
   ========================================= */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.expertise-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.expertise-card i {
    font-size: 2.5rem;
    color: var(--accent-1);
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--surface-border);
}

.expertise-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* =========================================
   Calculator Section
   ========================================= */
.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(228,155,15,0.05));
    align-items: center;
}

@media (min-width: 768px) {
    .calc-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.glass-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.glass-input:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(255, 255, 255, 0.08);
}

.glass-input option {
    background: var(--bg-color);
    color: var(--text-primary);
}

.calc-result {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid var(--surface-border);
}

.calc-result h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.result-amount {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-1);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(228, 155, 15, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hidden {
    display: none !important;
}

/* =========================================
   Modals
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: var(--transition-smooth);
    /* For tall content */
    align-items: flex-start;
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-color);
    width: 100%;
    max-width: 600px;
    position: relative;
    padding: 2rem;
    border: 1px solid var(--surface-border);
    margin: 2rem auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-1);
}

/* =========================================
   Quiz Options
   ========================================= */
.quiz-option {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--surface-border);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1.05rem;
    text-align: left;
    color: var(--text-primary);
}

.quiz-option:hover {
    background: rgba(228, 155, 15, 0.1);
    border-color: var(--accent-1);
}

.quiz-option.selected {
    background: var(--accent-1);
    color: #000;
    font-weight: 600;
    border-color: var(--accent-1);
}
