/* ========================================
   HI-SER Website - Main Stylesheet
   ======================================== */

/* CSS Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --industrial-color: #2B8B8B;
    --industrial-dark: #1E6B6B;
    --industrial-light: #3BABAB;

    --engineering-color: #7B3333;
    --engineering-dark: #5B2323;
    --engineering-light: #9B4343;

    /* Neutral Colors */
    --gray: #7D7D7D;
    --gray-light: #B0B0B0;
    --white: #FFFFFF;
    --dark: #2C2C2C;
    --light-bg: #F5F5F5;

    /* Spacing */
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   LANDING PAGE STYLES
   ======================================== */

.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

.landing-header {
    margin-bottom: 3rem;
}

.main-logo {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3rem;
}

.main-tagline {
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 300;
}

/* Company Cards */
.company-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.company-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 3px solid transparent;
    display: block;
}

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

.industrial-card:hover {
    border-color: var(--industrial-color);
}

.engineering-card:hover {
    border-color: var(--engineering-color);
}

.company-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.company-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.industrial-card h2 {
    color: var(--industrial-color);
}

.engineering-card h2 {
    color: var(--engineering-color);
}

.card-tagline {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.card-services {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.card-services li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--dark);
    border-bottom: 1px solid #eee;
}

.card-services li:last-child {
    border-bottom: none;
}

