/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    --primary-color: #234294;    /* Deep Blue */
    --secondary-color: #95E5F2;  /* Sky Blue */
    --accent-color: #0b2e5c;     /* Darker Blue for hover */
    --text-dark: #333333;
    --text-light: #777777;
    --white: #ffffff;
}

/* Basic Reset for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Helper Class */
.section-padding {
    padding: 80px 0;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--secondary-color);
}

/* Logo Sizing for Menu */
.site-logo {
    max-height: 60px; /* Restricts height to keep menu slim */
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-right: 15px;
    font-size: 16px;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.btn-book {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 25px;
    border-radius: 50px;
}

.btn-book:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(to right, #f8f9fa 50%, rgba(149, 229, 242, 0.2) 50%);
    min-height: 80vh;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--secondary-color);
}

/* =========================================
   4. SERVICES & CARDS
   ========================================= */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--secondary-color) !important;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.service-card img {
    transition: transform 0.5s;
}

.service-card:hover img {
    transform: scale(1.1);
}

/* =========================================
   5. FEATURE BOXES (Why Choose)
   ========================================= */
.feature-box {
    transition: 0.3s;
}

.feature-box:hover {
    background-color: var(--primary-color) !important;
    color: white;
    transform: translateY(-5px);
}

.feature-box:hover h5, 
.feature-box:hover p, 
.feature-box:hover i {
    color: white !important;
}

/* =========================================
   6. MISC SECTIONS
   ========================================= */
/* Grayscale Logos */
.grayscale-logos img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
    max-height: 60px; /* Constrain brand logo height */
}

.grayscale-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
/* =========================================
   TESTIMONIAL SLIDER ARROWS (Centered Bottom)
   ========================================= */

/* The Buttons */
.slick-prev-custom,
.slick-next-custom {
    display: inline-flex;       /* Keeps them side by side */
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
    cursor: pointer;
}

/* Hover Effect */
.slick-prev-custom:hover,
.slick-next-custom:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}
/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-info {
    color: #2ab7ca !important; /* Slightly darker than sky blue for text readability */
}

/* Footer specific */
footer .social-icons a:hover {
    color: var(--secondary-color) !important;
}
/* =========================================
   7. INNER PAGES (About, Contact, Privacy, Services)
   ========================================= */

/* Common Page Banner for all sub-pages */
.page-header {
    background: linear-gradient(rgba(35, 66, 148, 0.9), rgba(35, 66, 148, 0.8)), url('../images/hero-technician.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.page-header h1 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

/* --- About Page Specifics --- */
.about-img-container {
    position: relative;
    padding-left: 30px;
    padding-bottom: 30px;
}

.about-img-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 5px solid var(--secondary-color);
    z-index: -1;
    border-radius: 10px;
}

.mission-box {
    background: #f8f9fa;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    height: 100%;
}

/* --- Contact Page Specifics --- */
.contact-info-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    transition: 0.3s;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--secondary-color);
}

.contact-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 10px;
}

/* --- Privacy Policy Specifics --- */
.privacy-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 1.5rem;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}
/* =========================================
   8. BLOG & SINGLE POST
   ========================================= */

/* --- Blog Post Card (Listing) --- */
.blog-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s;
    background: #fcfbff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}
/* =========================================
   TAG CLOUD STYLING (Sidebar & Single)
   ========================================= */
.tag-cloud-link {
    display: inline-block;
    background-color: #f8f9fa; /* Light Gray Background */
    color: #555;
    padding: 6px 14px;
    border-radius: 50px;       /* Pill Shape */
    font-size: 0.85rem;        /* Small text */
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    line-height: 1;
}

/* Hover Effect */
.tag-cloud-link:hover {
    background-color: var(--primary-color); /* Deep Blue */
    color: #ffffff !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Ensure the count text turns white on hover too */
.tag-cloud-link:hover span {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* =========================================
   CATEGORY BADGE OVERLAY (Updated)
   ========================================= */
.position-relative {
    position: relative !important;
}

/* 1. The Container determines the position */
.category-overlay-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;       /* Aligns buttons side-by-side */
    gap: 8px;            /* Space between buttons */
    flex-wrap: wrap;     /* Wrap if too many categories */
}

/* 2. The Badge determines the look */
.category-badge {
    /* No absolute position here anymore */
    background-color: #ffffff;   /* White Background */
    color: var(--primary-color); /* Primary Color Text */
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    display: inline-block;
}
/* --- Sidebar / Widgets (Standard WP Style) --- */
.sidebar-widget {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

/* Sidebar Lists */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
}

.sidebar-list a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Slight movement effect */
}

