/* Vyomfin Consulting - Main Stylesheet */

/* Custom CSS Variables */
:root {
    --navy: #1E3A8A;
    --trust-green: #059669;
    --warm-gold: #F59E0B;
    --light-bg: #F8FAFC;
    --charcoal: #1F2937;
    --medium-grey: #6B7280;
}

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

html {
    visibility: visible !important;
    opacity: 1 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100vh !important;
    overflow-x: hidden;
}



/* Mobile Emergency Fix */
@media (max-width: 768px) {
    html, body {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
        min-height: 100vh !important;
    }
    
    /* Mobile Menu Button Visibility */
    #mobile-menu-button {
        background: rgba(30, 58, 138, 0.1) !important;
        border-radius: 0.5rem !important;
        padding: 0.75rem !important;
        border: 2px solid var(--navy) !important;
    }
    
    #mobile-menu-button i {
        color: var(--navy) !important;
        font-size: 1.25rem !important;
        font-weight: 900 !important;
    }
    
    #mobile-menu-button:hover {
        background: var(--navy) !important;
    }
    
    #mobile-menu-button:hover i {
        color: white !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy), var(--trust-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Components */
.section-padding {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Button Styles */
.btn-primary {
    background: var(--navy);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background: var(--warm-gold);
    color: var(--navy);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Card Styles */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

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

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--navy);
    background: var(--light-bg);
}

.nav-link.active {
    color: var(--navy);
    background: var(--light-bg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1E40AF 50%, var(--trust-green) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-opacity=".3"/><stop offset="100%" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="10" r="10" fill="url(%23a)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Startup Essentials Carousel */
.startup-carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
    overflow-x: hidden;
}

.startup-card {
    flex-shrink: 0;
    width: 12rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.startup-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #1E40AF;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .startup-card {
        width: 10rem;
        padding: 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .startup-card {
        width: 8rem;
        padding: 0.75rem;
    }
    
    .carousel-btn {
        width: 2rem;
        height: 2rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--navy), var(--trust-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-pattern {
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(30, 58, 138, 0.1) 2px, transparent 0),
        radial-gradient(circle at 75px 75px, rgba(5, 150, 105, 0.1) 2px, transparent 0);
    background-size: 100px 100px;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Print Styles */
@media print {
    .navbar,
    .carousel-btn,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .service-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}