/* Base Styles */
:root {
    --primary: #1a77b9;         /* Water blue, replacing green */
    --primary-dark: #0e5283;    /* Darker blue for hover states */
    --secondary: #90c7e6;       /* Light blue accent */
    --dark: #0d3854;            /* Very dark blue for header/footer */
    --light: #f5f9fc;           /* Very light blue-tinted gray */
    --accent: #e1eef7;          /* Light blue-gray for backgrounds */
    --text: #333;
    --text-light: #ccc;
    --text-lighter: #999;
    --white: #fff;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 4px 15px rgba(0, 0, 0, 0.1);
    --container-width: 90%;
    --container-max: 1200px;
    --radius: 8px;
    --transition: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    text-rendering: optimizeSpeed;
}

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

a:hover,
a:focus {
    color: var(--primary-dark);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

img.loaded {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.img-loading {
    background: linear-gradient(90deg, var(--accent) 25%, var(--light) 50%, var(--accent) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 100px;
    min-width: 100px;
}


/* Layout */
.container {
    width: var(--container-width);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* Components */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    border: none;
}

.btn:hover,
.btn:focus {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    outline: none;
}

.btn:active {
    transform: translateY(0);
}

/* Header */
header {
    background-color: var(--dark);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: headerShine 4s infinite;
    z-index: 0;
}

@keyframes headerShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Removed - replaced by new header layout styles */

.site-logo {
    height: 60px;
    width: auto;
    margin-right: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    animation: logoFloat 6s ease-in-out infinite;
}

.site-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(144, 199, 230, 0.4)) brightness(1.1);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(-1deg); }
}

header h1 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, var(--white), var(--secondary), var(--white));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGradient 3s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

header h1 .water-drop {
    -webkit-text-fill-color: var(--primary);
    color: var(--primary);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

header h1:hover {
    transform: scale(1.05);
    animation-play-state: paused;
    background-position: 100% 50%;
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* New header layout with navigation on the right */
.header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    flex-shrink: 0;
}

/* Merged with earlier header h1 styles */

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-logo {
        margin-bottom: 10px;
    }
}

nav ul {
    display: flex;
    flex-wrap: wrap;
}

nav li {
    margin-right: 20px;
    margin-bottom: 10px;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

nav li:hover {
    transform: translateY(-5px) scale(1.05);
}

nav li::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent, rgba(144, 199, 230, 0.1), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav li:hover::before {
    opacity: 1;
}

nav a {
    color: var(--white);
    font-weight: bold;
    padding: 8px 12px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: block;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--white), var(--secondary));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    box-shadow: 0 2px 8px rgba(144, 199, 230, 0.6);
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(144, 199, 230, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav a:hover::before {
    opacity: 1;
}

nav a:hover::after, 
nav a.active::after,
nav a:focus::after {
    width: 80%;
    left: 10%;
}

nav a:hover, 
nav a.active,
nav a:focus {
    color: var(--white);
    outline: none;
    text-shadow: 0 0 12px rgba(144, 199, 230, 0.8);
    transform: translateZ(10px);
}

/* Hero Section */
.hero {
    position: relative;
    background-color: #000;
    color: var(--white);
    padding: clamp(60px, 10vw, 100px) 0;
    text-align: center;
    overflow: hidden;
}

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

.slideshow-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 1.5s ease-in-out;
    z-index: 0;
}

.slideshow-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    transition: background 0.8s ease;
}

.slideshow-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slideshow-item.fade-out {
    opacity: 0;
    z-index: 0;
    transform: scale(1.1);
}

.slideshow-item:nth-child(1) {
    background-image: url('images/slideshow/background-image.jpg');
}

.slideshow-item:nth-child(2) {
    background-image: url('images/slideshow/water-pipes1.jpg');
}

.slideshow-item:nth-child(3) {
    background-image: url('images/slideshow/water-test.jpg');
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Sections */
.services,
.benefits {
    padding: 60px 0;
}

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

.benefits {
    background-color: var(--accent);
}

.services h2,
.benefits h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
    font-size: clamp(1.5rem, 4vw, 2rem);
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), 
                background-color var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary);
    opacity: 0;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.service-item:hover::before,
.service-item:focus-within::before {
    transform: scaleY(1);
    opacity: 0.05;
}

