/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', 'Indie Flower', cursive, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* Hand-drawn style utilities */
.hand-drawn {
    filter: url(#roughPaper);
}

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

/* Typography with hand-drawn feel */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Kalam', 'Indie Flower', cursive, sans-serif;
    margin-bottom: 1rem;
    transform: rotate(-0.5deg);
}

h1 {
    font-size: 2.8rem;
    color: #2c5aa0;
    text-shadow: 2px 2px 0px rgba(255, 107, 107, 0.3);
}

h2 {
    font-size: 2.2rem;
    color: #2c5aa0;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b 0%, transparent 100%);
    border-radius: 2px;
    transform: skew(-12deg);
}

h3 {
    font-size: 1.6rem;
    color: #333;
}

/* Navigation */
.header {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ff6b6b;
    transform: rotate(0.1deg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    text-decoration: none;
}

.logo-svg {
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05) rotate(-1deg);
}

.logo-text {
    font-family: 'Kalam', cursive;
    font-size: 24px;
    font-weight: bold;
    fill: #2c5aa0;
}

.logo-underline {
    animation: drawUnderline 2s ease-in-out infinite alternate;
}

@keyframes drawUnderline {
    0% { stroke-dasharray: 0 200; }
    100% { stroke-dasharray: 200 0; }
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transform: rotate(-0.5deg);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    background: #ff6b6b;
    transform: rotate(0.5deg) scale(1.05);
    box-shadow: 3px 3px 0px rgba(44, 90, 160, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
    transform: rotate(-1deg);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b6b' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    transform: rotate(5deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    transform: rotate(-0.3deg);
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
    transform: rotate(0.2deg);
}

.hero-illustration {
    transform: rotate(1deg);
}

.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.1));
}

.plumber-character {
    animation: bobbing 3s ease-in-out infinite;
}

@keyframes bobbing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Buttons */
.btn-cta, .btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transform: rotate(-0.5deg);
    position: relative;
}

.btn-cta {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
    box-shadow: 4px 4px 0px #2c5aa0;
}

.btn-primary {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
    box-shadow: 4px 4px 0px #ff6b6b;
}

.btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border-color: #2c5aa0;
    box-shadow: 4px 4px 0px rgba(255, 107, 107, 0.3);
}

