/* ==========================================================================
   JPR Services - Main Design Stylesheet
   Matching Archive & Premium Responsive Aesthetics
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
    --primary-blue: #2f538a;
    --primary-dark: #1f3960;
    --navy-header: #25426f;
    --accent-cyan: #3baed4;
    --accent-hover: #2ca0c7;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #aaaaaa;
    --bg-light: #f7f9fa;
    --bg-card: #ffffff;
    --bg-dark-section: #2e3138;
    --footer-bg: #1c3558;
    --footer-bottom: #142844;
    --border-color: #e5e8ed;
    --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a:hover, a:focus {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Announcement Bar --- */
.top-bar {
    background: linear-gradient(to right, #1f3960, #25426f);
    color: #aab0be;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.top-bar-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- Main Header --- */
.main-header {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 20px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-area img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.header-info-widgets {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-widget {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-widget-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.info-widget-content .label {
    display: block;
    font-size: 0.78rem;
    color: #c7cedb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-widget-content .value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.info-widget-content a.value {
    color: #ffffff;
}

.info-widget-content a.value:hover {
    color: var(--accent-cyan);
}

/* --- Navigation Bar --- */
.nav-bar {
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

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

.main-nav {
    display: flex;
    align-items: center;
}

.nav-home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    color: #aaaaaa;
    font-size: 1.2rem;
    border-right: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-home-icon:hover, .nav-home-icon.active {
    color: var(--accent-cyan);
}

.menu-items {
    display: flex;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: block;
    padding: 18px 22px;
    color: #555555;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.menu-link:hover, .menu-item.active > .menu-link {
    color: var(--accent-cyan);
}

/* Dropdown Menu */
.has-dropdown > .menu-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background-color: var(--accent-cyan);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1100;
    border-top: 3px solid var(--accent-hover);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--accent-hover);
    padding-left: 25px;
}

/* Social Nav Icons */
.nav-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-social a {
    color: #888888;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-social a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 15px;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    background: #111;
    overflow: hidden;
    min-height: 520px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    min-height: 520px;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.92) 0%, rgba(230, 235, 242, 0.85) 50%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
}

.slide-content {
    max-width: 620px;
    padding: 40px 0;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 18px;
}

.slide-desc {
    font-size: 1.05rem;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.slide-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: #ffffff;

}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 174, 212, 0.4);
}

.btn-secondary {
    background-color: #ffffff;
    color: #333333;
    border-color: #dddddd;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #bbbbbb;
    color: #111111;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333333;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--accent-cyan);
    color: #ffffff;
    border-color: var(--accent-cyan);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-cyan);
    width: 28px;
    border-radius: 6px;
}

/* --- Feature Badges Bar --- */
.features-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 20px 22px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
    transition: var(--transition);
}

.feature-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--accent-cyan);
    opacity: 0.85;
}

/* --- Section Headings --- */
.section-header {
    margin-bottom: 35px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 12px;

}

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

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 8px;
}

/* --- Main Layout Sections --- */
.section-padding {
    padding: 70px 0;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 40px;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card-img {
    height: 190px;
    overflow: hidden;
    position: relative;
}

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

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

.service-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-link:hover {
    color: var(--accent-hover);
    letter-spacing: 0.5px;
}

/* Sidebar Widget */
.sidebar-widget {
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sidebar-widget-title {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--border-color);
}

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

.sidebar-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #444444;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
}

.sidebar-menu li a:hover, .sidebar-menu li.active a {
    background-color: var(--bg-light);
    color: var(--accent-cyan);
    padding-left: 25px;
}

/* --- Dark Process Section ("Easy way to get your device repaired") --- */
.process-section {
    background-color: var(--bg-dark-section);
    color: #ffffff;
    padding: 80px 0;
}

.process-section .section-title {
    color: #ffffff;
    text-align: center;
}

.process-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.process-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 22px;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);

}

.process-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.process-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.process-card-icon {
    font-size: 1.4rem;
    color: var(--accent-cyan);
}

.process-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;

}

.process-card-desc {
    font-size: 0.88rem;
    color: #b0b8c4;
    line-height: 1.6;
    margin-bottom: 25px;
}

.process-card-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    position: absolute;
    bottom: 15px;
    left: 22px;
}

/* --- About Us Section & Brands Grid --- */
.about-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    height: 75px;

}

.brand-item img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* --- [USER REQUIREMENT] Store Address Google Map Section --- */
.map-section {
    padding-top: 50px;
    padding-bottom: 70px;
    background-color: #ffffff;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    width: 100%;
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Animated Statistics Counter Bar --- */
.counter-section {
    background-color: #f4f6f8;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-item .number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.counter-item .label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* --- Subpage Banner / Page Header --- */
.page-header-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: #ffffff;
    padding: 50px 0;
}

.page-header-banner h1 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumbs-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 0.88rem;
}

.breadcrumbs-bar a {
    color: #3d3d3d;

}

.breadcrumbs-bar span {
    color: #999999;
    margin: 0 6px;
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background-color: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(59, 174, 212, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

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

/* --- Footer --- */
.main-footer {
    background-color: var(--footer-bg);
    color: #ffffff;
    padding: 70px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-widget h3 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-cyan);
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-about-text {
    font-size: 0.88rem;
    color: #b3c1d4;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-cyan);
    transform: translateY(-3px);
}

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

.footer-links li a {
    color: #b3c1d4;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #b3c1d4;
}

.contact-info-list i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-top: 3px;
}

.bottom-footer {
    background-color: var(--footer-bottom);
    padding: 20px 0;
    font-size: 0.85rem;
    color: #8fa2bf;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-badge {
    background-color: #ffffff;
    color: #111111;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .menu-items {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .menu-items.show {
        display: flex;
    }
    
    .menu-link {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .bottom-footer-content {
        flex-direction: column;
        text-align: center;
    }
}
