/*
Theme Name: WeCare Elevators Blue
Theme URI: https://wecareelevators.in/
Author: OpenAI
Description: A responsive, blue corporate WordPress theme for We Care Elevators Pvt. Ltd.
Version: 2.5.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: wecare-elevators-blue
*/

/* ==========================================================================
   1. CSS VARIABLES & RESET
   ========================================================================== */
:root {
    --wc-blue: #343d91;
    --wc-blue2: #25b5dc;
    --wc-navy: #303987;
    --wc-ink: #14263d;
    --wc-muted: #63748a;
    --wc-pale: #e8f9fd;
    --wc-line: #dce7f2;
    --wc-white: #fff;
    --wc-radius: 18px;
    --wc-shadow: 0 16px 42px rgba(7, 49, 91, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--wc-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wc-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--wc-blue2); }
button, input, textarea, select { font: inherit; }

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* ==========================================================================
   2. TOP BAR & HEADER
   ========================================================================== */
.topbar {
    background: var(--wc-navy);
    color: #dcecff;
    font-size: 13px;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--wc-blue2); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-phones { display: flex; gap: 15px; }
.topbar-meta { display: flex; gap: 20px; flex-wrap: wrap; }

/* Header Social Icons */
.topbar-socials {
    display: flex; gap: 8px; margin-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.2); padding-left: 15px;
}
.topbar-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.1); color: #fff;
    font-size: 12px; transition: 0.3s;
}
.topbar-socials a:hover { background: var(--wc-blue2); transform: translateY(-2px); }

