/* Enhanced mobile responsiveness for About page reference photos and general layout */
@media (max-width: 768px) {
    .reference-photos .row {
        flex-direction: column;
    }
    .reference-photos .col-md-6 {
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
    .reference-photos img {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .page-content {
        padding: 2rem 0.5rem;
    }
    .footer {
        font-size: 1rem;
        padding: 1.5rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .company-name, .page-title {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 1.1rem;
    }
    .footer-social-note {
        font-size: 0.95rem;
    }
    .social-link {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
}
/* Services Section */
.services-section {
    background: var(--gray-light);
}

.service-category-card {
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.service-category-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.service-category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
}
.service-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-dark);
}
.service-list li:last-child {
    border-bottom: none;
}
.service-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
}
:root {
    --primary-blue: #1e5ba8;
    --secondary-blue: #4a90e2;
    --primary-orange: #ff6b35;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gray-light: #f8f9fa;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

/* Navigation */
.navbar {
    background: var(--primary-orange);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid var(--primary-orange);
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: rgba(255,255,255,0.9);
}

/* Navbar scrolled state: ensure navbar remains orange and readable after scrolling */
.navbar.scrolled {
    background: linear-gradient(180deg, var(--primary-orange), #e65a2b);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.navbar.scrolled .nav-link {
    color: var(--text-light);
}

/* Make the mobile toggler visible on orange background */
.navbar-toggler {
    border-color: rgba(255,255,255,0.2);
}

.navbar-toggler-icon {
    /* invert the svg icon to white for visibility; works in most browsers */
    filter: invert(1) sepia(1) saturate(0) hue-rotate(190deg) brightness(2);
}

/* Hero Section */
.hero-section {
    /* Changed to primary blue per request */
    background: var(--primary-blue);
    color: white;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
}

.logo-circle-large {
    width: 200px;
    height: 200px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 8px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 10px;
}

.logo-main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.logo-subtext {
    font-size: 1rem;
    letter-spacing: 2px;
}

.company-name {
    font-size: 3rem;
    font-weight: bold;
    margin: 2rem 0 0.5rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.motto {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    font-style: italic;
    color: var(--text-light);
}

.cta-section {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.phone-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
}

.phone-number:hover {
    transform: scale(1.05);
    color: var(--primary-orange);
}

.hero-description h3 {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

/* Services Preview */
.services-preview {
    background: var(--gray-light);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Recent Work Gallery */
.recent-work {
    background: white;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.work-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Page Content */
.page-content {
    padding: 5rem 0;
    min-height: calc(100vh - 76px - 200px);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: bold;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--primary-orange);
    margin: 1rem auto;
}

/* Promotions Page */
.promotion-banner {
    background: var(--primary-blue);
    color: white;
    padding: 2rem;
    border-radius: 10px;
}

.promotion-headline {
    font-size: 2rem;
    font-weight: bold;
}

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

.promotion-card:hover {
    transform: translateY(-5px);
}

.card-header-custom {
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: center;
}

.card-header-custom h3 {
    margin: 0;
    font-size: 1.3rem;
}

.card-body {
    padding: 1.5rem;
}

.product-name {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

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

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.product-image {
    text-align: center;
    margin-top: 1.5rem;
}

/* About Page */
.section-title {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 10px;
    height: 100%;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* Why Filtration Page */
.issues-list {
    list-style: none;
    padding: 0;
}

.issues-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.issues-list li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

.benefit-card {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.solution-section {
    background: var(--gray-light);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
}

/* Make social links larger and more prominent */
.social-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 0.5rem;
}

/* Larger, more visible social icons */
.social-link {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 4rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: 2px solid var(--primary-orange);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border-color: #fff;
}

.footer a {
    color: white;
    text-decoration: none;
}

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

/* Buttons */
.btn-primary {
    background: var(--primary-orange);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }

    .company-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .phone-number {
        font-size: 1.5rem;
    }

    .logo-circle-large {
        width: 150px;
        height: 150px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .promotion-headline {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    .hero-description h3 {
        font-size: 1.2rem;
    }

    .services-preview .col-md-4 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .company-name {
        font-size: 1.8rem;
    }

    .phone-number {
        font-size: 1.3rem;
    }

    .cta-section {
        padding: 1.5rem;
    }

    .promotion-card {
        margin-bottom: 2rem;
    }
}