/* --- 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 {
    margin: 0 15px;
    color: var(--dark-text);
    font-weight: 500;
}
.nav-links a: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 

[Image of Line/Bar Chart showing sales over time]
, /* 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) {
    
    /* 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;
    }
}