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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobile-first responsive container */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Styles - Mobile First */
.header {
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.75rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 60px;
}

/* Brand Section - Mobile First */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0; /* Allows text to shrink */
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 40px;
    width: 40px;
    display: block;
}

.brand-text {
    min-width: 0; /* Allows text to shrink */
    flex: 1;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1.2;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tagline {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
    display: none; /* Hidden on mobile by default */
}

/* Navigation - Mobile First */
.nav {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-link {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px; /* Touch-friendly minimum */
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.nav-link:active {
    background-color: #e5e7eb;
    transform: translateY(1px);
}

/* Tablet Styles */
@media (min-width: 640px) {
    .header {
        padding: 1rem 0;
    }
    
    .header-content {
        min-height: 70px;
    }
    
    .brand {
        gap: 1rem;
    }
    
    .logo {
        height: 50px;
        width: 50px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .tagline {
        display: block;
        font-size: 0.875rem;
    }
    
    .nav {
        gap: 0.75rem;
    }
    
    .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.9375rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .header {
        padding: 1.25rem 0;
    }
    
    .header-content {
        min-height: 80px;
    }
    
    .brand {
        gap: 1.25rem;
    }
    
    .logo {
        height: 60px;
        width: 60px;
    }
    
    .brand-name {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .brand {
        gap: 1.5rem;
    }
    
    .logo {
        height: 70px;
        width: 70px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0;
}

.hero-content {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: #1e40af;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 2rem;
    height: 2rem;
    background: #1e40af;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.badge-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
}

.service-icon.strategy {
    background: #1e40af;
}

.service-icon.operations {
    background: #059669;
}

.service-icon.tech {
    background: #7c3aed;
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    display: block;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-description {
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1rem;
    color: #6b7280;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

@media (min-width: 1024px) {
    .about {
        padding: 5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
}

/* Footer */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: 40px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-tagline {
    color: #d1d5db;
    line-height: 1.6;
}

.contact-title,
.hours-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-items,
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item,
.hours-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item span,
.hours-item span {
    color: #d1d5db;
    line-height: 1.5;
}

.contact-email {
    color: #60a5fa;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

.hours-time {
    margin-left: auto;
    color: #9ca3af;
}

.hours-time.weekend {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive Utilities */
@media (max-width: 479px) {
    /* Extra small mobile adjustments */
    .container {
        padding: 0 0.75rem;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        min-height: 50px;
    }
    
    .brand {
        gap: 0.5rem;
    }
    
    .logo {
        height: 35px;
        width: 35px;
    }
    
    .brand-name {
        font-size: 1.125rem;
    }
    
    .nav {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.8125rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .services,
    .about {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 767px) and (orientation: landscape) {
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        min-height: 45px;
    }
    
    .logo {
        height: 35px;
        width: 35px;
    }
    
    .brand-name {
        font-size: 1.125rem;
    }
    
    .nav-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Print styles */
@media print {
    .header {
        position: static;
        box-shadow: none;
    }
    
    .nav {
        display: none;
    }
    
    .hero-badge {
        position: static;
        margin-top: 1rem;
    }
}
