/* --- Global Reset & Variables --- */
:root {
    --primary-blue: #337ab7; /* TechService Brand Color */
    --secondary-blue: #e8f4fd; /* Light Blue Background */
    --dark-text: #212529; /* Black/Dark Gray */
    --light-text: #6c757d; /* Medium Gray */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --accent-green: #28a745; /* Success/Action Color */
    /* Using generic fallbacks since custom fonts aren't linked */
    --font-heading: 'Roboto', sans-serif; 
    --font-body: 'Open Sans', sans-serif;
}


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

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
}

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

a:hover {
    color: #2a6496;
}

/* --- Utility Classes --- */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid transparent;
}

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

.primary-btn:hover {
    background-color: #2a6496;
    border-color: #2a6496;
}

.primary-outline-btn {
    background-color: transparent;
    color: var(--white); /* White in mobile menu context */
    border-color: var(--white); 
}
/* Revert outline button hover only for mobile menu context */
.mobile-nav-menu .primary-outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}


.large-btn {
    padding: 15px 30px;
    font-size: 1.1em;
}

.huge-btn {
    padding: 20px 40px;
    font-size: 1.4em;
}

.section-heading {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    font-family: var(--font-heading);
    color: var(--primary-blue);
}

/* --- 1. Navigation Header --- */
.main-nav-bar {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--dark-text);
}

.nav-links a,.nav-links select {
    margin: 0 15px;
    color: var(--dark-text);
    font-weight: 500;
}
.nav-links a:hover,.nav-links select:hover {
    color: var(--primary-blue);
}

/* Hamburger Icon (Hidden on Desktop) */
.menu-icon {
    display: none; 
    font-size: 1.8em;
    cursor: pointer;
    padding: 5px;
    color: var(--dark-text);
}

/* --- Mobile Menu Overlay --- */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    z-index: 1500;
    display: none; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    overflow-y: auto; /* Allow scrolling if menu is tall */
}

.mobile-nav-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-menu .close-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5em;
    cursor: pointer;
    color: var(--white);
}

.mobile-nav-menu a {
    color: var(--white);
    font-size: 1.6em;
    padding: 15px 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s;
}

.mobile-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- 2. Hero Section --- */
.hero-section {
    padding: 80px 0;
    background-color: var(--secondary-blue);
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

h1 {
    font-size: 3.2em;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--dark-text);
}

.tagline {
    font-size: 1.3em;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trial-note {
    font-size: 0.9em;
    color: var(--light-text);
    margin-top: 10px;
}

/* Image Placeholder Styling */
.hero-image  {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    color: var(--light-text);
    font-style: italic;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* --- 3. Core Value Section --- */
.core-value-section {
    padding: 80px 0;
    text-align: center;
}

.core-value-section h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    color: var(--light-text);
}

.value-propositions {
    display: flex;
    gap: 30px;
    text-align: left;
}

.value-prop-card {
    flex: 1;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--primary-blue);
}

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

.value-prop-card i.icon {
    font-size: 2em;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
}

.value-prop-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* --- 4. Feature Deep Dive Section --- */
.features-section {
    padding: 80px 0;
    background-color: var(--secondary-blue);
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    padding: 40px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-text {
    flex: 1;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-block h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-family: var(--font-heading);
}

.feature-block p {
    margin-bottom: 20px;
}

.feature-block ul {
    list-style: none;
    padding: 0;
}

.feature-block ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 500;
}

.feature-block ul li i.icon {
    color: var(--accent-green);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Reverse order for visual variation */
.feature-block.reverse {
    flex-direction: row-reverse;
}

/* Image Placeholder Styling 
.feature-image ,
.feature-image, 
  Using known chart image mapping */
.feature-image ,
.feature-image  {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    min-height: 200px;
    color: var(--light-text);
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* --- 5. Testimonials Section --- */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-green);
}

