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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Scroll offset for fixed header */
section[id] {
    scroll-margin-top: 100px;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a:hover,
    .btn:hover,
    .social-link:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .logo-monogram:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    }
    
    /* Prevent background scrolling when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.header.scrolled .nav {
    padding: 0.75rem 2rem;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1002;
    position: relative;
    min-width: 44px; /* Minimum touch target size */
    min-height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.hamburger:hover,
.hamburger:focus {
    background-color: rgba(37, 99, 235, 0.1);
    outline: none;
}

.hamburger:active {
    background-color: rgba(37, 99, 235, 0.2);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* Logo Styles */
.logo-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-monogram {
    position: relative;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    overflow: hidden;
}

.logo-monogram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.logo-s, .logo-d {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.logo-s {
    margin-right: -2px;
}

.logo-d {
    margin-left: -2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.company-type {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Logo Animations */
.logo-monogram {
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-monogram:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.logo-s, .logo-d {
    transition: transform 0.3s ease;
}

.logo-monogram:hover .logo-s {
    transform: translateX(-1px);
}

.logo-monogram:hover .logo-d {
    transform: translateX(1px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-menu a:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
}

.nav-menu a.active {
    color: #2563eb !important;
    background-color: rgba(37, 99, 235, 0.15) !important;
    font-weight: 600 !important;
}

.nav-menu a:active {
    transform: translateY(1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.tagline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.tagline-item {
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px; /* Minimum touch target size */
    min-width: 44px;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0 0 0;
    background: #fff;
}

/* Make about-content a horizontal flex container */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: nowrap;
}

.about-text {
    flex: 2; /* Text takes 2/3 of the space */
    min-width: 0; /* Allow text to shrink */
}

/* Style the image as a large rectangle */
.about-headshot {
    width: 320px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px; /* slight rounding for a modern look */
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    flex-shrink: 0;
    display: block;
    margin: 0;
}

/* Responsive: stack on mobile and tablets */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    .about-headshot {
        width: 90vw;
        max-width: 340px;
        height: auto;
        margin-top: 2rem;
    }
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
    max-width: 800px;
}

/* Expertise Section */
.expertise {
    margin-top: 0;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.expertise h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.expertise ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    list-style: none;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.expertise li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.expertise li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Expertise Section - Additional Styles */
.expertise-section {
    padding: 60px 0 40px 0;
    background: #fff;
}

/* Value Proposition */
.value-prop {
    padding: 80px 0;
    background: #f8fafc;
}

.value-prop h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-form-section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #475569;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ensure contact form is centered on desktop */
@media (min-width: 769px) {
    .contact-form-wrapper {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .contact-form-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Ensure about section is side-by-side on desktop */
    .about-content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .about-text {
        flex: 2;
        min-width: 0;
    }
    
    .about-headshot {
        flex-shrink: 0;
        width: 300px;
        height: 375px;
    }
    
    /* Expertise section - 2 columns on desktop */
    .expertise ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        column-gap: 3rem;
    }
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.contact-form .btn-primary {
    background: #2563eb;
    color: #fff;
    width: 100%;
    margin-top: 1rem;
    padding: 16px;
    font-size: 1.1rem;
}

.contact-form .btn-primary:hover {
    background: #1d4ed8;
}

.contact-form .btn-primary:disabled {
    background: #64748b;
    cursor: not-allowed;
    transform: none;
}

#form-status {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

#form-status.success {
    background: #10b981;
    color: #fff;
}

#form-status.error {
    background: #ef4444;
    color: #fff;
}


/* Experience Section */
.experience-section {
    padding: 60px 0;
    background: #fff;
}

.experience-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1e293b;
}

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

.experience-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem;
}

.experience-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #2563eb;
}

.experience-item p {
    color: #475569;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand p {
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #3b82f6;
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-contact h4,
.footer-cta h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.footer-contact-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    flex-shrink: 0;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-contact-info span {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.footer-contact-info a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #3b82f6;
}

.footer-contact-info p {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin: 0;
}

.footer-cta {
    text-align: center;
}

.footer-cta p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #64748b;
}

/* Responsive Design System */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Mobile header with hamburger */
    .header {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .header.scrolled .nav {
        padding: 0.75rem 1rem;
    }
    
    .nav {
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 60vh; /* Only take up part of the screen */
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        transform: translateY(-100%); /* Slide from top instead of side */
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        margin: 0;
        padding: 6rem 1rem 2rem; /* Top padding to account for header */
        list-style: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid rgba(37, 99, 235, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0); /* Slide down from top */
    }
    
    .nav-menu a {
        padding: 12px 24px;
        font-size: 1.1rem;
        min-height: 48px; /* Smaller but still touch-friendly */
        min-width: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        position: relative;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(37, 99, 235, 0.1);
        border-radius: 12px;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    .nav-menu a:hover::before,
    .nav-menu a:active::before,
    .nav-menu a.active::before {
        opacity: 1;
    }
    
    .nav-menu a:hover,
    .nav-menu a:active,
    .nav-menu a.active {
        color: #2563eb !important;
        font-weight: 600 !important;
        transform: translateY(-1px);
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-monogram {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .logo-s, .logo-d {
        font-size: 16px;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .company-type {
        font-size: 0.7rem;
    }
    
    /* Reduced hero padding since header is now compact */
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .tagline {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .about {
        padding: 60px 0 0 0;
    }
    
    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-headshot {
        width: 280px;
        height: 350px;
        margin-top: 1.5rem;
    }
    
    .expertise-section {
        padding: 40px 0;
    }
    
    .expertise ul {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .value-prop {
        padding: 60px 0;
    }
    
    .value-prop h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experience-section {
        padding: 40px 0;
    }
    
    .experience-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .experience-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experience-item {
        padding: 1.5rem;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-form-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact-grid {
        gap: 0.75rem;
    }
    
    .footer-contact-item {
        padding: 0.75rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* Large screens - hamburger menu is hidden */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        position: relative;
        transform: none;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        height: auto;
        width: auto;
        flex-direction: row;
        justify-content: flex-end;
        gap: 2rem;
    }
    
    /* Still single column for small tablets */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablet Devices (769px - 899px) */
@media (min-width: 769px) and (max-width: 899px) {
    .logo-monogram {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    
    .logo-s, .logo-d {
        font-size: 16px;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .company-type {
        font-size: 0.7rem;
    }
    
    .hero {
        padding: 110px 0 70px;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
        line-height: 1.15;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        max-width: 500px;
    }
    
    .tagline {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1.35rem;
    }
    
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-headshot {
        width: 320px;
        height: 400px;
        margin-top: 2rem;
    }
    
    .expertise ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Tablet Devices (769px - 1024px) */
@media (min-width: 900px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 30px;
    }
    
    .nav {
        padding: 1rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        max-width: 550px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-headshot {
        width: 280px;
        height: 350px;
    }
    
    .expertise ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .experience-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1.5fr 1fr;
        gap: 2rem;
    }
}

/* Large Tablets/Small Desktops (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-headshot {
        width: 300px;
        height: 375px;
    }
    
    .experience-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop and Large Screens (1201px+) */
@media (min-width: 1201px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .experience-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 2fr 1fr;
    }
}