/* Root Variables */
:root {
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-secondary: #10b981;
    --bs-secondary-rgb: 16, 185, 129;
    --bs-body-bg: #f9fafb;
    --bs-body-color: #1f2937;
    --bs-font-sans-serif: 'Inter', sans-serif;
}

body {
    font-family: var(--bs-font-sans-serif);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Button Overrides */
.btn-primary {
    --bs-btn-bg: #4f46e5;
    --bs-btn-border-color: #4f46e5;
    --bs-btn-hover-bg: #4338ca;
    --bs-btn-hover-border-color: #4338ca;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-outline-primary {
    --bs-btn-color: #4f46e5;
    --bs-btn-border-color: #4f46e5;
    --bs-btn-hover-bg: #4f46e5;
    --bs-btn-hover-border-color: #4f46e5;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-light {
    padding: 10px 24px;
    font-weight: 600;
}

/* Navbar & Sticky Header */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bs-body-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: #6b7280;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--bs-primary);
}

/* Animated Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1f2937;
    transition: all 0.3s ease;
    border-radius: 2px;
    left: 0;
}

.navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

/* Toggler Active State */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        border: 1px solid #f3f4f6;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .nav-item {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f9fafb;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        margin: 0;
        font-size: 1.1rem;
        color: #1f2937;
    }

    .d-flex.gap-2 {
        flex-direction: column;
        gap: 1rem !important;
        margin-top: 1.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Section */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#4f46e5 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(to right, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 40px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Features */
.features-section {
    padding: 100px 0;
    background: #ffffff;
}

.feature-card {
    padding: 30px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--bs-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #4338ca 100%);
    padding: 80px 0;
    color: #ffffff;
    margin: 50px 0;
}

/* Footer */
footer {
    background: #1f2937;
    color: #ffffff;
    padding: 80px 0 40px;
    margin-top: auto;
}

.footer-logo {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.contact-info li {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.copyright {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9ca3af;
}

/* Swiper Customization */
.swiper {
    width: 100%;
    height: 90vh;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}