.service-item:hover,
.service-item:focus-within {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-large);
}

.service-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.service-item:hover h3::after {
    width: 100%;
}

/* Benefits List */
.benefits-list {
    max-width: 800px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 20px;
}

.benefits-list li {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    padding-left: 30px;
    transition: transform var(--transition), box-shadow var(--transition), 
                background-color 0.3s ease, color 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.benefits-list li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease;
    z-index: -1;
    opacity: 0.2;
}

.benefits-list li:hover {
    transform: translateY(-2px) translateX(3px);
    box-shadow: var(--shadow-large);
}

.benefits-list li:hover::after {
    width: 100%;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 10px;
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
}

.benefits-list li:hover::before {
    transform: scale(1.2);
    color: var(--primary-dark);
}

.benefits .btn {
    display: block;
    max-width: 200px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info {
    padding: 60px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.contact-info p {
    margin-bottom: 10px;
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.contact-info .phone {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    margin: 20px 0;
}

.contact-info .phone a {
    color: var(--white);
}

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

.contact-info .btn:hover,
.contact-info .btn:focus {
    background-color: var(--accent);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark), rgba(13, 56, 84, 0.95));
    color: var(--white);
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(144, 199, 230, 0.1), transparent),
                radial-gradient(circle at 80% 20%, rgba(26, 119, 185, 0.1), transparent);
    animation: footerGlow 6s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes footerGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-logo-container:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    background-color: white;
    border-radius: 50%;
    padding: 3px;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    animation: footerLogoFloat 4s ease-in-out infinite;
}

@keyframes footerLogoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(2deg); }
}

.footer-logo:hover {
    transform: scale(1.1) rotate(10deg);
    filter: drop-shadow(0 4px 16px rgba(144, 199, 230, 0.6));
}

.footer-info h3, 
.footer-areas h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
    animation: footerTitleGlow 3s ease-in-out infinite;
}

@keyframes footerTitleGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(144, 199, 230, 0.3); }
    50% { text-shadow: 0 0 15px rgba(144, 199, 230, 0.6); }
}

.footer-info h3:hover,
.footer-areas h3:hover {
    transform: translateX(5px);
    color: var(--white);
}

.footer-info p, 
.footer-areas p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
}

.footer-info p:hover,
.footer-areas p:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

.footer-info a {
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.footer-info a:hover {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(144, 199, 230, 0.8);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(68, 103, 158, 0.5);
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--text-lighter);
    position: relative;
    z-index: 1;
    animation: copyrightFade 4s ease-in-out infinite;
}

@keyframes copyrightFade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.admin-btn {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(144, 199, 230, 0.2), transparent);
    transition: left 0.6s ease;
}

.admin-btn:hover::before {
    left: 100%;
}

.admin-btn:hover, 
.admin-btn:focus {
    opacity: 1;
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(144, 199, 230, 0.4);
    border-color: var(--white);
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section .container {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
    padding: clamp(20px, 5vw, 40px);
    max-width: 1000px;
}

.content-section h3 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.content-section h3:first-child {
    margin-top: 0;
}

.content-section p, 
.content-section ul {
    margin-bottom: 20px;
}

.content-section ul {
    padding-left: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    display: block; /* Ensure block display */
}

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

/* Content Box (only used on home page) */
.content-box {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
    padding: clamp(20px, 5vw, 40px);
    max-width: 1000px;
    margin: 0 auto;
}

.content-box h3 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.content-box h3:first-child {
    margin-top: 0;
}

.content-box p, 
.content-box ul {
    margin-bottom: 20px;
}

.content-box ul {
    padding-left: 20px;
}

.content-box ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

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

.service-areas {
    display: block; /* Changed from grid to block for vertical stacking */
}

.service-areas li {
    display: block;
    margin-bottom: 10px;
}

.cta-box {
    background-color: var(--accent);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin-top: 40px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Contact Section on Home Page */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light), var(--accent));
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(26, 119, 185, 0.1), transparent),
                radial-gradient(circle at 70% 30%, rgba(144, 199, 230, 0.1), transparent);
    z-index: 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
    font-size: clamp(1.5rem, 4vw, 2rem);
    position: relative;
    z-index: 1;
    animation: contactTitleFloat 4s ease-in-out infinite;
}

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

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    background: linear-gradient(135deg, var(--white), rgba(225, 238, 247, 0.5));
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 20px rgba(26, 119, 185, 0.1);
    border: 1px solid rgba(26, 119, 185, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 119, 185, 0.05), transparent);
    transition: left 0.8s ease;
}

