/* ===========================
   TEESSIDE DIGITAL - STYLESHEET (REDESIGNED)
   Security-First Web Modernization
   =========================== */

/* Root Variables */
:root {
    --primary-color: #0a1428;
    --secondary-color: #0f1b35;
    --accent-color: #0055ff;
    --highlight-color: #00d4ff;
    --text-dark: #1a1a2e;
    --text-light: #f4f4f4;
    --text-muted: #555;
    --border-color: #ddd;
    --bg-light: #f9f9f9;
    --success-color: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

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

a:hover {
    color: var(--accent-color);
    opacity: 0.8;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-text h2 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.4rem;
}

.logo-text p {
    color: var(--highlight-color);
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--highlight-color);
}

.nav-links .cta-button {
    background-color: var(--highlight-color);
    color: var(--primary-color) !important;
    padding: 0.6rem 1.3rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-links .cta-button:hover {
    background-color: #00e8ff;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.cta-button:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 85, 255, 0.3);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.cta-button-secondary:hover {
    background-color: var(--accent-color);
    color: white;
}

.cta-button-secondary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 7rem 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(0, 212, 255, 0.15);
    color: var(--highlight-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--highlight-color);
}

.hero-content h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-content p {
    color: #bbb;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-subtext {
    color: #999;
    font-size: 0.95rem;
    margin-top: 1rem !important;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.page-header {
    background-color: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 3px solid var(--highlight-color);
}

.page-header h1 {
    margin-bottom: 0.8rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Trust Section */
.trust-section .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.trust-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
    text-align: center;
}

.trust-card:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
    transform: translateY(-5px);
}

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

.trust-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Problem/Solution */
.problem-solution .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.problem-card, .solution-card {
    padding: 2.5rem;
    border-radius: 10px;
}

.problem-card {
    background-color: #fff3f3;
    border-left: 5px solid #ff6b6b;
}

.solution-card {
    background-color: #f0f9ff;
    border-left: 5px solid var(--highlight-color);
}

.problem-card h3, .solution-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.problem-card ul, .solution-card ul {
    list-style: none;
    padding: 0;
}

.problem-card li, .solution-card li {
    padding: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-muted);
}

.problem-card li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
}

.solution-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    color: white;
    border-radius: 50%;
    line-height: 60px;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* What Included */
.what-included .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background-color: #e6f7ff;
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.service-preview {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--highlight-color);
}

.service-preview h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-preview p {
    color: var(--text-muted);
}

/* Contact Wrapper */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.info-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.info-block:last-child {
    border-bottom: none;
}

.info-block h3 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.info-block p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.info-block .small {
    font-size: 0.9rem;
    color: #999;
}

.info-block.highlight {
    background-color: #fff3f3;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    border-bottom: none;
}

.trust-signals {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.trust-signals h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.trust-signals ul {
    list-style: none;
    padding: 0;
}

.trust-signals li {
    padding: 0.6rem 0;
    color: var(--text-muted);
}

/* Form Styles */
.contact-form {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
}

.contact-form p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.85rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(0, 85, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.form-promise {
    background-color: #f0f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--highlight-color);
}

.form-promise p {
    margin-bottom: 0;
}

/* FAQ */
.faq {
    display: grid;
    gap: 2rem;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--highlight-color);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Journey Section */
.journey-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}

.journey-item:last-child {
    border-bottom: none;
}

.journey-year {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.journey-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.journey-item p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--highlight-color);
}

.skill-category h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.skill-category p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--highlight-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.value-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
}

/* Case Study Cards */
.case-study {
    border-top: 3px solid var(--highlight-color);
    padding: 4rem 0;
}

.case-study-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.case-study-header h2 {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.business-type {
    display: inline-block;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.case-study-content h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--highlight-color);
    padding-bottom: 0.5rem;
}

.case-study-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.case-study-content li {
    padding: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-muted);
}

.case-study-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-weight: bold;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.result-item {
    text-align: center;
}

.result-item h4 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    border-top: 3px solid var(--highlight-color);
    padding-top: 0.5rem;
}

.result-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.testimonial {
    background-color: #f0f9ff;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--highlight-color);
    border-radius: 6px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial p {
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-dark);
}

.case-study-note {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
    border-left: 4px solid var(--accent-color);
}

.case-study-note p {
    margin-bottom: 0;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

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

.timeline-marker {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.timeline-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: var(--text-light);
}

.cta-section p {
    color: #bbb;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-subtext {
    color: #999;
    font-size: 0.95rem;
    margin-top: 1rem !important;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--highlight-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid rgba(244, 244, 244, 0.3);
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--highlight-color);
    padding-bottom: 2rem;
}

.footer-logo-img {
    height: 120px;
    width: auto;
}

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

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
}

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

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 244, 244, 0.2);
    color: #ffffff;
}

.footer-bottom p {
    color: #ffffff;
}

/* About Intro */
.about-intro {
    text-align: center;
    margin: 2rem 0 3rem;
}

/* Differentiator Section */
.differentiator .grid-2 {
    margin-top: 2rem;
}

/* ===========================
   THREE-TIER COLOR SYSTEM
   Dark Navy Text on White Backgrounds
   Cyan Accents & Borders Only
   Cyan Text Only on Dark Backgrounds
   =========================== */

/* Ensure all body text is readable dark navy on white */
body, .section { 
    color: var(--text-dark); 
}

/* Headings always dark on light backgrounds */
h1, h2, h3, h4, h5, h6 { 
    color: var(--text-dark); 
}

/* Cyan reserved for: icons, borders, accents, badges */
.accent-badge,
.accent-border,
.accent-icon {
    color: var(--highlight-color);
}

/* Cyan background + dark text for high-contrast badges */
.cyan-badge {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

/* Dark backgrounds use cyan text */
.dark-section,
.dark-section p,
.dark-section h2 {
    color: var(--highlight-color);
}

.dark-section h3,
.dark-section h4 {
    color: var(--highlight-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-section {
        justify-content: center;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .grid-2,
    .contact-wrapper,
    .problem-solution .grid-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .trust-grid,
    .services-preview,
    .features-grid,
    .skills-grid,
    .values-grid,
    .results-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .timeline,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 50px;
    }

    .logo-text h2 {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section {
        padding: 2rem 0;
    }

    .cta-button.large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}