/* --- Single Post Typography --- */
.post-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

.post-content blockquote {
    background: #f9f9f9;
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    font-style: italic;
    color: #555;
    margin: 30px 0;
}

/* =========================================
   WORDPRESS PAGINATION STYLING
   ========================================= */
.pagination .nav-links {
    display: flex;
    gap: 5px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
/* =========================================
   9. SERVICE PAGES SPECIFICS
   ========================================= */

/* Service Sidebar Menu */
.service-sidebar-nav {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.service-sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid #eee;
    font-weight: 600;
    transition: 0.3s;
}

.service-sidebar-nav a:hover,
.service-sidebar-nav a.active {
    background: var(--primary-color);
    color: #fff;
    padding-left: 25px; /* Slide effect */
}

.service-sidebar-nav a:last-child {
    border-bottom: none;
}

.service-sidebar-nav i {
    margin-right: 10px;
    width: 20px;
}

/* Service Page Content */
.service-content img {
    border-radius: 8px;
    margin-bottom: 25px;
}

.service-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 1.75rem;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.service-features-list li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}
/* =========================================
   10. BOOKING PAGE
   ========================================= */
.booking-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    border-top: 5px solid var(--primary-color);
}

.booking-header {
    background: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(149, 229, 242, 0.3); /* Sky Blue Glow */
}

.btn-whatsapp {
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    font-weight: 700;
    border: none;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

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

.btn-whatsapp i {
    font-size: 1.5rem;
    margin-right: 10px;
}
/* =========================================
   9. SERVICE DETAIL PAGE SPECIFICS
   ========================================= */

/* --- 1. Issue Cards (Grid Layout with Icons) --- */
.issue-card {
    padding: 25px;
    height: 100%;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--secondary-color); /* Sky Blue accent */
}

.issue-card .icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%; /* Circle background for icon */
    margin-bottom: 15px;
    color: var(--primary-color);
}

.issue-card:hover .icon-wrapper {
    background-color: blue;
    color: #fff !important;
}

/* --- 2. Process Steps (1, 2, 3 Boxes) --- */
.process-box {
    background: #f8f9fa;
    transition: 0.3s;
    border: 1px solid #eee;
}