.contact-info:hover::before {
    left: 100%;
}

.contact-info:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-large), 0 0 30px rgba(26, 119, 185, 0.2);
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: contactGlow 3s ease-in-out infinite;
}

@keyframes contactGlow {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 10px rgba(26, 119, 185, 0.3); }
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--text);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.contact-info a {
    color: var(--primary);
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a:hover {
    color: var(--primary-dark);
    text-shadow: 0 0 8px rgba(26, 119, 185, 0.5);
}

.contact-form {
    background: linear-gradient(135deg, var(--white), rgba(225, 238, 247, 0.3));
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow), 0 0 20px rgba(26, 119, 185, 0.1);
    border: 1px solid rgba(26, 119, 185, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(144, 199, 230, 0.05), transparent);
    transition: right 0.8s ease;
}

.contact-form:hover::before {
    right: 100%;
}

.contact-form:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-large), 0 0 30px rgba(26, 119, 185, 0.2);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 40px;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form-box {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--radius);
}

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

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

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

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

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.service-request {
    background-color: var(--accent);
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    border-radius: var(--radius);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* Alert Styles */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(-30px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(30px);
}

.animate-on-scroll.zoom-in {
    transform: scale(0.9);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Animation Delays */
.stagger-animation > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-animation > *:nth-child(n+7) { transition-delay: 0.7s; }

/* Water Drop Animation */
.water-drop {
    display: inline-block;
    color: var(--primary);
    animation: water-drop 1.5s ease-in-out infinite;
}

@keyframes water-drop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Print Styles */
@media print {
    body {
        background-color: var(--white);
        color: #000;
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .hero, .contact-info, header nav, .btn, footer {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .content-box {
        box-shadow: none;
        padding: 0;
    }
}

/* Mobile Menu Styles */
#mobile-menu-container {
    display: block;
    text-align: right;
    position: fixed;
    z-index: 9999;
    top: 15px;
    right: 15px;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu-toggle.active {
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -300px; /* Start offscreen */
    width: 300px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding-bottom: 80px; /* Space at bottom for scrolling */
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-close {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.mobile-menu-header {
    padding: 30px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.15);
}

.mobile-menu-header h3 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-menu-items li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-items a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mobile-menu-items a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.03);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.mobile-menu-items a:hover::before {
    transform: translateX(0);
}

.mobile-menu-items a:hover,
.mobile-menu-items a.active {
    background-color: rgba(255,255,255,0.05);
    color: var(--secondary);
    border-left: 3px solid var(--secondary);
    padding-left: 22px;
}

.mobile-menu-items a::after {
    content: '›';
    float: right;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.mobile-menu-items a:hover::after {
    transform: translateX(5px);
    opacity: 1;
}

/* Media Queries */
@media (max-width: 768px) {    
    .content-box {
        padding: 30px 20px;
    }
    
    .service-item, 
    .benefits-list li {
        padding: 20px 15px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    header .slogan {
        display: none;
    }
}

@media (min-width: 769px) {
    #mobile-menu-container {
        display: none;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    header .slogan {
        font-size: 0.9rem;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    .site-logo {
        height: 50px;
    }
}

/* Payment Section */
.payment-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payment-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: paymentRotate 8s linear infinite;
    z-index: 0;
}

@keyframes paymentRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.payment-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: paymentPulse 3s ease-in-out infinite;
}

@keyframes paymentPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.payment-content h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
    to { text-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 20px rgba(144, 199, 230, 0.5); }
}

.price-text {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.price-text:hover {
    transform: scale(1.05);
}

.price-text strong {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    color: var(--secondary);
    animation: priceShimmer 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes priceShimmer {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.2); }
}

.payment-btn {
    background: linear-gradient(45deg, var(--white), var(--secondary));
    color: var(--primary);
    font-weight: bold;
    margin-top: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.payment-btn:hover::before {
    left: 100%;
}

.payment-btn:hover,
.payment-btn:focus {
    background: linear-gradient(45deg, var(--secondary), var(--white));
    color: var(--dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-color: var(--secondary);
}

/* Payment Page */
.payment-intro {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--accent);
}

.payment-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background-color: var(--light);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.form-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.total-amount {
    background-color: var(--accent);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
}

.total-amount p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--dark);
}

.card-element-container {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    background-color: var(--white);
    transition: border-color var(--transition);
}

.card-element-container:hover,
.card-element-container:focus-within {
    border-color: var(--primary);
}

.payment-submit {
    width: 100%;
    font-size: 1.2rem;
    padding: 18px;
    margin-top: 20px;
}

.payment-submit.processing {
    opacity: 0.7;
    cursor: not-allowed;
}

.payment-security {
    text-align: center;
    margin-top: 15px;
    color: var(--text-lighter);
}

.error-message {
    background-color: #fee;
    color: #c33;
    padding: 15px;
    border-radius: var(--radius);
    margin: 15px 0;
    border-left: 4px solid #c33;
}

.payment-success {
    text-align: center;
    padding: 40px;
    background-color: var(--light);
    border-radius: var(--radius);
    border-left: 4px solid #4caf50;
}

.payment-success h3 {
    color: #4caf50;
    margin-bottom: 20px;
}

.success-actions {
    margin-top: 30px;
}

.alternative-payment {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--accent);
    text-align: center;
}

.or-divider {
    font-size: 1.1rem;
    color: var(--text-lighter);
    margin-bottom: 20px;
    position: relative;
}

.or-divider::before,
.or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--accent);
}