.mobile-topbar { display: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid var(--wc-line);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
body.admin-bar .site-header { top: 32px; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img, .custom-logo { max-height: 55px !important; width: auto !important; }

.main-nav ul {
    display: flex; gap: 25px; list-style: none; margin: 0; padding: 0; align-items: center;
}
.main-nav a { font-size: 14px; font-weight: 650; color: #243b54; white-space: nowrap; }
.main-nav a:hover { color: var(--wc-blue2); }

.header-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 9px;
    background: var(--wc-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    border: 1px solid var(--wc-blue);
    transition: .2s;
    box-shadow: 0 8px 18px #343d9126;
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
}
.header-cta:hover, .btn:hover {
    background: var(--wc-navy);
    border-color: var(--wc-navy);
    color: #fff;
    transform: translateY(-1px);
}

.btn-light { background: #fff; color: var(--wc-blue); border-color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #ffffff88; box-shadow: none; }
.menu-toggle { display: none; }

/* ==========================================================================
   3. HERO SECTION & PAGE HERO
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #041e3d;
}
.hero-bg-slider { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; animation: heroFade 24s infinite;
}
.hero-bg-slider::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(4,30,61,0.95) 0%, rgba(5,61,115,0.85) 47%, rgba(4,35,68,0.4) 100%);
    z-index: 1;
}
@keyframes heroFade {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; }
    25% { opacity: 1; transform: scale(1); }
    30% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}
.hero .container { position: relative; z-index: 2; }
.hero-content { position: relative; padding: 90px 0 100px; max-width: 720px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.07; letter-spacing: -2px; margin: 0 0 23px; color: #fff; }
.hero p { font-size: 18px; color: #e2efff; max-width: 610px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 37px; color: #e5f1ff; font-size: 13px; }
.hero-proof b { color: #8fd4ff; font-size: 18px; }

.page-hero {
    background: #303987;
    color: #fff;
    padding: 100px 0;
    position: relative;
}
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 0 0 10px; color: #fff; }
.page-hero p { margin: 0; color: #d9ebff; }

/* ==========================================================================
   4. GLOBAL SECTIONS & HEADINGS
   ========================================================================== */
.section { padding: 86px 0; }
.section-soft { background: #f4f8fc; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-head .eyebrow { color: var(--wc-blue2); margin-bottom: 12px; }
.section-head h2, .split-copy h2 {
    font-size: clamp(29px, 3.5vw, 43px);
    line-height: 1.16;
    letter-spacing: -1.1px;
    color: var(--wc-navy);
    margin: 0 0 16px;
}
.section-head p, .split-copy p { color: var(--wc-muted); margin: 0; font-size: 16px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: #a8d8ff; text-transform: uppercase; letter-spacing: 2.2px;
    font-size: 12px; font-weight: 800; margin-bottom: 20px;
}
.eyebrow:before { content: ""; width: 32px; height: 2px; background: #5ec5ff; }

/* ==========================================================================
   5. SERVICES GRID (2x2 Layout)
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-card {
    background: #fff;
    border: 1px solid var(--wc-line);
    border-radius: 15px;
    padding: 27px 23px;
    transition: .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--wc-shadow); border-color: #b5d9fa; }
.service-image { width: 100%; height: 300px; overflow: hidden; border-radius: 10px; margin-bottom: 20px; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.service-card:hover .service-image img { transform: scale(1.05); }
.service-card h3 { font-size: 20px; line-height: 1.3; color: var(--wc-navy); margin: 0 0 10px; }
.service-icon {
    width: 53px; height: 53px; border-radius: 14px;
    display: grid; place-items: center; background: var(--wc-pale);
    color: var(--wc-blue); font-size: 24px; margin-bottom: 20px;
}

/* Justified Text & Custom Bullets for Services */
.service-text { text-align: justify; text-justify: inter-word; font-size: 14px; color: var(--wc-muted); line-height: 1.6; }
.service-text p { margin-bottom: 15px; }
.service-text ul { padding-left: 0; list-style: none; margin-bottom: 15px; }
.service-text li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--wc-muted); font-size: 14px; line-height: 1.5; }
.service-text li::before {
    content: "✓"; position: absolute; left: 0; top: 1px;
    color: #fff; background-color: var(--wc-blue2);
    border-radius: 50%; width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: bold;
}
.service-text h3, .service-text h4 { color: var(--wc-navy); font-size: 18px; margin: 20px 0 10px; text-align: left; }

/* ==========================================================================
   6. ABOUT / SPLIT SECTION
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 60px; }
.split-visual {
    position: relative; min-height: 450px; border-radius: 22px;
    overflow: hidden; background: linear-gradient(180deg, #dcecff, #8bbce8); box-shadow: var(--wc-shadow);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-copy { display: flex; flex-direction: column; justify-content: center; }
.about-description p { color: var(--wc-muted); font-size: 15px; line-height: 1.7; margin: 0 0 15px; }

.experience-card {
    position: absolute; left: 22px; bottom: 22px;
    background: #fff; padding: 20px 23px; border-radius: 14px;
    box-shadow: var(--wc-shadow); max-width: 220px; z-index: 2;
}
.experience-card strong { display: block; font-size: 24px; line-height: 1.2; color: var(--wc-blue); margin-bottom: 6px; }

/* ==========================================================================
   7. PRODUCTS GRID
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { border: 1px solid var(--wc-line); border-radius: 14px; overflow: hidden; background: #fff; }
.product-card img { height: 190px; width: 100%; object-fit: cover; background: #e8f1fa; }
.product-card h3 { font-size: 17px; color: var(--wc-navy); margin: 0; padding: 18px 18px 20px; }

/* ==========================================================================
   8. WHY CHOOSE US
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item { padding: 25px; border-radius: 14px; background: #fff; border: 1px solid var(--wc-line); }
.why-item h3 { margin: 0 0 8px; color: var(--wc-navy); font-size: 17px; }
.why-item p { margin: 0; color: var(--wc-muted); font-size: 14px; }

/* ==========================================================================
   9. CORE VALUES (Dark Theme)
   ========================================================================== */
.section-dark { background: #081b33; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
    background: #112a46; border-radius: 12px; padding: 25px 20px; text-align: center;
    border: 1px solid #1e3e62; transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column; align-items: center;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,168,232,0.15); border-color: var(--wc-blue2); }
.value-icon { font-size: 32px; margin-bottom: 15px; color: #fff; height: 40px; display: flex; align-items: center; justify-content: center; }
.value-icon img { width: 40px; height: 40px; object-fit: contain; }
.value-card h3 { color: var(--wc-blue2); font-size: 18px; margin: 0 0 12px; font-weight: 700; }
.value-card p { color: #b0c4de; font-size: 13px; line-height: 1.6; margin: 0; text-align: justify; }

/* ==========================================================================
   10. TEAM MEMBERS
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.team-member {
    background: #fff; border: 1px solid var(--wc-line); border-top: 4px solid var(--wc-blue2);
    border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s;
}
.team-member:hover { transform: translateY(-5px); box-shadow: var(--wc-shadow); }
.team-text-content h3 { margin: 0 0 5px; font-size: 22px; color: var(--wc-navy); font-weight: 700; }
.team-role { color: var(--wc-blue2) !important; font-size: 13px !important; font-weight: 700 !important; margin: 0 0 15px !important; text-transform: uppercase; }
.team-bio { color: var(--wc-muted); font-size: 14px; line-height: 1.6; text-align: justify; }
.team-bio p { margin-bottom: 15px; }

/* ==========================================================================
   11. CONTACT & MAP SECTION
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 45px; }
.contact-info { background: var(--wc-navy); color: #fff; border-radius: 18px; padding: 34px; }
.contact-info h2 { color: #fff; margin: 0 0 12px; font-size: 30px; }
.contact-line { padding: 17px 0; border-top: 1px solid #ffffff24; }
.contact-line strong { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #90d0ff; margin-bottom: 4px; }
.contact-line a, .contact-line span { color: #fff; }

.contact-form { border: 1px solid var(--wc-line); border-radius: 18px; padding: 32px; background: #fff; box-shadow: var(--wc-shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 750; color: #29435f; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 13px 14px; border: 1px solid #d8e4f0; border-radius: 8px; background: #fbfdff; outline: none;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--wc-blue2); box-shadow: 0 0 0 3px #25b5dc15; }
.form-field textarea { min-height: 115px; resize: vertical; }
.form-field input[type="file"] { padding: 10px; background: #f4f8fc; border: 1px dashed var(--wc-blue2); cursor: pointer; }

/* Google Map Full Width Fix */
.map-section { width: 100%; height: 450px; line-height: 0; overflow: hidden; }
.map-section iframe { width: 100% !important; height: 100% !important; display: block; border: 0; }

/* ==========================================================================
   12. CAREER ACCORDION & JOB LISTINGS
   ========================================================================== */
.wce-accordion-wrapper { max-width: 1000px; margin: 0 auto; padding: 20px 0; }
.wce-accordion { border: 1px solid #e0e0e0; background: #fff; }
.wce-acc-item { border-bottom: 1px solid #e0e0e0; }
.wce-acc-header {
    width: 100%; text-align: left; background: #fff; border: none; padding: 20px 25px;
    font-size: 16px; font-weight: 700; color: var(--wc-navy); cursor: pointer;
    display: flex; align-items: center; gap: 15px; transition: background 0.3s;
}
.wce-acc-header:hover { background: #f8fbff; }
.wce-acc-icon {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--wc-blue); color: #fff; font-size: 16px; font-weight: bold;
}
.wce-acc-content { display: none; padding: 0 25px 20px 62px; font-size: 15px; color: var(--wc-muted); line-height: 1.7; }
.wce-acc-item.active .wce-acc-header { color: var(--wc-blue2); background: #f4f8fc; }
.wce-acc-item.active .wce-acc-icon { background: transparent; color: var(--wc-blue2); border: 2px solid var(--wc-blue2); }

.job-listings h3 { background: var(--wc-navy); color: #fff; padding: 15px 20px; border-radius: 8px 8px 0 0; margin: 30px 0 0; font-size: 20px; }
.job-listings p { background: #fff; padding: 20px; margin: 0 0 20px; border: 1px solid var(--wc-line); border-top: none; border-radius: 0 0 8px 8px; }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer { background: #041c37; color: #d5e3f3; padding: 55px 0 0; flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 40px; }
.footer-grid h3 { color: #fff; font-size: 15px; margin: 0 0 17px; }
.footer-grid p, .footer-grid li { font-size: 13px; color: #b8cbe0; }
.footer-grid ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: #c9d9ea; }
.footer-grid a:hover { color: var(--wc-blue2); }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); color: #a9bfd5;
    border: 1px solid rgba(255,255,255,0.1); transition: 0.3s;
}
.footer-socials a:hover { background: var(--wc-blue2); color: #fff; transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid #ffffff1b; padding: 17px 0; font-size: 12px; color: #a9bfd5; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; align-items: center; }
.legal-links { display: flex; gap: 15px; flex-wrap: wrap; }
.legal-links a { color: #a9bfd5; font-size: 12px; }
.legal-links a:hover { color: var(--wc-blue2); }

/* ==========================================================================
   14. FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 100;
    background: #16a765; color: #fff; border-radius: 999px;
    padding: 13px 18px; font-weight: 800; box-shadow: 0 8px 24px #0002;
}
.whatsapp-float:hover { color: #fff; background: #118653; }

/* ==========================================================================
   15. MOBILE & RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 30px, 1180px); }
    
    /* Mobile Topbar */
    .topbar-inner { display: none; }
    .mobile-topbar { display: block; text-align: center; padding: 8px 0; background: var(--wc-navy); color: #fff; }
    .mobile-topbar a { color: #fff; font-weight: bold; font-size: 14px; text-decoration: none; }

    /* Header */
    .header-inner { min-height: 70px; }
    .header-cta { display: none; }
    
    /* Mobile Menu Button */
    .menu-toggle {
        display: flex; align-items: center; gap: 8px;
        background: #f4f8fc; border: 1px solid var(--wc-line);
        border-radius: 6px; padding: 8px 15px; color: var(--wc-navy);
        font-weight: bold; font-size: 14px; cursor: pointer;
    }

    /* Mobile Menu Dropdown */
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 999;
        border-top: 1px solid var(--wc-line);
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li { width: 100%; border-bottom: 1px solid var(--wc-line); }
    .main-nav a { display: block; padding: 15px 20px; font-size: 16px; }

    /* Sections Layout */
    .hero { min-height: 570px; }
    .hero-content { padding: 75px 0; }
    .section { padding: 62px 0; }
    
    .services-grid, .product-grid, .why-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
    .service-image { height: 220px; }
    
    .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .split-visual { min-height: 320px; height: 320px; }
    
    .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .legal-links { justify-content: center; }
    
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full { grid-column: auto; }
    
    .whatsapp-float { right: 12px; bottom: 12px; padding: 11px 14px; font-size: 13px; }
}

@media (max-width: 430px) {
    .hero-actions .btn { width: 100%; }
}