/* Banwow.com - Premium Redesign */

:root {
    --primary: #00d2ff;
    --primary-dark: #0078ff;
    --secondary: #3a7bd5;
    --accent: #ff0055;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --whatsapp: #25D366;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

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

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

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    overflow: hidden;
    z-index: 1;
    line-height: 1;
    /* Reset line-height to ensure centering */
}

.btn i,
.btn svg {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    transition: var(--transition);
    vertical-align: middle;
    display: block;
    /* Helps with alignment in flex */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4);
}

.btn-whatsapp svg {
    font-size: 1.7rem;
    width: 28px;
    height: 28px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}



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

/* Header */
/* Header */
header {
    padding: 15px 30px;
    position: fixed;
    width: 90%;
    max-width: 1200px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.2);
    /* Semi-transparent for glass effect */
    border: none;
    border-radius: 50px;
    position: fixed;
    /* Restore fixed if it was accidentally removed or just ensure it is there */
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Electric Flow - Moving Gradient Border */
header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(0, 210, 255, 1),
            rgba(150, 0, 255, 1),
            rgba(0, 210, 255, 1),
            transparent 30%);
    animation: rotate-border 4s linear infinite;
    z-index: -2;
}

header::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #000;
    border-radius: 48px;
    z-index: -1;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.header-hidden {
    transform: translateX(-50%) translateY(-200%);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
}

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

.nav-links {
    display: flex;
    gap: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero_bg.webp') no-repeat center center/cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9));
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Services */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card .icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Features */
.features {
    padding: 80px 0;
    background: linear-gradient(to right, #0f0f0f, #141414);
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.3));
    transition: var(--transition);
}

.feature-item:hover .feature-icon-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.5));
}

/* Contact */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info,
.form-box {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--card-border);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.form-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
}

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

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* Animations */
/* .reveal style removed to let GSAP handle visibility via .from() */


/* --- Navigation Styles --- */
.mobile-nav-toggle {
    display: none;
    /* Default hidden */
}

/* Desktop Styles (Default) */
.nav-links {
    display: flex;
    gap: 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
        font-size: 1.5rem;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        display: flex;
        /* Ensure flex is active for centering */
    }

    .nav-links.active {
        right: 0;
    }

    header {
        padding: 15px 0;
    }

    /* Mobile adjustments for service pages */
    .service-page-content {
        padding-top: 120px !important;
    }

    .service-header h1 {
        font-size: 2rem;
    }
}

/* --- Service Page Styles --- */
.service-page-content {
    padding-top: 220px !important;
    /* Force padding */
    padding-bottom: 80px;
    min-height: 80vh;
    position: relative;
    z-index: 1;
    /* Ensure it stays below header */
    margin-top: 0;
}

.service-header {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(0, 120, 255, 0.1));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
}

.service-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-header .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.common-repairs,
.home-visit-benefits,
.booking-guide {
    margin-bottom: 60px;
}

.common-repairs h2,
.home-visit-benefits h2,
.booking-guide h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 15px;
    display: inline-block;
}

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

.repair-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
}

.repair-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.repair-item h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.repair-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.home-visit-benefits ul,
.booking-guide ol {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    list-style-position: inside;
}

.home-visit-benefits li,
.booking-guide li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.home-visit-benefits li strong {
    color: white;
}

.cta-bottom {
    text-align: center;
    background: linear-gradient(to right, rgba(0, 210, 255, 0.1), rgba(0, 120, 255, 0.1));
    border: 1px solid var(--primary);
    padding: 60px;
    border-radius: 20px;
    margin-top: 60px;
}

.cta-bottom h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-bottom p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-bottom .btn {
    margin: 10px;
}

.header-spacer {
    display: block;
    width: 100%;
}

/* --- Knowledge Base / Article Styles --- */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--primary);
}

.breadcrumbs span {
    margin: 0 5px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.infographic-box {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.infographic-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.infographic-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: 2px dashed var(--card-border);
    border-radius: 10px;
    color: var(--text-muted);
    flex-direction: column;
    gap: 15px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: white;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.highlight-box {
    background: rgba(0, 210, 255, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.warning-box {
    background: rgba(255, 0, 85, 0.05);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

/* FAQ Schema Styling */
.faq-section {
    margin-top: 60px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--card-border);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

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

.faq-answer {
    color: var(--text-muted);
    padding-left: 25px;
}

/* Sticky Bottom CTA for Article */
.sticky-article-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 600px;
    justify-content: space-between;
    padding-right: 50px;
    /* Space for close button */
}

.sticky-article-cta p {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .sticky-article-cta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 95%;
        padding: 20px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: white;
    transform: translateY(-5px);
}

/* Appending Close Button Styles */
.cta-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 1002;
}

.cta-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

/* Mobile Header Fix - Compact Row */
@media (max-width: 480px) {
    header {
        top: 10px;
        /* Reduced top offset */
        padding: 8px 15px !important;
        /* Balanced padding */
        width: 95% !important;
    }

    .logo img {
        height: 35px !important;
    }

    /* Icons Only - No Button Background */
    header .btn {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 5px !important;
        font-size: 0 !important;
        width: auto !important;
        height: auto !important;
        border-radius: 0 !important;
        transform: none !important;
        /* Disable hover float on mobile if active */
    }

    header .btn i {
        font-size: 1.8rem !important;
        /* Larger visibility */
        margin-right: 0 !important;
        display: block;
        line-height: 1;
    }

    /* Colors for Icons on Mobile */
    header .btn-primary i {
        color: var(--primary);
        /* Cyan for Call */
    }

    header .btn-whatsapp i {
        color: #25D366;
        /* Official WhatsApp Green */
    }

    header div[style*="display: flex"] {
        gap: 5px !important;
        /* Tight spacing */
        align-items: center !important;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}