/*
Theme Name: Quick Service Centre Theme
Theme URI: https://happyhomecareservices.com/
Description: Premium Custom Landing Page Theme for Quick Service Centre.
Version: 1.0
Author: Quick Service Centre
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    --primary: #0a1c3e;        /* Deep Navy Blue from happyhomecare */
    --primary-light: #162c5b;  /* Lighter Navy for hovers */
    --accent: #f7941d;         /* Premium Orange accent */
    --accent-light: #ffaa3b;   /* Bright Orange for hovers */
    --text-dark: #222c3f;      /* Dark text for headlines */
    --text-muted: #5e6d85;     /* Slate grey for body text */
    --bg-light: #f3f6fc;       /* Very soft blueish grey background */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(10, 28, 62, 0.04);
    --shadow-md: 0 10px 20px rgba(10, 28, 62, 0.06);
    --shadow-lg: 0 20px 40px rgba(10, 28, 62, 0.1);
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

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

.section-title .section-desc {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.subtitle {
    display: block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    font-size: 1rem;
    border: none;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(247, 148, 29, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.5);
}

.btn-secondary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(10, 28, 62, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 28, 62, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    padding: 0 !important;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-card {
    background-color: var(--primary);
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
}

.btn-card:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-close, .nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #ffffff 40%, #f0f5fc 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero .subtitle {
    background-color: rgba(247, 148, 29, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero .title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 15px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero .description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(10, 28, 62, 0.05);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 35px;
}

.hero-info-badge i {
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 5px solid white;
}

.hero-stats-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    border-left: 5px solid var(--accent);
    animation: float 4s ease-in-out infinite;
}

.hero-stats-card .stats-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stats-card .stats-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 148, 29, 0.2);
}

.service-card-img {
    height: 220px;
    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.08);
}

.service-card-content {
    padding: 28px 24px;
}

.service-card-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

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

.service-checklist {
    margin-bottom: 24px;
}

.service-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.service-checklist li i {
    color: var(--accent);
    font-size: 1.05rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: white;
    padding: 24px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-badge .badge-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.about-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-content h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-cta-box {
    display: flex;
    gap: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
}

.about-cta-box .cta-icon {
    font-size: 2rem;
    color: var(--accent);
}

.about-cta-box .cta-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-cta-box .cta-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   WHY CHOOSE US (FEATURES)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(247, 148, 29, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(10, 28, 62, 0.05);
    color: var(--primary);
    font-size: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--accent);
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
}

/* ==========================================================================
   SERVICE AREAS
   ========================================================================== */
.areas-card {
    background-color: white;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.areas-list li a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    transition: var(--transition);
}

.areas-list li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.areas-list li a i {
    color: var(--accent);
    font-size: 1.1rem;
}

.areas-footer {
    text-align: center;
    font-weight: 600;
    margin-top: 40px;
    font-size: 1.1rem;
    color: var(--primary);
}

/* ==========================================================================
   BRANDS
   ========================================================================== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    justify-content: center;
}

.brand-item {
    background-color: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.brand-item:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(247, 148, 29, 0.3);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-item.active .faq-toggle-icon {
    background-color: var(--accent);
    color: white;
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-body {
    padding-bottom: 24px;
}

.faq-body p {
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(247, 148, 29, 0.15);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 8px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #050d1e;
    color: #a3b3cc;
    padding: 85px 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 24px;
}

.footer-tagline {
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

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

.footer-links h3, .footer-info h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after, .footer-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

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

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-details li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-details li i {
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 4px;
}

.contact-details span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6a7c99;
    margin-bottom: 3px;
}

.contact-details div {
    font-weight: 500;
    color: white;
}

.phone-link {
    font-size: 1.15rem;
    font-weight: 700 !important;
    color: var(--accent) !important;
}

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

/* ==========================================================================
   FLOATING ACTION BUTTON
   ========================================================================== */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(247, 148, 29, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    background-color: var(--accent-light);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% { transform: translateY(0) translateX(-30px); }
    50% { transform: translateY(-10px) translateX(-30px); }
    100% { transform: translateY(0) translateX(-30px); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(247, 148, 29, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0);
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero .title {
        font-size: 2.8rem;
    }
    
    .about-container {
        gap: 40px;
    }
    
    .areas-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .hero-stats-card {
        left: 20px;
        bottom: 20px;
        transform: none !important;
        animation: none;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 80px 40px;
        transition: right 0.4s ease;
        z-index: 1001;
    }
    
    .nav.show-menu {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 25px;
    }
    
    .nav-close {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
    }
    
    .header-call span,
    .header-whatsapp span {
        display: none;
    }

    .header-call,
    .header-whatsapp {
        display: inline-flex !important;
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        font-size: 1.1rem;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }

    .header-actions {
        gap: 8px;
    }
    
    .header-container {
        height: 80px;
    }
    
    .hero .title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .areas-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero .title {
        font-size: 1.85rem;
    }
    
    .about-badge {
        padding: 15px 20px;
        right: -10px;
        bottom: -10px;
    }
    
    .about-badge .badge-num {
        font-size: 1.8rem;
    }
    
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
