/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* OneEleven Color Palette */
    --primary-color: #091700;      /* Dark Green */
    --secondary-color: #455735;    /* Medium Green */
    --accent-color: #b7c8b6;       /* Light Green */
    --text-color: #091700;         /* Dark Green */
    --text-light: #FFFFFF;         /* White */
    --bg-primary: #FFFFFF;         /* White */
    --bg-secondary: #b7c8b6;       /* Light Green */
    --bg-tertiary: #f9f9f9;        /* Very Light Gray */
    --border-color: #636963;       /* Gray */
    
    /* Shadows - More subtle and refined */
    --shadow-sm: 0 1px 2px rgba(9, 23, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(9, 23, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(9, 23, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(9, 23, 0, 0.1);
    
    /* Typography Scale */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-primary);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Refined and Elegant */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--font-5xl);
    font-weight: 400;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--font-4xl);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--font-3xl);
}

h4 {
    font-size: var(--font-2xl);
}

h5 {
    font-size: var(--font-xl);
}

h6 {
    font-size: var(--font-lg);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-color);
}

.lead {
    font-size: var(--font-lg);
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

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

/* Container - Wider for professional look */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Header - Sleek and Minimal */
header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    padding: var(--space-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-2xl);
    font-weight: 300;
    color: var(--primary-color);
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

/* Refined 111 branding - only for text logos */
a.logo:not(:has(img))::after {
    content: " 111";
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--secondary-color);
    vertical-align: super;
    margin-left: 0.25rem;
}

/* Image logo styles */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 400;
    font-size: var(--font-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Mobile Navigation - Refined */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 300px);
}

/* Hero Section - Elegant and Minimal */
.hero {
    background: var(--primary-color);
    color: var(--text-light);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Ensure all hero text is white */
.hero p,
.hero a,
.hero span {
    color: var(--text-light);
}

/* Subtle geometric pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(69, 87, 53, 0.05) 49%, rgba(69, 87, 53, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(69, 87, 53, 0.05) 49%, rgba(69, 87, 53, 0.05) 51%, transparent 52%);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--text-light);
    font-size: var(--font-5xl);
    font-weight: 300;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.hero .tagline {
    font-size: var(--font-xl);
    font-weight: 300;
    margin-bottom: var(--space-xl);
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections - Clean Spacing */
.section {
    padding: var(--space-3xl) 0;
}

.section:nth-child(even) {
    background-color: var(--bg-tertiary);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-subtitle {
    font-size: var(--font-lg);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

/* Cards - Sophisticated Design */
.card {
    background-color: var(--bg-primary);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

/* Buttons - Elegant and Professional */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-xl);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: var(--font-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-primary:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Secondary button on light backgrounds */
.section .btn-secondary,
.bg-light .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.section .btn-secondary:hover,
.bg-light .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

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

/* Value Proposition - Refined */
.value-prop {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.value-prop h2 {
    margin-bottom: var(--space-lg);
}

.value-prop p {
    font-size: var(--font-lg);
    line-height: 1.8;
    color: var(--text-color);
}

/* Problem Statement - Elegant */
.problem-statement {
    background-color: var(--bg-tertiary);
    border-left: 3px solid var(--secondary-color);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    position: relative;
}

.problem-statement::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: 'Playfair Display', Georgia, serif;
}

/* Features - Professional Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.feature {
    text-align: center;
    padding: var(--space-lg);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
}

.feature h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-sm);
}

.feature p {
    color: var(--text-color);
}

/* Footer - Professional and Clean */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3 {
    color: var(--text-light);
    font-size: var(--font-lg);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: var(--text-light);
    opacity: 0.7;
    font-size: var(--font-sm);
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    opacity: 0.6;
    font-size: var(--font-sm);
}

/* Forms - Professional Styling */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--primary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
    font-size: var(--font-base);
    transition: all 0.3s ease;
    background-color: var(--bg-primary);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(69, 87, 53, 0.1);
}

/* Enhanced focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --font-5xl: 2.5rem;
        --font-4xl: 2rem;
        --font-3xl: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg) 0;
        gap: var(--space-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: var(--font-4xl);
    }

    .hero .tagline {
        font-size: var(--font-lg);
    }

    h1 {
        font-size: var(--font-4xl);
    }

    h2 {
        font-size: var(--font-3xl);
    }

    h3 {
        font-size: var(--font-2xl);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .btn {
        display: block;
        width: 100%;
        margin: var(--space-xs) 0;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }
}

/* Animations - Subtle and Professional */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-gold {
    color: var(--secondary-color);
}

.bg-light {
    background-color: var(--bg-tertiary);
}

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.py-1 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-2 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-3 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-4 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: var(--space-xl) 0;
}

/* Quote Blocks */
.quote {
    position: relative;
    padding: var(--space-lg);
    font-style: italic;
    font-size: var(--font-lg);
    color: var(--text-color);
    border-left: 3px solid var(--secondary-color);
    margin: var(--space-xl) 0;
}

.quote cite {
    display: block;
    margin-top: var(--space-md);
    font-style: normal;
    font-size: var(--font-sm);
    color: var(--primary-color);
    font-weight: 500;
}

/* Tables - if needed */
table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

th, td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: var(--font-sm);
    letter-spacing: 0.05em;
}

/* Responsive tables */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}