:root {
    --primary-blue: #007BFF;
    --light-blue: #E3F2FD;
    --white: #FFFFFF;
    --gray: #6C757D;
    --green: #28A745;
    --dark-blue: #0056b3;
    --dark: #2c3e50;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

/* Header Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--primary-blue);
    margin-right: 8px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--green);
    border-color: var(--green);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.trust-badge {
    background-color: var(--green);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.9)), url('https://via.placeholder.com/1920x800/007BFF/FFFFFF?text=Water+Purity') center/cover no-repeat;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Section Styles */
.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-blue) !important;
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Product Cards */
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background-color: var(--white);
    height: 100%;
}

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

.product-img {
    height: 200px;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 25px;
}

.product-price {
    color: var(--green);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 10px 0;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.product-specs li {
    padding: 5px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-blue);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: var(--light-blue);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h6 {
    margin-bottom: 15px;
    color: var(--dark);
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

/* Category Grid */
.category-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.9)), url('https://via.placeholder.com/1920x600/007BFF/FFFFFF?text=About+Us') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.stats-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.team-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 30px;
}

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

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-blue);
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.9)), url('https://via.placeholder.com/1920x600/007BFF/FFFFFF?text=Contact+Us') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.contact-info {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    height: 100%;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--light-blue);
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #d4e6f1;
}

.faq-answer {
    padding: 20px;
    background-color: white;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Forms */
.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.page-link {
    color: var(--primary-blue);
    border: 1px solid #dee2e6;
    padding: 10px 18px;
}

.page-link:hover {
    color: var(--dark-blue);
    background-color: var(--light-blue);
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Sorting */
.sorting-options {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-blue);
    border-radius: 8px;
}