:root {
    --primary-color: #333;
    --accent-color: #007bff;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --header-height: 80px;
	--nav-bg: #2B3E5E; /* Matching the dark blue in screenshot */
    --text-white: #ffffff;
	--dark-blue: #2B3E5EE0;
    --light-grey: #f4f4f4;
    --border-color: #ddd;
	--extra-dark-blue: #2B3E5E;    /* Darker Copyright Bar Color */
}

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

body, html {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
	margin: 0; padding: 0; 
}
.icon {
	width:30px;
	height:auto;
	
	}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.service-list {
    list-style: none; /* Removes the dots */
    padding: 0;
    margin: 30px 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.icon {
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden; /* Ensures the image doesn't spill out */
    flex-shrink: 0;   /* Prevents the circle from squishing on small screens */
}

.icon img {
    width: 60%;      /* Adjust this percentage to make your icon larger or smaller */
    height: auto;
    object-fit: contain;
}
/* Header Styles */
.site-header {
    position: fixed; /* Keep it at the top while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent; /* Initial state */
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

/* This class will be added via JavaScript on scroll */
.site-header.scrolled {
    background-color: #ffffff;
	border-bottom: solid 1px rgba(0,0,0,1.00);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0; /* Optional: Shrink the header slightly when scrolled */
}

/* Ensure the Hero section starts under the transparent header */
.hero {
    margin-top: 0; /* No margin needed since header is transparent */
    padding-top: 120px; /* Offset to prevent text from being covered by the header */
}
/* Force the change */
.site-header.scrolled {
    background-color: #ffffff !important; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure the nav links turn dark so they stay visible on white */
.site-header.scrolled .nav-links li a {
    color: #FFFFFF !important;
}

/* Ensure the separator also turns dark */
.site-header.scrolled .separator {
    color: #FFFFFF !important;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }

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

.logo img { height: 80px; }
/* Navigation Pill */
.main-nav {
    background-color: var(--nav-bg);
    border-radius: 8px; /* Rounded edges like the screenshot */
    padding: 10px 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 2px;
    padding: 0 10px;
	display: inline-block; /* Required for transform to work properly */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Adds a slight "bounce" */
}
.nav-links li a:hover {
    transform: translateY(-4px); /* Adjust the -3px to move it more or less */
    color: var(--white); /* Keeps the hover color consistent */
}
/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../assets/images/bathroomdecor_bath_resurface.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-cta {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
}
.service-hero {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../assets/images/bathroomdecor_bath_tub.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.service-hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.service-hero-cta {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .nav-links .separator { display: none; color:#FFFFFF }
    .main-nav {
        position: absolute;
        top: 100px;
        left: -100%;
        width: 90%;
        transition: 0.3s;
        z-index: 10;
    }
    .main-nav.active { left: 5%; }
    .nav-links { flex-direction: column; padding: 20px 0; }
    .nav-links li { margin: 10px 0; }
    .hamburger { display: block; cursor: pointer; }
    .hamburger span { display: block; width: 25px; height: 3px; background: var(--nav-bg); margin: 5px; }
}
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav ul li a:hover { color: var(--white); }

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        transition: 0.4s;
        padding-top: 50px;
    }

    .main-nav.active { left: 0; }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li { margin: 15px 0; }
}

/* Footer Styles */
.site-footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
/* Resurface Section */
.resurface-section { padding: 80px 0; }
.flex-row { display: flex; gap: 40px; align-items: flex-start; }

.resurface-image { flex: 1; }
.resurface-image img {
    width: 100%;
    border: 5px solid var(--dark-blue);
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.resurface-text { flex: 1.2; }
.resurface-text h2 { color: var(--dark-blue); font-size: 2.2rem; margin-bottom: 10px; }
.resurface-text h3 { color: #555; font-size: 1.3rem; margin-bottom: 20px; font-weight: normal; }
.resurface-text p { color: #666; line-height: 1.8; margin-bottom: 30px; }

.btn-link {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--dark-blue);
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-section { padding: 60px 0; text-align: center; }
.section-title { font-size: 2rem; color: #555; }
.section-title span { color: #000; font-weight: 800; border: 2px solid red; border-radius: 50px; padding: 2px 15px; }

.section-divider { border: 0; border-top: 1px solid var(--border-color); margin: 40px 0; }

/* Footer */
.site-footer { 
    background-color: var(--dark-blue); 
    color: var(--text-white); 
    padding-top: 60px; /* Removed bottom padding here */
}
.footer-bottom-bar {
    background-color: var(--extra-dark-blue);
    padding: 20px 0;
    margin-top: 40px; /* Adds space after the links */
    width: 100%;
}

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

.footer-bottom-bar p {
    font-size: 0.8rem;
    color: #cbd5e0;
    margin: 0;
}

.back-to-top {
    font-size: 0.75rem;
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.back-to-top:hover {
    text-decoration: underline;
}

/* Mobile Adjustments for the Bar */
@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { margin-bottom: 20px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.footer-col p, .footer-col .address { font-size: 0.9rem; color: #cbd5e0; margin-bottom: 8px; }
.footer-col a { color: #fff; text-decoration: none; }

.footer-bottom {
	width:100%;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
	background: var(--nav-bg);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.whatsapp-float img { width: 50px; height: 50px; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .flex-row { flex-direction: column; }
    .footer-columns { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
}
/* Container for multiple testimonials */
.testimonial-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

/* PDF Embed Styling */
.pdf-embed-container {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pdf-embed-container h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.responsive-pdf {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid #eee;
}

/* Image preview version styling */
.pdf-preview-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    transition: transform 0.3s ease;
}

.pdf-preview-img:hover {
    transform: scale(1.02);
}

.referral-letter a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 0.8rem;
}

/* Mobile Tweak: Hide the heavy PDF embed on small phones and show a download link instead */
@media (max-width: 600px) {
    .responsive-pdf {
        height: 300px; /* Shorter for mobile */
    }
}
/* Container for the text and the SVG */
.draw-wrap {
    position: relative;
    display: inline-block;
    padding: 0 15px; /* Added padding so the circle has breathing room */
    z-index: 1; /* Establishes a stacking context */
}

/* Position the SVG exactly over the text */
.draw-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; /* Slightly wider than the text */
    height: 160%; /* Slightly taller than the text */
    pointer-events: none;
    z-index: -1; /* CRITICAL: Moves the SVG behind the text */
}

.draw-circle path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawCircle 1.5s ease-out forwards;
    animation-delay: 0.5s;
    stroke: #ff0000; /* Bright red */
    stroke-width: 2; /* Slightly thinner for a cleaner look */
}


@keyframes drawCircle {
    to {
        stroke-dashoffset: 0; /* Draw the line to its full length */
    }
}

/* Remove your old border styling from style.css */
.section-title span {
    border: none !important;
    background: transparent !important;
    position: relative;
}
/* Updated: Keep the nav links white even on the white background */
.site-header.scrolled .nav-links li a {
    color: #ffffff !important; /* Changed from dark blue to white */
}

/* Updated: Keep the separator white */
.site-header.scrolled .separator {
    color: #ffffff !important; /* Changed from dark blue to white */
}
.slider-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden; /* Keeps the extra slides hidden */
    padding: 20px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-out;
}

.slide {
    flex: 0 0 25%; /* Shows exactly 4 images */
    padding: 0 10px;
    box-sizing: border-box;
}

.slide-inner {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.slide-inner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.slide-inner p {
    padding: 15px;
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

/* Controls */
.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
    padding-right: 20px;
}

.control-btn {
    background: #2c3e50;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.control-btn:hover {
    background: #3498db;
}

/* Mobile: Show 1 image instead of 4 */
@media (max-width: 768px) {
    .slide { flex: 0 0 100%; }
}
/* "GET A QUOTE" Button Styling */
.btn-quote {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--nav-bg); /* Dark blue border */
    color: var(--nav-bg);            /* Dark blue text */
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 5px;              /* Clean, slightly rounded corners */
    transition: all 0.4s ease;       /* Smooth transition for the hover effect */
    background-color: transparent;   /* Initial background is transparent */
    text-transform: uppercase;
}

.btn-quote:hover {
    background-color: var(--nav-bg); /* Background becomes dark blue on hover */
    color: #ffffff;                 /* Text becomes white on hover */
    box-shadow: 0 4px 15px rgba(43, 62, 94, 0.3); /* Adds a subtle lift effect */
}
.gallery-section {
    padding: 60px 0;
    background: var(--light-bg);
}

/* Masonry Layout using Column-Count */
.masonry-grid {
    column-count: 4; /* 4 columns for desktop */
    column-gap: 20px;
    width: 100%;
}

.masonry-item {
    display: inline-block; /* Required for column-count to work */
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid; /* Prevents image from splitting between columns */
}

/* Ensure the link covers the whole item area */
.masonry-content {
    display: block; /* Important: <a> needs to be block for dimensions to work */
    cursor: zoom-in; /* Shows the user the image can be expanded */
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Maintain your existing hover effects */
.masonry-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.masonry-content:hover img {
    transform: scale(1.05);
}
.contact-hero {
    background: var(--nav-bg);
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
}

.captcha-container img { border-radius: 3px; }

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.office h4 {
    color: var(--nav-bg);
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.office p { margin: 5px 0; font-size: 0.95rem; }

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.form-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    background-color: #fff;
    margin-bottom: 20px;
    appearance: none; /* Removes default browser arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    color: #555;
}

.form-select:focus {
    outline: none;
    border-color: var(--nav-bg);
}
/* 1. The Floating Container */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-fixed img {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. The Label (Updated Background to WhatsApp Green) */
.whatsapp-hover::after {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    right: 125%;
    transform: translateY(-50%) translateX(10px);
    background-color: #25D366; /* Official WhatsApp Green */
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* 3. The Arrow (Updated Color to WhatsApp Green) */
.whatsapp-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 110%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    /* Changed the last value to #25D366 to match the label */
    border-color: transparent transparent transparent #25D366; 
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* 4. Hover State */
.whatsapp-hover:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0); /* Slides smoothly to the left */
}

.whatsapp-hover:hover::before {
    opacity: 1;
    visibility: visible;
}