.btn-cta:hover, .btn-primary:hover, .btn-secondary:hover {
    transform: rotate(0.5deg) translateY(-2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234a90e2' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10-10-4.5-10-10z'/%3E%3C/g%3E%3C/svg%3E");
    transform: rotate(-2deg);
}

.services .container {
    position: relative;
    z-index: 2;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #f8f9fa;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
    position: relative;
}

.service-card:nth-child(even) {
    transform: rotate(0.5deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    transform: rotate(-0.3deg);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.7;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    transform: rotate(0.2deg);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: #ff6b6b;
}

.about-illustration {
    transform: rotate(0.8deg);
}

.about-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(3px 3px 8px rgba(0,0,0,0.1));
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #2c5aa0;
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.05'%3E%3Cpath d='M15 15c0-4 3-7 7-7s7 3 7 7-3 7-7 7-7-3-7-7z'/%3E%3C/g%3E%3C/svg%3E");
    transform: rotate(10deg);
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.testimonials h2::after {
    background: linear-gradient(90deg, #ff6b6b 0%, transparent 100%);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    transform: rotate(-0.5deg);
    backdrop-filter: blur(5px);
}

.testimonial-card:nth-child(even) {
    transform: rotate(0.5deg);
}

.quote-icon {
    width: 30px;
    height: 30px;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: #ff6b6b;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #fff;
    transition: all 0.3s ease;
    transform: rotate(-0.3deg);
}

.blog-card:nth-child(even) {
    transform: rotate(0.3deg);
}

.blog-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.2);
    border-color: #2c5aa0;
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-svg {
    width: 100%;
    height: 100%;
}

.blog-title-text {
    font-family: 'Kalam', cursive;
    font-size: 16px;
    font-weight: bold;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.blog-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #2c5aa0;
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

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

.contact-info {
    transform: rotate(-0.3deg);
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(44, 90, 160, 0.05);
    border-radius: 15px;
    border-left: 4px solid #ff6b6b;
    transform: rotate(0.2deg);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #2c5aa0;
    margin-top: 0.25rem;
}

.contact-item div strong {
    display: block;
    color: #2c5aa0;
    margin-bottom: 0.25rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    margin-bottom: 1rem;
    color: #2c5aa0;
}

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

.social-icons a {
    width: 50px;
    height: 50px;
    background: #2c5aa0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: rotate(-3deg);
}

.social-icons a:hover {
    background: #ff6b6b;
    transform: rotate(3deg) scale(1.1);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

/* Newsletter Form */
.newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #f8f9fa;
    transform: rotate(0.5deg);
}

.newsletter-form h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.newsletter-form p {
    color: #666;
    margin-bottom: 2rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: rotate(-0.2deg);
}

.form-group input:focus {
    outline: none;
    border-color: #2c5aa0;
    transform: rotate(0deg);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b 0%, #2c5aa0 50%, #4a90e2 100%);
}

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

.footer-section h4 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    transform: rotate(-0.3deg);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    transform: rotate(0.1deg);
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b6b;
}

.footer-logo-text {
    font-family: 'Kalam', cursive;
    font-size: 18px;
    font-weight: bold;
    fill: white;
}

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

/* Page Hero (for about page) */
.page-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10-10-4.5-10-10z'/%3E%3C/g%3E%3C/svg%3E");
    transform: rotate(-5deg);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(255, 107, 107, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Specific Styles */
.about-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-text h2 {
    margin-bottom: 2rem;
}

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

.content-text h3 {
    margin: 2rem 0 1.5rem;
    color: #2c5aa0;
}

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

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #ff6b6b;
    transform: rotate(-0.2deg);
}

.value-item:nth-child(even) {
    transform: rotate(0.2deg);
}

.value-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.value-item h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.content-image {
    transform: rotate(0.5deg);
}

.about-detail-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.1));
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.team-member-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #fff;
    transition: all 0.3s ease;
    transform: rotate(-0.3deg);
}

.team-member-card:nth-child(even) {
    transform: rotate(0.3deg);
}

.team-member-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.2);
    border-color: #2c5aa0;
}

.member-avatar {
    margin-bottom: 1.5rem;
}

.avatar-svg {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.team-member-card h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 1rem;
}

.team-member-card p {
    color: #666;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    padding: 80px 0;
    background: white;
}

.certifications h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.cert-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    border: 3px solid #fff;
    transition: all 0.3s ease;
    transform: rotate(-0.3deg);
}

.cert-item:nth-child(even) {
    transform: rotate(0.3deg);
}

.cert-item:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.cert-label {
    font-family: 'Kalam', cursive;
    font-weight: bold;
}

.cert-item h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.cert-item p {
    color: #666;
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    border-top: 3px solid #ff6b6b;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner:not(.hidden) {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: 2px solid;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.cookie-buttons button:hover {
    transform: rotate(0.5deg) translateY(-2px);
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .team-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 1rem 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card,
    .team-member-card {
        margin: 0 10px;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .btn-cta, .btn-primary, .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner {
        display: none;
    }
    
    .hero {
        padding-top: 2rem;
    }
    
    * {
        transform: none !important;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        break-inside: avoid;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .blog-card {
        border-width: 2px;
        border-color: #000;
    }
    
    .btn-cta, .btn-primary, .btn-secondary {
        border-width: 3px;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 3px solid #ff6b6b;
    outline-offset: 2px;
}

/* SVG animations */
.tools {
    animation: toolFloat 4s ease-in-out infinite alternate;
}

@keyframes toolFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-3px) rotate(1deg); }
}

.pipes {
    animation: pipeShine 3s ease-in-out infinite;
}

@keyframes pipeShine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Text selection */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: #2c5aa0;
}

::-moz-selection {
    background: rgba(255, 107, 107, 0.3);
    color: #2c5aa0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff6b6b, #2c5aa0);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2c5aa0, #ff6b6b);
}