/* AB IT Solutions - Premium Consulting Website Styles */

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

/* CSS Variables - Brand Palette */
:root {
    --primary: #1E3A5F;
    --primary-dark: #0D1E3C;
    --accent: #4075C3;
    --light-neutral: #F9F9F9;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #10b981;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Typography */
body {
    font-family: 'Inter', 'Work Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

h1 { font-size: 2.8rem; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: 2rem; letter-spacing: -0.02em; font-weight: 700;}
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

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

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

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 7rem 0;
}

/* Universal Card Style */
.card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.logo-img { height: 40px; }

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

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 0;
}

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

/* Hero Section */
.hero {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%234075C3' fill-opacity='0.1'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 7rem 0;
    text-align: center;
    color: var(--white);
}

.hero h1, .hero p {
    color: var(--white);
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* About Us Snippet */
.about-snippet {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-snippet-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-snippet-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.about-snippet-text h2 {
    margin-bottom: 1.5rem;
}

.about-snippet-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 600px;
}

/* Page Header (for subpages) */
.page-header {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%234075C3' fill-opacity='0.1'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
}
.page-header h1 { 
    margin-bottom: 0.5rem; 
    color: var(--white);
}
.page-header p { 
    font-size: 1.25rem; 
    color: var(--white);
    opacity: 0.9;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.25rem;
}
.section-header p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Overview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.service-card h4 {
    margin: 1.5rem 0 1rem;
}
.service-card p {
    margin-bottom: 2rem;
}
.service-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-neutral);
    color: var(--accent);
}
.service-icon svg {
    width: 28px;
    height: 28px;
}

/* Problems Section */
.problems-section {
    background-color: var(--light-neutral);
}
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.problem-card {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.problem-card h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.problem-card p {
    font-size: 1rem;
}

/* Common IT Headaches */
.headaches-section {
    background-color: var(--light-neutral);
}
.headaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.headache-item {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    border-radius: 8px;
}
.headache-item h5 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.headache-item h5 svg {
    flex-shrink: 0;
    color: var(--accent);
}
.headache-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}


/* How It Works */
.how-it-works-section {
    background-color: var(--white);
}
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.process-step .step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--light-neutral);
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
}
.process-step h4 {
    margin-bottom: 0.5rem;
}
.process-step p {
    margin-bottom: 0;
    font-size: 1rem;
}


/* About CTA Section */
.approach-section {
    background-color: var(--light-neutral);
}
.approach-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}
.approach-image .founder-photo {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.approach-text h2 {
    margin-bottom: 1rem;
}
.approach-text blockquote {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gray-600);
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

/* Who I Work With */
.client-types {
    padding-bottom: 4rem;
}
.client-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.client-tag {
    background-color: var(--light-neutral);
    color: var(--gray-600);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

/* SEO Content Block */
.seo-block {
    padding: 4rem 0;
}
.seo-block .container {
    max-width: 800px;
    text-align: center;
}
.seo-block h2 {
    margin-bottom: 1rem;
}
.seo-block p {
    font-size: 1.1rem;
}

/* Final CTA Section */
.cta-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}
.cta-section h2, .cta-section p {
    color: var(--white);
}
.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

/* Social Proof (Trust Badges) */
.social-proof h3 {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}
.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-item svg {
    height: 35px;
    fill: var(--gray-400);
    transition: fill 0.3s ease;
}
.logo-item:hover svg {
    fill: var(--primary);
}

/* Comparison Lists */
.comparison-list, .comparison-list-personal {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}
.comparison-list li, .comparison-list-personal li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.75rem;
}
.comparison-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--success);
}
.comparison-list-personal li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--accent);
}

/* --- SUBPAGE STYLES --- */

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-founder-bio {
    text-align: center;
    position: sticky;
    top: 120px;
}
.about-founder-bio .title {
    font-weight: 500;
    color: var(--gray-500);
    margin-top: -1rem;
}
.about-founder-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.about-mission h2 {
    margin-bottom: 2rem;
}
.values-list {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}
.value-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.value-icon {
    color: var(--accent);
}

.subtle-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.6;
    border: none;
    padding: 0;
}
.subtle-quote footer {
    font-size: 1.1rem;
    font-style: normal;
    color: var(--primary);
    margin-top: 1.5rem;
    font-weight: 600;
}