.industrial-card .card-services li::before {
    content: ">";
    color: var(--industrial-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.engineering-card .card-services li::before {
    content: ">";
    color: var(--engineering-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.card-cta {
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.industrial-card .card-cta {
    color: var(--industrial-color);
    background: rgba(43, 139, 139, 0.1);
}

.industrial-card:hover .card-cta {
    background: var(--industrial-color);
    color: white;
}

.engineering-card .card-cta {
    color: var(--engineering-color);
    background: rgba(123, 51, 51, 0.1);
}

.engineering-card:hover .card-cta {
    background: var(--engineering-color);
    color: white;
}

.card-cta .arrow {
    display: inline-block;
    transition: transform 0.3s;
}

.company-card:hover .card-cta .arrow {
    transform: translateX(4px);
}

.landing-footer {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   SHARED SITE STYLES
   ======================================== */

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.has-dropdown > a::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 200;
    padding: 0.5rem 0;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    /* Override parent flex - make vertical */
    display: block;
    flex-direction: column;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    border-bottom: none;
    border-right: none;
    transform: translateX(-50%) rotate(45deg);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    display: block;
    width: 100%;
    border-bottom: none;
    position: relative;
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown a {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    transition: all 0.2s ease;
    position: relative;
}

.dropdown a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color, var(--industrial-color));
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown a:hover {
    background: linear-gradient(90deg, rgba(43, 139, 139, 0.08) 0%, rgba(43, 139, 139, 0.02) 100%);
    color: var(--primary-color, var(--industrial-color));
    padding-left: 1.5rem;
}

.dropdown a:hover::before {
    transform: scaleY(1);
}

/* Engineering dropdown hover colors */
.engineering-header .dropdown a:hover {
    background: linear-gradient(90deg, rgba(123, 51, 51, 0.08) 0%, rgba(123, 51, 51, 0.02) 100%);
    color: var(--engineering-color);
}

.engineering-header .dropdown a::before {
    background: var(--engineering-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   INDUSTRIAL SOLUTIONS BRANDING
   ======================================== */

.industrial-site {
    --primary-color: var(--industrial-color);
    --primary-dark: var(--industrial-dark);
    --primary-light: var(--industrial-light);
}

.industrial-header {
    border-bottom: 3px solid var(--industrial-color);
}

.industrial-header nav a:hover {
    color: var(--industrial-color);
}

/* Hero Section */
.industrial-hero {
    background: linear-gradient(135deg, var(--industrial-color) 0%, var(--industrial-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 50%;
    padding: 1rem;
}

.industrial-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services Grid */
.services-grid-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.services-grid-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

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

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

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

.feature-box h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.industrial-cta {
    background: var(--industrial-color);
    color: white;
}

.engineering-cta {
    background: var(--engineering-color);
    color: white;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-white:hover {
    background: var(--light-bg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

/* Footer */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    width: 100px;
    margin-bottom: 1rem;
}

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

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-column p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
}

/* ========================================
   ENGINEERING SOLUTIONS BRANDING
   ======================================== */

.engineering-site {
    --primary-color: var(--engineering-color);
    --primary-dark: var(--engineering-dark);
    --primary-light: var(--engineering-light);
}

.engineering-header {
    border-bottom: 3px solid var(--engineering-color);
}

.engineering-header nav a:hover {
    color: var(--engineering-color);
}

.engineering-hero {
    background: linear-gradient(135deg, var(--engineering-color) 0%, var(--engineering-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .company-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-logo {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        display: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: var(--light-bg);
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 100%;
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 0.75rem 1.5rem 0.75rem 2rem;
    }

    .dropdown a:hover {
        padding-left: 2.25rem;
    }

    .has-dropdown > a::after {
        margin-left: auto;
    }

    .main-logo {
        font-size: 2.5rem;
    }

    .main-tagline {
        font-size: 1rem;
    }

    .company-logo {
        width: 140px;
        height: 140px;
    }

    .industrial-hero h1,
    .engineering-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .landing-container {
        padding: 1rem;
    }

    .company-card {
        padding: 1.5rem;
    }

    .company-logo {
        width: 120px;
        height: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Selection Colors */
::selection {
    background: var(--industrial-color);
    color: white;
}

.engineering-site ::selection {
    background: var(--engineering-color);
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--industrial-color);
    outline-offset: 2px;
}

.engineering-site a:focus,
.engineering-site button:focus {
    outline-color: var(--engineering-color);
}

/* ========================================
   PAGE CONTENT STYLES
   ======================================== */

.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-wrapper p {
    margin-bottom: 1rem;
}

.content-wrapper ul, .content-wrapper ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* ========================================
   PROJECTS PAGE STYLES
   ======================================== */

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

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-image {
    height: 200px;
    background: var(--light-bg);
}

.project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e0e0e0 100%);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.project-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   TEAM PAGE STYLES
   ======================================== */

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 0.9rem;
}

.team-member h3 {
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
}

.team-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   TESTIMONIALS PAGE STYLES
   ======================================== */

.testimonials-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
}

.rating {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

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

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--gray);
}

.contact-info-item a {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--primary-color);
    font-weight: 500;
}

.map-section {
    margin-top: 3rem;
}

.map-placeholder {
    background: var(--light-bg);
    height: 300px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

/* ========================================
   RESPONSIVE - ADDITIONAL
   ======================================== */

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        order: -1;
    }
}

/* ========================================
   SERVICE DETAIL PAGE STYLES
   ======================================== */

.service-hero {
    padding-bottom: 2rem;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.8;
}

.service-content {
    padding: 4rem 0;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.service-main h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-main h2:first-child {
    margin-top: 0;
}

.service-main h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-main p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-main ul, .service-main ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-main li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-main strong {
    color: var(--dark);
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sidebar-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.sidebar-card .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.sidebar-phone {
    text-align: center;
    font-size: 0.9rem;
}

.sidebar-phone strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.sidebar-services {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-services li {
    border-bottom: 1px solid #eee;
}

.sidebar-services li:last-child {
    border-bottom: none;
}

.sidebar-services a {
    display: block;
    padding: 0.75rem 0;
    color: var(--dark);
    transition: color 0.3s;
}

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

.sidebar-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.sidebar-card.highlight h3 {
    color: white;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Services List Section */
.services-list-section {
    padding: 4rem 0;
}

/* ========================================
   404 ERROR PAGE STYLES
   ======================================== */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--gray-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.error-message {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-actions {
    margin-bottom: 2rem;
}

.error-links {
    color: var(--gray);
}

.error-links p {
    margin-bottom: 1rem;
}

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

.error-link {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.error-link.industrial {
    background: rgba(43, 139, 139, 0.1);
    color: var(--industrial-color);
}

.error-link.industrial:hover {
    background: var(--industrial-color);
    color: white;
}

.error-link.engineering {
    background: rgba(123, 51, 51, 0.1);
    color: var(--engineering-color);
}

.error-link.engineering:hover {
    background: var(--engineering-color);
    color: white;
}

/* ========================================
   SKIP NAVIGATION (ACCESSIBILITY)
   ======================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   DEFAULT SITE STYLES
   ======================================== */

.default-site .page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-list {
    margin-top: 2rem;
}

.list-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

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

.list-item h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.list-item h2 a {
    color: var(--dark);
    transition: color 0.3s;
}

.list-item h2 a:hover {
    color: var(--industrial-color);
}

.list-item p {
    color: var(--gray);
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    /* Hide non-essential elements */
    .site-header,
    .site-footer,
    .industrial-header,
    .industrial-footer,
    .engineering-header,
    .engineering-footer,
    .cta-section,
    .mobile-menu-toggle,
    .service-sidebar,
    .project-filters,
    .btn,
    .skip-link {
        display: none !important;
    }

    /* Reset backgrounds and colors */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    .page-hero,
    .industrial-hero,
    .engineering-hero,
    .service-hero {
        background: none !important;
        color: black !important;
        padding: 1rem 0 !important;
        border-bottom: 2px solid black;
    }

    /* Ensure content is full width */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .service-layout {
        grid-template-columns: 1fr !important;
    }

    .content-wrapper,
    .service-main {
        max-width: 100% !important;
    }

    /* Show URLs for links */
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }

    .team-member,
    .testimonial-card,
    .project-card {
        page-break-inside: avoid;
    }

    /* Grids become single column */
    .team-grid,
    .testimonials-grid,
    .projects-grid,
    .services-grid,
    .features-grid,
    .contact-grid {
        display: block !important;
    }

    .team-member,
    .testimonial-card,
    .project-card,
    .service-card {
        margin-bottom: 1rem;
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
}

/* ========================================
   ANIMATION & TRANSITIONS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
