/* Bizlr Technologies - Minimalist Google One-Inspired Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Colors - Clean & Optimistic */
    --primary: #ffffff;
    --primary-alt: #f1f3f4;
    /* Google grey */

    --accent: #1967d2;
    /* Standard Google Blue */
    --accent-light: #e8f0fe;
    --accent-red: #ea4335;
    --accent-yellow: #fbbc04;
    --accent-green: #34a853;

    --text-main: #202124;
    --text-body: #5f6368;

    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-surface: #ffffff;

    /* Shadows & Borders */
    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-pill: 50px;

    --container-width: 1200px;
    --header-height: 70px;
    --glass-border: #dadce0;
}

[data-theme="dark"] {
    --primary: #202124;
    --primary-alt: #303134;
    --accent: #8ab4f8;
    --accent-light: rgba(138, 180, 248, 0.1);
    --text-main: #e8eaed;
    --text-body: #bdc1c6;
    --bg-body: #202124;
    --bg-surface: #303134;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
    --glass-border: #5f6368;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    font-weight: 500;
}

h2 {
    font-size: 2.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-body);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

/* FIX: Explicitly remove dots from all lists */
ul,
li,
nav ul,
nav li {
    list-style: none inside;
    text-decoration: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 4px;
    /* More classic Google button */
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Outfit', sans-serif;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    background-color: #1a73e8;
    /* Slightly darker */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.btn-outline {
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent-light);
    /* Very subtle border */
}

.btn-outline:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-body);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
    /* Minimal separator */
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: var(--text-body);
    font-weight: 500;
}

.logo span {
    color: var(--text-main);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    list-style: none;
}

/* Double ensure no dots */
.nav-links a {
    font-weight: 500;
    color: var(--text-body);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

/* Bubble Glows */
.glow-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    animation: pulseGlow 10s infinite alternate;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(66, 133, 244, 0.2);
    /* Blue */
    top: -100px;
    left: 50%;
    transform: translateX(-80%);
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(234, 67, 53, 0.15);
    /* Red */
    bottom: 0px;
    right: 50%;
    transform: translateX(80%);
    animation-delay: 2s;
}

.glow-3 {
    width: 200px;
    height: 200px;
    background: rgba(251, 188, 4, 0.15);
    /* Yellow */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.7;
    }
}

/* Blog Section Styles */
.blog-grid {
    display: grid;
    /* Adjusted to 300px to ensure 3 cards fit nicely on standard 1140px/1200px containers */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Minimal border */
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .card {
    border-color: rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--primary-alt);
}

.icon-wrapper img {
    width: 32px;
    height: 32px;
}

/* Minimalist Features */
.feature-minimal {
    text-align: left;
}

/* Footer */
footer {
    background: var(--primary-alt);
    padding: 64px 0 32px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-col a {
    color: var(--text-body);
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
}

/* Responsive / Mobile Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: block;
        z-index: 101;
    }

    /* Mobile Nav */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-body);
        transition: right 0.3s ease;
        padding-top: var(--header-height);
        z-index: 99;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .desktop-only {
        display: none;
    }

    /* Hide 'Get Started' button in header on mobile if simpler */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Fix Engineered/About Grid stacking */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-body);
}

/* Partners Logo Strip */
.partners-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: 0.3s;
}

.partners-strip:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dark Mode Fixes */
[data-theme="dark"] .icon-wrapper {
    background: #3c4043;
}

[data-theme="dark"] .card {
    border: 1px solid #5f6368;
    background: #303134;
}

[data-theme="dark"] .section-padding[style*="background-color: var(--primary-alt)"] {
    background-color: var(--primary-alt) !important;
    /* Ensure alt bg is dark in dark mode */
}

[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] p,
[data-theme="dark"] span {
    color: var(--text-main);
}

[data-theme="dark"] p {
    color: var(--text-body);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-body);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    /* Consistent rounding */
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 10px;
    /* Small gap handling needed */
}

/* Add a pseudo-element to bridge the gap so menu doesn't disappear */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInUp 0.2s ease-out;
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--primary-alt);
    color: var(--accent);
}

/* Mobile Dropdown Handling */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        display: none;
        /* Hidden by default, toggled via JS if we add click text, or keep hover */
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: transparent;
        animation: none;
        margin-top: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        /* Works for now, though click is better on mobile */
    }

    .dropdown-menu li a {
        padding: 8px 0;
        font-size: 1.1rem;
    }
}

/* Blog Section Styles */
/* Blog Typography (Medium Style) */
.blog-content {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    font-family: 'Inter', sans-serif;
    /* Keep headings modern/sans like Medium sometimes does, or use serif */
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-muted);
}


.blog-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 8px;
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.blog-excerpt {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Styles */
.testimonial-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 16px;
    display: block;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-body);
}

[data-theme="dark"] .testimonial-quote-icon {
    color: #3c4043;
    /* Darker accent for dark mode */
}

/* Social Icons */
.social-links {
    margin-top: 24px;
    display: flex;
    gap: 16px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-body);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-light);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    /* Google-like inputs */
    color: var(--text-main);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-body);
    opacity: 0.7;
}

/* Ensure footer input looks good too */
.footer-col input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.footer-col input[type="email"]:focus {
    background: var(--bg-surface);
    border-color: var(--accent);
}

/* Dark mode overrides for inputs if not covered by vars */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: #303134;
    border-color: #5f6368;
    color: #e8eaed;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus {
    border-color: #8ab4f8;
}