.dropdown-section .row1 {
    max-height: 600px;
    overflow-y: auto;
}
/* Services Page Specific Styles */
.services-grid-section {
    padding: 4rem 0;
}

.services-grid-section h2 {
    text-align: center;
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

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

.service-icon i {
    font-size: 2.5rem;
    color: #2c5aa0;
}

.service-content h3 {
    color: #1e3d6f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.service-content li {
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-content .btn {
    display: inline-block;
    margin-top: 1rem;
}

/* Emergency Services Section */
.emergency-section {
    background: linear-gradient(135deg, #ff4444, #cc3333);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0;
    text-align: center;
}

.emergency-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.emergency-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.emergency-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffdddd;
}

.emergency-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.emergency-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

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

.emergency-cta p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.emergency-cta .btn-primary {
    background-color: white;
    color: #ff4444;
    font-weight: bold;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.emergency-cta .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Service Areas Section */
.service-areas-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin: 4rem 0;
    text-align: center;
}

.service-areas-section h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-areas-section > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
}

.area-column {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.area-column h4 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.area-column ul {
    list-style: none;
    padding: 0;
}

.area-column li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

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

.service-areas-section > p:last-of-type {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #444;
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .emergency-content h2 {
        font-size: 2rem;
    }
    
    .service-areas-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 100%;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .emergency-item i {
        font-size: 2.5rem;
    }
    
    .emergency-cta {
        padding: 1.5rem;
    }
    
    .area-column {
        padding: 1.5rem;
    }
    
    .services-grid-section h2 {
        font-size: 2rem;
    }
}/* K L Contractor Plumbing Inc - Styles.css */

/* Reset and 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: #333;
    background-color: #fff;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background-color: #2c5aa0;
    color: white;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.navigation {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5aa0;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #2c5aa0;
    padding-left: 20px;
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c5aa0;
    font-weight: 600;
}

.phone i {
    color: #2c5aa0;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 90, 160, 0.8), rgba(30, 61, 111, 0.8));
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-section h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-section h3 {
    color: #1e3d6f;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    border-left: 4px solid #2c5aa0;
    padding-left: 1rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.content-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 1rem;
    color: #444;
}

.content-section a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Gallery Section */
.gallery-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin: 4rem 0;
}

.gallery-section h2 {
    text-align: center;
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Iframe Section */
.iframe-section {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

/* Additional Resources */
.additional-resources {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin: 4rem 0 0 0;
}

.additional-resources h2 {
    text-align: center;
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.resource-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.dropdown-section {
    width: 100%;
}

.dropdown-btn {
    width: 100%;
    background-color: #2c5aa0;
    color: white;
    border: none;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.dropdown-btn:hover {
    background-color: #1e3d6f;
}

.dropdown-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.dropdown-content.active {
    max-height: 500px;
    padding: 2rem;
}

.dropdown-content p {
    margin-bottom: 1rem;
    color: #444;
}

.dropdown-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.dropdown-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

.service-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.area-group h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: #1e3d6f;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.company-info h3 {
    color: white;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-logo {
    height: 60px;
    width: auto;
    background: white;
    padding: 10px;
    border-radius: 5px;
}

.hours,
.services-footer {
    margin-top: 1.5rem;
}

.hours h4,
.services-footer h4 {
    color: #8bb5e8;
    margin-bottom: 0.5rem;
}

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

.services-footer li {
    margin-bottom: 0.3rem;
    color: #ccc;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

.footer-bottom {
    border-top: 1px solid #2c5aa0;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

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

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #f8f9fa;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .contact-info {
        display: none;
    }

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

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

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

    .iframe-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

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

    .content-section h2 {
        font-size: 2rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animation and Smooth Transitions */
.gallery-item,
.resource-item,
.btn {
    transition: all 0.3s ease;
}

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

/* Focus states for accessibility */
.btn:focus,
.dropdown-btn:focus,
button:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* About Us Page Specific Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 3rem;
    color: #2c5aa0;
}

.feature-item h4 {
    color: #1e3d6f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0 0 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-buttons .btn-primary {
    background-color: white;
    color: #2c5aa0;
}

.cta-buttons .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: #2c5aa0;
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        margin: 2rem 0;
    }
    
    .feature-icon i {
        font-size: 2.5rem;
    }
    
    .feature-item h4 {
        font-size: 1.2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero,
    .iframe-section,
    .additional-resources,
    .cta-section {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
}