/* Design System & Variables */
:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #141419;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #E31E24;
    /* Red from Logo */
    --accent-glow: rgba(227, 30, 36, 0.4);
    --gradient-primary: linear-gradient(135deg, #E31E24 0%, #ff4d52 100%);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 3rem;
    --container-width: 1200px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    /* Default no list style */
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) 0;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--spacing-xl);
}

.hero-content {
    max-width: 800px;
	padding-top: 5rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    /* Added for smaller screens/more items */
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
}
.stat-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0;
}

.stat-item p {
    font-size: 0.9rem;
    margin-top: 0;
    color: var(--text-secondary);
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Mobile Nav Styles */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        /* changed from 92vh to 100vh for full cover */
        top: 0;
        /* changed from 8vh to 0 to cover top */
        background-color: rgb(10, 10, 12, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        /* changed to 100% for full width overlay */
        /* changed to 100% for full width overlay */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 100px;
        z-index: 9998;
        /* Increased z-index */
        opacity: 1;
        /* Ensure visible */
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
        position: relative;
        /* Fix for z-index */
        z-index: 9999;
        /* Ensure above menu */
    }

    .nav-active {
        transform: translateX(0%);
    }

    /* Burger Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Hero Background Animation */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    /* Default Red Gradient backup */
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    opacity: 0.25;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    background: linear-gradient(45deg, #2a2a35, #141419);
    opacity: 0.5;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: -50px;
    background: var(--accent-color);
    opacity: 0.15;
    animation-duration: 25s;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 10%;
    /* Contrast Color: Bright Cyan/Blue */
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    opacity: 0.2;
    animation-duration: 18s;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 40%;
    /* Contrast Color: Purple/Pink mix */
    background: linear-gradient(45deg, #43e97b, #38f9d7);
    opacity: 0.2;
    animation-duration: 22s;
    animation-delay: -2s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: 20%;
    background: linear-gradient(45deg, #2a2a35, #141419);
    opacity: 0.3;
    animation-duration: 28s;
    animation-delay: -8s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Features/Verticals Section */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    /* Equal height */
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.card p {
    color: var(--text-secondary);
}

/* Lists inside cards */
.card-list {
    margin-top: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Check Cards (Why Partners Choose Us) */
.check-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left */
    padding: 1.5rem;
}

.check-card h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}


/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-links {
        /* display: none; */
        /* simple mobile hide for now - Consider a burger menu if needed */
    }
}