/* Global Styles */
:root {
    --primary-color: #1a73e8;
    --primary-color-rgb: 26, 115, 232;
    --secondary-color: #4285f4;
    --accent-color: #0d47a1;
    --light-color: #f3f4f6;
    --dark-color: #1f2937;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}



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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #fff;
    padding-top: 70px; /* Account for fixed header */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-nav{
    background-color: white;
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
}

.btn-nav:hover{
    background-color: var(--primary-color);
    color: white;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1.4px solid var(--primary-color);
    padding: 0.75rem 1.4rem;
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding-top: 13px;
    padding-bottom: 13px;
}

.btn-secondary:hover {
    background-color: var(--gray-300);
    color: var(--dark-color);
}

.btn-sm {
    padding: 0.5rem 1.8rem;
    font-size: 0.9rem;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
header {
    background-color: var(--gray-100);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: transform 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 1px solid rgba(18, 18, 18, 0.038);
}

/* White background only for the home page */
.home-page header {
    background-color: white;
}

header.nav-hidden {
    transform: translateY(-100%);
}

/* Keep mobile menu toggle visible even when header is hidden */
@media screen and (max-width: 820px) {
    header.nav-hidden .mobile-menu-toggle {
        position: fixed;
        top: 1rem;
        right: 1.5rem;
        background-color: white;
        border-radius: 50%;
        padding: 0.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        z-index: 102;
        transform: translateY(0);
    }
    
    header.nav-hidden .mobile-menu-toggle span {
        background-color: var(--gray-800);
    }
}

/* Mobile logo sizing */
@media screen and (max-width: 820px) {
    .logo img {
        height: 20px;
        width: auto;
    }
    
    .beta-tag {
        font-size: 0.55rem;
        padding: 2px 5px;
        margin-left: 8px;
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        height: 18px;
        width: auto;
    }
    
    .beta-tag {
        font-size: 0.5rem;
        padding: 2px 4px;
        margin-left: 6px;
    }
}

@media screen and (max-width: 400px) {
    /* Global font size reduction for very small screens */
    html {
        font-size: 15px; /* Reduce base font size from 16px to 15px */
    }
    
    /* Specific adjustments for header elements */
    .logo img {
        height: 16px;
        width: auto;
    }
    
    .beta-tag {
        font-size: 0.45rem;
        padding: 1px 4px;
        margin-left: 5px;
    }
    
    /* Reduce heading sizes */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    /* Reduce paragraph and text sizes */
    p {
        font-size: 0.9rem !important;
    }
    
    /* Reduce button sizes */
    .btn {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    
    .btn-lg {
        font-size: 0.9rem !important;
        padding: 0.8rem 1.5rem !important;
    }
    
    .btn-sm {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    /* Reduce container padding */
    .container {
        padding: 0 0.8rem !important;
    }
    
    /* Reduce section padding */
    section {
        padding: 2rem 0 !important;
    }
    
    /* Specific adjustments for enterprise solutions */
    .enterprise-intro h2 {
        font-size: 1.8rem !important;
    }
    
    .enterprise-intro p {
        font-size: 0.9rem !important;
    }
    
    .enterprise-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .enterprise-card {
        padding: 1.5rem !important;
    }
    
    .enterprise-card h3 {
        font-size: 1.2rem !important;
    }
    
    .enterprise-card p {
        font-size: 0.85rem !important;
    }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #212121;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1.5rem;
}

.header-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

nav ul li a {
    color: #000000;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
    border: none;
    background-color: white;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--gray-800);
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
    
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Hamburger animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: calc(100vh - 0px);
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
    flex-direction: column;
}

.mobile-nav.active {
    transform: translateY(0);
}



.mobile-nav ul {
    
    list-style: none;
    padding: 2rem 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.mobile-nav-links{
    padding-top: 40px;
}


.mobile-nav ul li {
    margin: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 1.25rem 2rem;
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background-color: var(--primary-color);
    color: white;
    padding-left: 2.25rem;
}

.mobile-nav ul li a.active::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: white;
    border-radius: 2px;
}

.mobile-nav ul li:last-child a {
    border-bottom: none;
}

/* Mobile CTA buttons */
.mobile-nav-cta {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0;
}

.mobile-nav-cta .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Mobile Navigation Media Queries */
@media screen and (max-width: 820px) {
    /* Hide desktop navigation */
    nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Show mobile navigation when active */
    .mobile-nav {
        display: flex;
        
    }
    
    /* Adjust header layout for mobile */
    header .container {
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        height: 75px !important;
        flex-direction: row !important;
    }
    
    .logo {
        flex: 1;
        order: 1;
        justify-content: flex-start !important;
    }
    
    .mobile-menu-toggle {
        order: 2;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}