.testimonial-card .quote {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.testimonial-card .source {
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.95em;
}

/* --- 6. Final CTA Section --- */
.final-cta-section {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.final-cta-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.final-cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.final-cta-section .huge-btn {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--white);
}

.final-cta-section .huge-btn:hover {
    background-color: #1e7e34;
    border-color: #1e7e34;
}

/* --- 7. Footer --- */
.footer {
    padding: 30px 0;
    background-color: var(--dark-text);
    color: var(--light-gray);
    font-size: 0.9em;
}

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

.footer-links a {
    color: var(--light-gray);
    margin-right: 20px;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* --- Responsive Design (Critical for Mobile Nav) --- */
@media (max-width: 992px) {
    
    /* Global Adjustments */
    .hero-section, .core-value-section, .features-section, .testimonials-section, .final-cta-section {
        padding: 60px 0;
    }

    /* Navigation */
    .main-nav-bar .container {
        justify-content: space-between; 
    }
    
    /* Standard Navigation Links: Hidden */
    .nav-links {
        display: none;
    }
    
    /* Hamburger Menu: Shown */
    .menu-icon {
        display: block; 
        margin-left: 15px;
    }

    /* Primary CTA Button on Mobile Header */
    .cta-nav-btn {
        margin-left: auto; 
        margin-right: 0;
        padding: 8px 15px; 
        font-size: 0.9em;
    }
    
    /* Hero Section */
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    h1 {
        font-size: 2.5em;
    }
    .hero-cta-group {
        align-items: center;
    }

    /* Core Value */
    .value-propositions {
        flex-direction: column;
    }

    /* Features */
    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        padding: 30px;
    }
    .feature-text,
    .feature-image {
        width: 100%;
    }
    .feature-block h3 {
        text-align: center;
    }
    
    /* Testimonials */
    .testimonial-grid {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
     .page-title{
        display: none;
    }
    /* General Font Size */
    h1 {
        font-size: 2em;
    }
    .section-heading {
        font-size: 1.8em;
    }
    
    /* Padding */
    .hero-section, .core-value-section, .features-section, .testimonials-section, .final-cta-section {
        padding: 30px 0;
    }
    
    /* Footer */
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        margin-bottom: 10px;
    }
    .footer-links a {
        margin: 0 10px;
        display: inline-block;
    }
}

/* --- 5.5. Blog Section Styles --- */

.blog-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.blog-section .section-description {
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.post-image-placeholder {
    height: 180px;
    background-color: #e2eaf4; /* Light blue visual background */
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: var(--light-text);
    padding: 20px;
}

.post-content {
    padding: 20px;
}

.post-category {
    display: inline-block;
    background-color: var(--secondary-blue);
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.3em;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 0.9em;
    color: var(--light-text);
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-block;
}

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

.blog-cta .primary-outline-btn {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: var(--white);
}

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

/* Media Query Adjustment for smaller screens */
@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .page-title{
        display: none;
    }
}





.customer-page { background: #f8fafc; padding: 40px; }

.customer-container {
    max-width: 900px;
    margin: 0 auto;
}

.customer-form {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    background: var(--primary-blue);
    color: white;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group.full-width { grid-column: span 2; }

.input-group label { font-size: 0.85rem; font-weight: 600; color: #64748b; }

.input-group input, 
.input-group select, 
.input-group textarea {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.input-group input:focus { border-color: var(--primary-blue); outline: none; }

.form-actions {
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}



.search-page { background: #f1f5f9; padding: 30px; }

.search-box-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #94a3b8;
}

#customer-search-input {
    width: 100%;
    padding: 18px 18px 18px 55px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

#customer-search-input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.filter-chips { display: flex; gap: 10px; margin-bottom: 25px; }

.chip {
    padding: 8px 16px;
    border-radius: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.85rem;
    color: #64748b;
}

.chip.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.results-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.results-table { width: 100%; border-collapse: collapse; }
.results-table th { background: #f8fafc; padding: 15px; text-align: left; font-size: 0.8rem; color: #64748b; text-transform: uppercase; }
.results-table td { padding: 15px; border-bottom: 1px solid #f1f5f9; font-size: 0.95rem; }

.empty-state { text-align: center; padding: 50px !important; color: #94a3b8; }


.service-page { background: #f1f5f9; padding: 30px; }

.status-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 5px solid #cbd5e1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.stat-card.pending { border-left-color: #f59e0b; } /* Orange */
.stat-card.confirmed { border-left-color: #3b82f6; } /* Blue */
.stat-card.in-progress { border-left-color: #10b981; } /* Green */

.booking-table td { padding: 18px 15px; }

/* Booking Status Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge.pending { background: #fef3c7; color: #92400e; }
.badge.confirmed { background: #dbeafe; color: #1e40af; }
.badge.active { background: #dcfce7; color: #065f46; animation: blink 2s infinite; }

@keyframes blink { 50% { opacity: 0.6; } }

/* Flow Buttons */
.action-group-btns { display: flex; justify-content: flex-end; gap: 8px; }
.flow-btn {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: white;
}
.flow-btn.start:hover { background: #10b981; color: white; }
.flow-btn.complete:hover { background: #3b82f6; color: white; }


.profile-layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; padding: 20px; }

/* Sidebar */
.client-sidebar { background: white; border-radius: 16px; padding: 30px; height: fit-content; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.avatar-large { width: 80px; height: 80px; background: var(--primary-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; margin: 0 auto 15px; }
.client-card-header { text-align: center; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 20px; }

/* Timeline UI */
.timeline-thread { position: relative; padding-left: 30px; margin-top: 20px; }
.timeline-thread::before { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: #e2e8f0; }

.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-marker { position: absolute; left: -36px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: white; border: 3px solid var(--primary-blue); }

.timeline-content { background: white; padding: 20px; border-radius: 12px; border: 1px solid #f1f5f9; transition: transform 0.2s; }
.timeline-content:hover { transform: translateX(5px); border-color: var(--primary-blue); }

.item-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.service-tag { font-size: 0.75rem; background: #eff6ff; color: #1e40af; padding: 4px 8px; border-radius: 4px; font-weight: bold; }


    .video-section {
        max-width: 1200px;
        margin: 40px auto;
        padding: 20px;
        font-family: sans-serif;
    }
    
    .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .video-card {
        background: #f9f9f9;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    /* Aspect Ratio Box (16:9) */
    .video-container {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        height: 0;
        overflow: hidden;
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .video-info {
        padding: 15px;
    }

    .video-info h3 {
        margin: 0 0 10px 0;
        font-size: 1.1rem;
        color: #333;
    }