.or-divider::before {
    left: 0;
}

.or-divider::after {
    right: 0;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.venmo-payment,
.cashapp-payment {
    background-color: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
}

.venmo-payment {
    border-left: 4px solid #3D95CE;
}

.cashapp-payment {
    border-left: 4px solid #00d632;
}

.venmo-payment h4 {
    color: #3D95CE;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.cashapp-payment h4 {
    color: #00d632;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.venmo-payment p,
.cashapp-payment p {
    margin-bottom: 10px;
    color: var(--text);
}

.venmo-payment strong {
    color: #3D95CE;
    font-size: 1.1rem;
}

.cashapp-payment strong {
    color: #00d632;
    font-size: 1.1rem;
}

/* Payment Method Selection */
.payment-method-selection {
    margin-bottom: 30px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.radio-option:hover {
    border-color: var(--primary);
    background-color: var(--light);
}

.radio-option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.radio-option input[type="radio"]:checked + label {
    color: var(--primary);
    font-weight: bold;
}

.radio-option input[type="radio"]:checked {
    background-color: var(--primary);
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background-color: var(--light);
    box-shadow: 0 0 0 1px var(--primary);
}

.radio-option label {
    cursor: pointer;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.radio-option.disabled:hover {
    border-color: #ddd;
    background-color: #f5f5f5;
}

.radio-option.disabled input[type="radio"] {
    cursor: not-allowed;
}

.radio-option.disabled label {
    cursor: not-allowed;
    color: #999;
}

.coming-soon {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

.payment-instruction {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin-top: 20px;
}

.payment-instruction h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.payment-instruction p {
    margin-bottom: 10px;
    color: var(--text);
}

.payment-reminder {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: var(--radius);
    border-left: 4px solid #ffc107;
    margin-top: 15px;
}

/* Large Screens */
@media (min-width: 1440px) {
    body {
        font-size: 18px;
    }
    
    .container {
        max-width: 1400px;
    }
}

/* Status Indicator */
.status-indicator {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.status-indicator:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Remove border for single item */

.status-icon {
    font-size: 12px;
    margin-right: 8px;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-label {
    font-weight: 500;
    transition: color 0.3s ease;
}

.status-item:hover .status-label {
    color: var(--white);
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1);
    }
}

/* Responsive adjustments for status indicator */
@media (max-width: 768px) {
    .status-indicator {
        margin-top: 10px;
        padding: 8px;
    }
    
    .status-item {
        font-size: 0.8rem;
    }
    
    .status-icon {
        font-size: 10px;
    }
}

/* Footer Admin Section */
.footer-admin {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* Status Indicator */
.status-indicator {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(144, 199, 230, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    min-width: 140px;
}

.status-indicator:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-item:hover {
    color: var(--white);
    transform: translateX(-2px);
}

.status-icon {
    font-size: 12px;
    display: inline-block;
    animation: statusPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.status-label {
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1);
    }
}