/* ============================================
   Digital Vitals - Rebuilt Website Styles
   ============================================ */

:root {
    --burgundy: #722F37;
    --dark-burgundy: #5C1A1B;
    --accent-red: #8B3A3F;
    --light-gray: #F8F9FA;
    --text-dark: #1a1a2e;
    --text-light: #3D3D3D;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-dark);
    text-decoration: none;
}

.logo span {
    color: var(--burgundy);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #722F37;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-dark);
    padding: 1rem 0 2rem;
    text-align: center;
    background: var(--light-gray);
}

.hero-bg {
    display: none;
}

.hero-content h1,
.hero-content p {
    color: var(--text-dark);
}

.tagline {
    font-size: 1.4rem;
    color: #722F37;
    font-weight: bold;
    font-style: italic;
}
.hero-content h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-height: 70px;
    width: auto;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

/* Services Photo Cards */
.services-photo {
    padding: 4rem 0;
    background: var(--light-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 0.75rem 1.25rem 0.25rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.service-card p {
    padding: 0.25rem 1.25rem 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Industries */
.industries {
    padding: 4rem 0;
    background: var(--white);
}

.industry-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.industry-icon {
    height: 70px;
    width: auto;
    opacity: 0.6;
    transition: var(--transition);
}

.industry-icon:hover {
    opacity: 1;
}

/* Benefits */
.benefits {
    padding: 4rem 0;
    background: var(--white);
}

.benefits-list {
    margin-top: 1.5rem;
    list-style: none;
}

.benefits-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

/* Feature Icons */
.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    display: block;
}

.hero-logo {
    max-height: 70px;
    width: auto;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.4rem;
    color: #722F37;
    font-weight: bold;
    font-style: italic;
}

.hero-content p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.btn-primary {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #5C1A1B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.icon-circle.blue {
    background: rgba(114, 47, 55, 0.08);
}

.icon-circle.green {
    background: rgba(114, 47, 55, 0.08);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

/* Partners Section */
.partners {
    padding: 3rem 0;
    background: var(--white);
    text-align: center;
    border-bottom: 1px solid #eee;
}

.partners-label {
    font-size: 0.95rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 60px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

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

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: #3D3D3D;
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--burgundy);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

/* Download CTA Section */
.download-cta {
    padding: 4rem 0;
    background: var(--light-gray);
    text-align: center;
}

.download-grid h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.download-grid > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.download-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.download-link {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 2rem;
    background: var(--white);
    border: 2px solid #e0d8da;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.download-link:hover {
    border-color: var(--burgundy);
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.15);
    transform: translateY(-3px);
}

.dl-logo {
    max-height: 48px;
    width: auto;
    filter: grayscale(0.3);
    transition: var(--transition);
}

.download-link:hover .dl-logo {
    filter: grayscale(0) brightness(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   Sub-page Styles (Consolidated)
   Microsoft 365 Page
   ============================================ */
.m365-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #722F37 0%, #4A1C24 100%);
    color: white;
    text-align: center;
}

.m365-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.m365-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.m365-section {
    padding: 4rem 0;
}

.m365-section:nth-child(even) {
    background-color: #f8f9fa;
}

.m365-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.m365-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(114, 47, 55, 0.08);
    border-left: 4px solid #722F37;
}

.m365-card h3 {
    color: #722F37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.m365-card p {
    color: #666;
    line-height: 1.7;
}

.m365-card ul {
    margin-top: 1rem;
    list-style: none;
}

.m365-card li {
    padding: 0.4rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.m365-card li::before {
    content: "✓";
    color: #722F37;
    font-weight: bold;
    margin-right: 0.5rem;
}

.m365-cta {
    background: linear-gradient(135deg, #722F37 0%, #4A1C24 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.m365-cta h2 {
    margin-bottom: 1.5rem;
}

/* Cybersecurity Page */
.cyber-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #722F37 0%, #4A1C24 100%);
    color: white;
    text-align: center;
}

.cyber-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cyber-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.cyber-section {
    padding: 4rem 0;
}

.cyber-section:nth-child(even) {
    background-color: #f8f9fa;
}

.cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cyber-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(114, 47, 55, 0.08);
    border-left: 4px solid #722F37;
}

.cyber-card h3 {
    color: #722F37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cyber-card p {
    color: #666;
    line-height: 1.7;
}

.cyber-card ul {
    margin-top: 1rem;
    list-style: none;
}

.cyber-card li {
    padding: 0.4rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.cyber-card li::before {
    content: "✓";
    color: #722F37;
    font-weight: bold;
    margin-right: 0.5rem;
}

.cyber-stat {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.cyber-cta {
    background: linear-gradient(135deg, #722F37 0%, #4A1C24 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cyber-cta h2 {
    margin-bottom: 1.5rem;
}

/* Network Support Page */
.network-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #722F37 0%, #4A1C24 100%);
    color: white;
    text-align: center;
}

.network-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.network-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.network-section {
    padding: 4rem 0;
}

.network-section:nth-child(even) {
    background-color: #f8f9fa;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.network-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(114, 47, 55, 0.08);
    border-left: 4px solid #722F37;
}

.network-card h3 {
    color: #722F37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.network-card p {
    color: #666;
    line-height: 1.7;
}

.network-card ul {
    margin-top: 1rem;
    list-style: none;
}

.network-card li {
    padding: 0.4rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.network-card li::before {
    content: "✓";
    color: #722F37;
    font-weight: bold;
    margin-right: 0.5rem;
}

.network-stat {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.network-cta {
    background: linear-gradient(135deg, #722F37 0%, #4A1C24 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.network-cta h2 {
    margin-bottom: 1.5rem;
}

/* Common (used by all sub-pages) */
.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #722F37;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.brand-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding: 2rem 0;
}

.brand-logo {
    height: 60px;
    width: auto;
}

.stat-item h4 {
    font-size: 3rem;
    color: #722F37;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .m365-grid,
    .cyber-grid,
    .network-grid {
        grid-template-columns: 1fr;
    }

    .m365-stat,
    .cyber-stat,
    .network-stat {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ============================================
   Mobile Responsive Navigation Fixes
   ============================================ */

@media (max-width: 768px) {
    .header nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 10px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.4rem 0.6rem;
    }
    
    .logo-img {
        max-height: 35px;
    }
}

@media (max-width: 480px) {
    .header nav {
        padding: 1rem 8px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .logo-img {
        max-height: 28px;
    }
}

@media (max-width: 360px) {
    .nav-links a {
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 10px;
    }
}
