/* ==============================================
   WESTERN CAPITAL LIMITED — SHARED THEME CSS
   Used across all pages
   ============================================== */

/* ---- VARIABLES ---- */
:root {
    --green-dark:    #0a2e0a;
    --green-mid:     #1a5c1a;
    --green-primary: #2d8c2d;
    --green-accent:  #4caf50;
    --ash-green:     #6b9e6b;
    --ash-light:     #a8c5a8;
    --ash-bg:        #e8f0e8;
    --ash-section:   #f0f5f0;
    --white:         #ffffff;
    --dark:          #0d1a0d;
    --text-dark:     #1a2e1a;
    --text-mid:      #4a6b4a;
    --gold:          #c9a227;
    --gradient-card: linear-gradient(135deg, #0d2b0d 0%, #1a5c1a 100%);
    --gradient-btn:  linear-gradient(135deg, #2d8c2d, #4caf50);
    --shadow-green:  0 8px 32px rgba(45,140,45,0.25);
    --shadow-card:   0 4px 24px rgba(10,46,10,0.18);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--ash-section);
    color: var(--text-dark);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- LAYOUT ---- */
.section-pad    { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ---- SECTION TITLE ---- */
.section-title { text-align: center; margin-bottom: 55px; }
.section-title .tag {
    display: inline-block;
    font-size: 13px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--green-accent); margin-bottom: 10px;
}
.section-title h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800; color: var(--green-dark);
    margin-bottom: 14px; line-height: 1.2;
}
.section-title p {
    font-size: 15px; color: var(--text-mid);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.divider {
    width: 55px; height: 4px;
    background: var(--gradient-btn);
    border-radius: 2px; margin: 0 auto 18px;
}

/* ---- NAVBAR ---- */
.navbar-wcl {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 16px 0;
    transition: all 0.4s ease; background: transparent;
}
.navbar-wcl.scrolled {
    background: rgba(10,46,10,0.97);
    padding: 11px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.navbar-wcl.solid { background: rgba(10,46,10,0.97); }
.navbar-wcl .brand { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.navbar-wcl .brand span { color: var(--green-accent); }
.navbar-wcl .nav-link-wcl {
    color: rgba(255,255,255,0.88) !important;
    font-size: 14px; font-weight: 500;
    padding: 8px 13px !important; transition: color 0.3s;
    position: relative;
}
.navbar-wcl .nav-link-wcl:hover,
.navbar-wcl .nav-link-wcl.active { color: var(--green-accent) !important; }
.navbar-wcl .nav-link-wcl::after {
    content: ''; position: absolute;
    bottom: 2px; left: 13px; width: 0; height: 2px;
    background: var(--green-accent); transition: width 0.3s;
}
.navbar-wcl .nav-link-wcl:hover::after { width: calc(100% - 26px); }
.btn-nav-register {
    background: var(--gradient-btn); color: #fff !important;
    border-radius: 25px; padding: 8px 20px !important;
    font-weight: 600; box-shadow: 0 4px 15px rgba(76,175,80,0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-nav-register:hover::after { display: none; }
.btn-nav-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(76,175,80,0.5); }
.dropdown-menu-wcl {
    background: rgba(10,46,10,0.97);
    border: 1px solid rgba(76,175,80,0.2);
    border-radius: 10px; padding: 8px 0; min-width: 200px;
}
.dropdown-menu-wcl .dropdown-item {
    color: rgba(255,255,255,0.85); font-size: 13px;
    padding: 8px 20px; transition: background 0.2s, color 0.2s;
}
.dropdown-menu-wcl .dropdown-item:hover {
    background: rgba(76,175,80,0.15); color: var(--green-accent);
}
.navbar-toggler-wcl {
    border: 2px solid rgba(76,175,80,0.5); border-radius: 8px;
    padding: 6px 10px; background: none; cursor: pointer;
}
.navbar-toggler-wcl span {
    display: block; width: 22px; height: 2px;
    background: #fff; margin: 4px 0; transition: all 0.3s;
}

/* ---- PAGE HERO BANNER ---- */
.page-hero {
    background: var(--gradient-card);
    padding: 130px 0 70px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute;
    top: -80px; right: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero::after {
    content: ''; position: absolute;
    bottom: -60px; left: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(76,175,80,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800; color: #fff;
    margin-bottom: 10px;
}
.page-hero p { font-size: 15px; color: var(--ash-light); }
.breadcrumb-wcl {
    display: flex; align-items: center; gap: 8px;
    list-style: none; padding: 0; margin-top: 16px;
}
.breadcrumb-wcl li { font-size: 13px; color: rgba(255,255,255,0.5); }
.breadcrumb-wcl li a { color: var(--green-accent); font-weight: 500; }
.breadcrumb-wcl li + li::before { content: '/'; margin-right: 8px; }

/* ---- BUTTONS ---- */
.btn-primary-wcl {
    background: var(--gradient-btn); color: #fff;
    border: none; border-radius: 50px;
    padding: 13px 32px; font-size: 14px; font-weight: 700;
    letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s;
    box-shadow: var(--shadow-green);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-wcl:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(76,175,80,0.45); color: #fff;
}
.btn-outline-wcl {
    background: transparent; color: var(--green-dark);
    border: 2px solid var(--ash-green); border-radius: 50px;
    padding: 11px 32px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-wcl:hover {
    border-color: var(--green-accent); color: var(--green-accent);
    background: rgba(76,175,80,0.06);
}

/* ---- CARDS ---- */
.content-card {
    background: #fff; border-radius: 16px;
    padding: 36px; box-shadow: var(--shadow-card);
    transition: all 0.3s; height: 100%;
}
.content-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(45,140,45,0.15); }
.feature-icon {
    width: 54px; height: 54px; border-radius: 14px;
    background: rgba(76,175,80,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--green-accent); margin-bottom: 18px;
}

/* ---- FAQ ---- */
.faq-item {
    background: #fff; border-radius: 12px; margin-bottom: 12px;
    overflow: hidden; border: 1px solid rgba(107,158,107,0.2);
}
.faq-question {
    padding: 18px 24px; font-size: 15px; font-weight: 600;
    color: var(--green-dark); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s;
}
.faq-question:hover { background: rgba(76,175,80,0.06); }
.faq-question.active { background: var(--gradient-card); color: #fff; }
.faq-question .faq-icon { transition: transform 0.3s; }
.faq-question.active .faq-icon { transform: rotate(45deg); color: var(--green-accent); }
.faq-answer {
    padding: 0 24px; font-size: 14px; color: var(--text-mid);
    line-height: 1.7; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}
.faq-answer.open { max-height: 300px; padding: 16px 24px; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed; left: 20px; bottom: 100px; z-index: 999;
    display: flex; align-items: center; gap: 10px;
    background: #25D366; color: #fff;
    border-radius: 50px; padding: 12px 18px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    font-size: 14px; font-weight: 700;
    transition: all 0.3s; overflow: hidden;
    max-width: 56px;
}
.whatsapp-float:hover { max-width: 230px; color: #fff; }
.whatsapp-float .wa-icon { font-size: 24px; flex-shrink: 0; }
.whatsapp-float .wa-text { white-space: nowrap; opacity: 0; transition: opacity 0.3s 0.1s; }
.whatsapp-float:hover .wa-text { opacity: 1; }
.wa-pulse {
    position: absolute; top: -2px; right: -2px;
    width: 12px; height: 12px; background: #ff4444;
    border-radius: 50%; animation: wa-ping 2s ease-in-out infinite;
}
@keyframes wa-ping {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* ---- SCROLL TOP ---- */
.scroll-top {
    position: fixed; right: 24px; bottom: 24px;
    width: 44px; height: 44px; background: var(--gradient-btn);
    color: #fff; border: none; border-radius: 12px;
    font-size: 16px; cursor: pointer;
    display: none; align-items: center; justify-content: center;
    z-index: 999; box-shadow: var(--shadow-green); transition: transform 0.3s;
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* ---- FOOTER ---- */
footer {
    background: var(--dark);
    padding: 70px 0 30px;
}
footer .brand { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 14px; }
footer .brand span { color: var(--green-accent); }
footer .footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
footer h5.footer-heading {
    font-size: 15px; font-weight: 700; color: #fff;
    margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
footer h5.footer-heading::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 28px; height: 2px; background: var(--green-accent); border-radius: 1px;
}
footer ul.footer-links { list-style: none; padding: 0; }
footer ul.footer-links li { margin-bottom: 10px; }
footer ul.footer-links li a {
    font-size: 14px; color: rgba(255,255,255,0.5);
    transition: color 0.3s; display: flex; align-items: center; gap: 6px;
}
footer ul.footer-links li a:hover { color: var(--green-accent); }
footer ul.footer-links li a::before { content: '›'; color: var(--green-accent); }
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 38px; height: 38px; background: rgba(255,255,255,0.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65); font-size: 14px; transition: all 0.3s;
}
.social-link:hover { background: var(--green-accent); color: #fff; transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 50px; padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.35); font-size: 13px; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--green-accent); }

/* ---- PAGE LOADER ---- */
.page-loader {
    position: fixed; inset: 0; background: var(--green-dark);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-size: 24px; font-weight: 900; color: #fff; animation: loader-pulse 1.2s ease-in-out infinite; }
.loader-logo span { color: var(--green-accent); }
@keyframes loader-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.97); }
}
.loader-bar { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--gradient-btn); animation: loader-bar 1.8s ease-in-out infinite; }
@keyframes loader-bar { 0% { width: 0; } 100% { width: 100%; } }

/* ---- PROSE CONTENT ---- */
.prose h3 { font-size: 22px; font-weight: 700; color: var(--green-dark); margin: 30px 0 12px; }
.prose p  { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose ul li { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }

/* ---- SERVICE CONTENT BOX ---- */
.service-content-box {
    background: #fff; border-radius: 20px;
    padding: 50px; box-shadow: var(--shadow-card);
}
.service-img {
    border-radius: 16px; width: 100%;
    height: 380px; object-fit: cover;
    box-shadow: 0 12px 40px rgba(10,46,10,0.15);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .page-hero { padding: 110px 0 55px; }
    #navLinks {
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(10,46,10,0.98); padding: 20px;
        backdrop-filter: blur(10px);
    }
    #navLinks ul { flex-direction: column !important; gap: 4px !important; }
    .dropdown-menu-wcl { position: static !important; }
    .service-content-box { padding: 30px 24px; }
}
@media (max-width: 767px) {
    .section-pad { padding: 60px 0; }
    .whatsapp-float { max-width: 230px; }
    .whatsapp-float .wa-text { opacity: 1; }
}