.process-box:hover {
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

/* --- 3. Sidebar Navigation --- */
.service-sidebar-nav {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.service-sidebar-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.service-sidebar-nav li:last-child {
    border-bottom: none;
}

.service-sidebar-nav li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

/* Active & Hover States */
.service-sidebar-nav li a:hover, 
.service-sidebar-nav li.current-menu-item a {
    background-color: var(--primary-color);
    color: #ffffff;
    padding-left: 25px; /* Slide effect */
}

.service-sidebar-nav li a:hover i,
.service-sidebar-nav li.current-menu-item a i {
    color: #ffffff !important;
}

/* --- 4. Accordion (FAQs) --- */
.accordion-item {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f8ff; /* Light Blue BG when open */
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

/* --- 5. Images (General Helper) --- */
.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
/* =========================================
   SERVICE DETAIL GALLERY GRID
   ========================================= */
.gallery-grid-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
	border: 1px solid var(--primary-color);
}

/* Hover Effect */
.gallery-grid-img:hover {
    transform: scale(1.02); /* Slight zoom on hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* On Mobile, make them a bit shorter so they fit better */
@media (max-width: 767px) {
    .gallery-grid-img {
        height: 140px;
    }
}
/* =========================================
   UNIVERSAL FOOTER MENU FIX
   ========================================= */

/* 1. Target ANY list inside the footer widgets */
footer .widget ul,
footer .widget ol,
footer .widget_nav_menu ul, 
footer .wp-block-navigation-link {
    list-style: none !important; /* Forces bullets to disappear */
    padding-left: 0 !important;  /* Removes indentation */
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}

/* 2. Style the List Items */
footer .widget li {
    margin-bottom: 10px;
    padding: 0;
    line-height: 1.5;
}

/* 3. Style the Links (Force White) */
footer .widget li a,
footer .widget_nav_menu a {
    color: #ffffff !important;     /* White Text */
    text-decoration: none !important;
    font-size: 1rem;
    transition: 0.3s;
    display: block; /* Makes the click area better */
}

/* 4. Hover Effect (Sky Blue) */
footer .widget li a:hover,
footer .widget_nav_menu a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px; /* Slide effect */
}
/* =========================================
   FINAL HEADER & UI FIXES (Consolidated)
   ========================================= */

/* 1. HIDE MOBILE ELEMENTS ON DESKTOP 
   (Removes the vertical garbage on desktop screens) */
@media (min-width: 992px) {
    .mobile-menu-drawer,
    .mobile-menu-overlay,
    .custom-hamburger,
    .mobile-search-trigger,
    .drawer-header,
    .drawer-content {
        display: none !important;
    }
}

/* 2. MOBILE HEADER ALIGNMENT (Mobile Only) */
@media (max-width: 991px) {
    /* Ensure Header Container has height and alignment */
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        position: relative;
        padding: 0 20px;
    }

    /* PERFECT CENTER LOGO */
    .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); /* Centers X and Y */
        max-height: 45px;
        width: auto;
        z-index: 5;
    }
    
    /* Hide Default Bootstrap Nav */
    .navbar-collapse { display: none !important; }
}

/* 3. MOBILE DRAWER (Slide-in Menu) */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -320px; /* Hidden off-screen left */
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 10000; /* High Z-Index to sit on top */
    transition: left 0.3s ease-in-out;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    left: 0 !important; /* Slide in */
}

.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999; /* Below drawer, above content */
    display: none;
    backdrop-filter: blur(2px);
}
.mobile-menu-overlay.active { display: block; }

/* Drawer Content Styling */
.drawer-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; border-bottom: 1px solid #eee; background: #f8f9fa;
}
.drawer-title { font-weight: bold; color: var(--primary-color); font-size: 1.2rem; }
.drawer-close { background: none; border: none; font-size: 1.5rem; color: #333; cursor: pointer; }

/* Drawer List */
.mobile-nav-list { list-style: none !important; padding: 0 !important; margin: 0 !important; overflow-y: auto; }
.mobile-nav-list li { border-bottom: 1px solid #f0f0f0; position: relative; margin: 0 !important; }
.mobile-nav-list a {
    display: block; padding: 15px 20px;
    color: #333; text-decoration: none; font-weight: 600; font-size: 1rem;
}
.drawer-extras { padding: 20px; }

/* Submenu Arrow & Logic */
.mobile-dropdown-toggle {
    position: absolute; right: 0; top: 0;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--primary-color);
}
.mobile-nav-list .sub-menu {
    display: none; background: #f9f9f9; padding-left: 0 !important;
}
.mobile-nav-list .sub-menu a { padding-left: 40px; font-weight: normal; }

/* 4. SEARCH MODAL (Mini Box) */
.custom-search-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999; /* Highest Z-Index */
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.custom-search-modal.active { display: flex; }

.search-inner {
    width: 90%; max-width: 500px;
    background: white; padding: 30px;
    border-radius: 8px; position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.close-search-btn {
    position: absolute; top: -45px; right: 0;
    background: none; border: none; color: white; font-size: 30px; cursor: pointer;
}

.search-form { display: flex; border: 2px solid #eee; border-radius: 5px; overflow: hidden; }

/* FIX: Search Input Text Color */
.search-input {
    width: 100%; border: none; padding: 15px; outline: none;
    font-size: 1.1rem; 
    color: #000000 !important; /* Forces black text */
    background: white; 
}

.search-submit-btn {
    background: var(--primary-color); color: white; border: none; padding: 0 20px; font-size: 1.2rem; cursor: pointer;
}