:root {
    --primary-color: #0056b3;
    --primary-dark: #003d7a;
    --primary-light: #4d8fda;
    --secondary-color: #ff6b00;
    --secondary-dark: #cc5500;
    --secondary-light: #ff8c3f;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 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: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* WhatsApp Link Styling */
.whatsapp-link {
    color: #25D366; /* WhatsApp green color */
    font-weight: 500;
}

.whatsapp-link:hover {
    color: #128C7E; /* Darker WhatsApp green on hover */
    text-decoration: underline;
}

.fab.fa-whatsapp {
    color: #25D366;
}

/* Contact Info Styles */
.contact-info {
    margin-top: 10px;
    font-size: 0.9rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.contact-info i.fa-phone-alt {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-info i.fa-whatsapp {
    color: #25D366; /* WhatsApp green */
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

/* SEO Page Styles */
.seo-content {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.seo-text {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.seo-text h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.seo-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.seo-list {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.seo-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.seo-list li strong {
    color: var(--primary-color);
}

/* Product Grid for SEO Page */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background-color: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-info {
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.location-info address {
    margin-bottom: 25px;
    line-height: 1.7;
    font-style: normal;
}

.location-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.location-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

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

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header .nav-menu a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

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

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Page Hero Sections */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 61, 122, 0.9) 100%);
    color: var(--white);
    position: relative;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.products-hero {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 61, 122, 0.9) 100%), url('images/Rainpipe.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.services-hero {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 61, 122, 0.9) 100%), url('images/Packing of Rainpipe.jpeg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.main-hero-image {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
}

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

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Products Section */
.products {
    background-color: var(--bg-light);
}

.product-nav {
    margin-bottom: 40px;
}

.product-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.product-nav a {
    display: block;
    padding: 10px 20px;
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-nav a:hover,
.product-nav a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.product-item {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.product-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    flex: 1;
    padding: 30px;
}

.product-details h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-description {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.product-features,
.product-applications {
    margin-bottom: 25px;
}

.product-features h4,
.product-applications h4,
.product-variants h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-features ul,
.product-applications ul {
    padding-left: 20px;
}

.product-features li,
.product-applications li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.product-features li::before,
.product-applications li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.variant-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.variant {
    text-align: center;
    max-width: 150px;
}

.variant-img-container {
    width: 100%;
    height: 150px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
}

.variant-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.variant p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-buttons {
    justify-content: center;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.info-item {
    flex: 1 0 calc(50% - 15px);
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo,
.footer-links,
.footer-products,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-products h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-products h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-links ul,
.footer-products ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-products a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

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

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

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

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
}

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

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-features {
    margin-top: 15px;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.service-features li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--success-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.why-choose-us {
    background-color: var(--bg-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .product-item {
        flex-direction: column;
    }
    
    .product-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .product-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .product-nav a {
        width: 100%;
        text-align: center;
    }
    
    .info-item {
        flex: 1 0 100%;
    }
}