:root {
    --primary-blue: #0056b3;
    --light-blue: #e6f2ff;
    --dark-text: #1a1a1a;
    --light-text: #555555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --accent-color: #007bff;
    --whatsapp-green: #25D366;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--dark-text);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: black;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 8px; 
}

@media (max-width: 768px) {
    .brand-logo img {
        height: 50px; 
    }
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

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

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

.btn-call:hover {
    background-color: #004494;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/banner_chimney_1786624449325.jpg') center/cover;
    padding: 80px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    color: var(--white);
}

.hero-dishwasher {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/banner_dishwasher.jpg') center/cover;
}

.hero-dishwasher-generic {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/banner_dishwasher_generic.jpg') center/cover;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 350px;
    color: var(--dark-text);
}

.hero-form-container h3 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--light-blue);
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: #fff;
    color: var(--dark-text);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-group textarea {
    background-image: none;
    resize: vertical;
    min-height: 80px;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--light-blue);
}

.form-group select option[value=""] {
    color: #999;
}

.btn-submit {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px;
    font-size: 1.1rem;
    margin-top: 10px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-submit:hover:not(:disabled) {
    background-color: #0069d9;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-status {
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    padding: 0;
    min-height: 0;
    transition: var(--transition);
}

.form-status.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px 14px;
}

.form-status.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px 14px;
}

.terms-text {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 15px;
    text-align: center;
}

/* Main Content Section */
.section-padding {
    padding: 60px 5%;
}

.about-section {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: var(--white);
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* .section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
} */

.about-content p {
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 1.05rem;
}

.about-content ul {
    list-style: none;
    margin-top: 20px;
}

.about-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--dark-text);
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Why ServiceZone Grid */
.why-section {
    background-color: var(--white);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    flex: 1 1 250px;
    max-width: 300px;
}

.feature-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-blue);
    border-radius: 14px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-4px);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 700;
}

.feature-content p {
    color: var(--light-text);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* Common Issues */
.issues-section {
    background-color: var(--white);
}

.issues-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.issue-tag {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
    cursor: default;
}

.issue-tag:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-text);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--light-text);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question::after {
    content: '−';
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 50px 5% 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    flex: 1;
    min-width: 260px;
    text-align: left;
}

.footer-right {
    flex: 1;
    min-width: 260px;
    text-align: left;
}

.footer-copy {
    color: #888;
    font-size: 0.85rem;
    margin-top: 16px;
}

.footer-terms-link {
    color: #4da3ff; /* A bright, legible blue */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
    transition: var(--transition);
}

.footer-terms-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-contact-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.footer-tagline {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ccc;
    font-size: 0.93rem;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-address span {
    line-height: 1.6;
}

footer p {
    margin-bottom: 0;
    color: #aaa;
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
    text-decoration: none;
}

.fab-whatsapp {
    background-color: var(--whatsapp-green);
}

.fab-call {
    background-color: var(--primary-blue);
}

.fab:hover {
    transform: scale(1.1);
}

/* Dishwasher Specific Styles */
.disclaimer-section {
    background-color: var(--bg-light);
    padding: 20px 5%;
    font-size: 0.85rem;
    color: var(--light-text);
    text-align: center;
    border-top: 1px solid #eee;
}

.error-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.error-code-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}

.error-code-item h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.issue-list {
    list-style: none;
    margin-top: 20px;
}

.issue-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    background: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.issue-list li svg {
    color: var(--primary-blue);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.btn-center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.brand-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

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

.brand-item-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.brand-item-content {
    padding: 20px;
}

.brand-item-content h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.brand-item-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.troubleshoot-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.troubleshoot-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.troubleshoot-icon {
    background-color: var(--accent-color);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.troubleshoot-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 5%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-form-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .nav-actions .btn-call {
        display: inline-flex;
    }
    
    .nav-actions .btn .btn-text {
        display: none;
    }
    
    .nav-actions .btn {
        padding: 10px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .footer-right {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
