/* Base & Reset */
:root {
    --bg-color: #f8f9fa;
    /* Light background */
    --card-bg: #ffffff;
    --text-primary: #111827;
    /* Dark text */
    --text-secondary: #4b5563;
    /* Gray text */
    --accent-primary: #4338ca;
    /* Darker Indigo for better contrast on light */
    --accent-secondary: #7e22ce;
    /* Purple */
    --accent-glow: #4f46e5;
    --gradient-main: linear-gradient(135deg, #4338ca 0%, #7e22ce 100%);
    --gradient-text: linear-gradient(135deg, #4338ca 0%, #7e22ce 100%);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Updated Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* Light backdrop */
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--accent-primary);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-list a:hover {
    color: var(--accent-primary);
}

.btn-contact {
    padding: 0.6rem 1.5rem;
    background: var(--text-primary);
    /* Dark button for high contrast */
    border-radius: var(--radius-sm);
    /* Sharper border */
    color: #fff !important;
    border: 1px solid var(--text-primary);
}

.btn-contact:hover {
    background: transparent;
    color: var(--text-primary) !important;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    /* Slightly reduced height for sharper look */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
}

/* Changed generic blob to a cleaner gradient mesh or subtle accent */
.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 56, 202, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    border-radius: 50%;
}

/* Add a second one for balance */
.hero::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(126, 34, 206, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #eef2ff;
    /* Very light indigo */
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(67, 56, 202, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    /* Adjusted for cleaner typography */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    /* Sharper */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(67, 56, 202, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(67, 56, 202, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-primary);
    border-radius: 15px;
    /* Less rounded mouse too */
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 5px;
    background: var(--text-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Section Common */
.section {
    padding: 6rem 0;
    /* Slightly tighter spacing */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    /* Less rounded */
    border: 1px solid #e5e7eb;
    /* Subtle border */
    text-align: left;
    /* Cleaner, more corporate alignment */
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #eef2ff;
    border-radius: var(--radius-sm);
    /* Sharper */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.about-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Brands Showcase */
.brand-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.brand-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    /* Less rounded */
    padding: 3rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.brand-image-wrapper {
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    /* Ensure image fits correctly */
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the area nicely */
    transition: var(--transition);
}

.brand-card:hover .brand-image {
    transform: scale(1.03);
    /* Subtle zoom effect on hover */
}

.brand-content h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 800;
}

.brand-tagline {
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.brand-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.brand-features {
    margin-bottom: 2.5rem;
}

.brand-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
}

.brand-features li i {
    color: var(--accent-primary);
    background: #eef2ff;
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    border: 2px solid var(--text-primary);
    /* Thicker, sharper border */
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: #fff;
}

/* Contact */
.contact {
    padding-bottom: 0;
}

.contact-container {
    padding-bottom: 5rem;
}

.contact-card {
    background: var(--text-primary);
    /* Solid dark contrast for CTA section */
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Update pattern opacity for dark bg */
.contact-card::before {
    opacity: 0.05;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.7);
}

.email-link {
    display: inline-block;
    background: #fff;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: var(--radius-sm);
    /* Square with slight radius */
}

.social-links a:hover {
    background: #fff;
    color: var(--text-primary);
    border-radius: 50%;
    /* Circle on hover effect */
    transform: none;
}

/* Footer */
/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    display: inline-block;
}

.footer-right {
    display: flex;
    gap: 2.5rem;
}

.footer-right a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.footer-right a:hover {
    color: var(--accent-primary);
}

.footer-credit {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-credit a {
    color: var(--text-primary);
    font-weight: 700;
    opacity: 0.8;
}

.footer-credit a:hover {
    opacity: 1;
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 900px) {
    .brand-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brand-image-wrapper {
        height: 300px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        /* Align to right for slide-in */
        height: 100vh;
        width: 100%;
        /* Full width or 80% */
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        /* Always display, just hide visually */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        /* Start off-screen */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    .nav.active {
        transform: translateX(0);
        /* Slide in */
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-list a {
        font-size: 1.5rem;
        /* Larger text for mobile */
        font-weight: 700;
        color: var(--text-primary);
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        /* Above the nav overlay */
        position: relative;
    }

    /* Hamburger Animation to 'X' */
    .mobile-menu-btn i {
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.active i {
        transform: rotate(90deg);
        /* Simple rotation for icon */
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 1rem;
    }
}