/* Services Page */
.service-detail {
    padding: 0; /* remove default padding */
}
.service-detail:nth-child(even) { /* Handles alternating sections */
    background-color: var(--light-neutral);
}
.service-detail .container {
    padding: 5rem 1.5rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.service-detail-text .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.service-icon-placeholder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-neutral);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
.feature-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.feature-icon {
    color: var(--accent);
}
.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-detail-cta {
    background-color: var(--light-neutral);
    padding: 2rem;
    border-radius: 12px;
    position: sticky;
    top: 120px;
}
.alt-service .service-detail-cta {
    background-color: var(--white);
}
.service-detail-cta h3 {
    margin-bottom: 1rem;
}
.service-detail-cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-page-content {
    padding-top: 3rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}
.contact-details .card {
    margin-bottom: 2rem;
}
.contact-list {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}
.contact-list li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-list li strong {
    color: var(--primary);
}
.small-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 1rem 0 0 0;
}
.contact-details .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Support Page */
.support-options {
    padding: 3rem 0;
}
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.support-card {
    text-align: center;
}
.support-card .btn {
    margin: 1rem 0;
}
.resolution-checklist .card {
    max-width: 800px;
    margin: 0 auto;
}
.resolution-checklist ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}
.resolution-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
}
.resolution-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.5rem;
    color: var(--accent);
}


/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--gray-200);
    padding: 5rem 0;
    border-top: 5px solid var(--accent);
}
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-about .footer-logo-img {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: grayscale(1) invert(1);
}
.footer-about p {
    color: var(--gray-400);
    max-width: 350px;
}
.footer-certifications {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.footer-badge-img {
    max-height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}
.footer-badge-img:hover {
    opacity: 1;
}

.footer-nav-col {
    flex: 1;
}
.footer-nav-col h4 {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.footer-nav-col ul {
    list-style: none;
    padding: 0;
}
.footer-nav-col li {
    margin-bottom: 0.75rem;
}
.footer-nav-col a {
    color: var(--gray-400);
}
.footer-nav-col a:hover {
    color: var(--white);
    text-decoration: underline;
}
.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}
.footer-bottom a {
    color: var(--gray-400);
    font-weight: 500;
}
.footer-bottom a:hover {
    color: var(--white);
}


/* Responsive Design */

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-founder-bio {
        position: static;
        text-align: center;
    }
    .service-detail-content,
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
    }
    .service-detail-cta {
        position: static;
        margin-top: 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-calendly {
        order: 2;
    }
    .process-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .header .btn { display: none; }
    .nav { display: none; } /* Hide desktop nav on mobile */

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

    .about-snippet-image {
        margin-bottom: 2rem;
    }

    .about-snippet-text {
        max-width: 100%;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    .footer-about {
        max-width: 100%;
    }
    .footer-about .footer-logo-img {
        margin: 0 auto 1.5rem auto;
    }

    .service-features,
    .support-grid,
    .headaches-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation */
.hamburger-menu {
    display: none; /* Hidden by default */
    z-index: 1001;
    cursor: pointer;
}

.hamburger-menu .line {
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 30, 60, 0.98);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.mobile-nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-nav-close .line {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    display: block;
    transform-origin: center;
    transition: all 0.3s ease;
}

.mobile-nav-close .line1 {
    transform: translateY(1.5px) rotate(45deg);
}
.mobile-nav-close .line2 {
    transform: translateY(-1.5px) rotate(-45deg);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-list li {
    margin: 2rem 0;
}

.mobile-nav-list a {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }
}

/* Legal Text Formatting */
.legal-content {
    background-color: var(--white);
    padding: 3rem 0;
}
.legal-text {
    max-width: 800px;
    margin: 0 auto;
}
.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}
.legal-text h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.legal-text ul {
    list-style-position: inside;
    padding-left: 0;
}
.legal-text li {
    margin-bottom: 0.5rem;
}

.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
}
.faq-header {
    margin-bottom: 1.5rem;
}
.faq-item {
    margin-bottom: 1.5rem;
}
.faq-item h4 {
    margin-bottom: 0.25rem;
}
.faq-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}
