/* ===== VARIABLES ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --dark-theme: #1e293b;
    --light-bg: #f8fafc;
    --text-color: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success-color: #16a34a;
    --white: #ffffff;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== BASE ===== */
* { box-sizing: border-box; }

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-theme);
}

a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

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

/* ===== TOP BAR ===== */
.top-bar {
    padding: 6px 0px 10px;
    min-height: 50px;
    background: #fdc811;
    background: #fdc811 url(../images/webb.jpg) repeat;
    border-bottom: 4px #f1f1f1 solid;
    background-blend-mode: multiply;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #2956a6 !important;
    padding: 12px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.navbar .brand-logo {
    height: auto;
    display: block;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.2s;
}

.navbar .nav-link:hover {
    color: #fff !important;
}

.navbar .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
}

.navbar .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--dark-theme) 0%, var(--secondary-color) 100%);
    padding: 80px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.03);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-section h1 .lighter {
    font-weight: 400;
    opacity: 0.9;
}

.hero-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.hero-cta-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}

/* ===== SECTIONS ===== */
.section-padding { padding: 80px 0; }
.section-bg-light { background: var(--light-bg); }

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-theme);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
}

.content-text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* ===== CARDS ===== */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-card .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== PROJECT CARDS ===== */
.project-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    background: var(--white);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card .card-body {
    padding: 20px;
}

.project-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-card .card-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== REVIEW CARDS ===== */
.review-card-front {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    height: 100%;
}

.review-card-front .stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-card-front .review-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-card-front .reviewer-name {
    font-weight: 700;
    color: var(--dark-theme);
}

.review-card-front .review-source {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 24px;
}

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

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 24px;
}

/* ===== FAQ SECTION ===== */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 24px;
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--light-bg);
    color: var(--primary-color);
}

.faq-item .accordion-body {
    padding: 16px 24px 24px;
    color: var(--text-color);
    line-height: 1.7;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark-theme) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ===== FOOTER ===== */
.footer-top-bar {
    padding: 0;
    min-height: 12px;
    background: #fdc811;
    background: #fdc811 url(../images/webb.jpg) repeat;
    background-blend-mode: multiply;
}

.site-footer {
    background: #2956a6 !important;
    color: #fff;
    padding: 60px 0 30px;
}

.site-footer .footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.site-footer .footer-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.site-footer .footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
}

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

.site-footer .footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.site-footer .footer-links a:hover {
    color: #fff;
}

.site-footer .footer-contact {
    list-style: none;
    padding: 0;
}

.site-footer .footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.site-footer .footer-contact svg {
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.site-footer .social-links {
    display: flex;
    gap: 10px;
}

.site-footer .social-links a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.2s;
}

.site-footer .social-links a:hover {
    background: var(--primary-color);
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}

.site-footer .footer-bottom a {
    color: rgba(255,255,255,0.85);
}

.site-footer .footer-bottom a:hover {
    color: #fff;
}

/* ===== CHECK LIST ===== */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
}

.check-list li span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15rem;
}

/* ===== KAREN LANGUAGE ===== */
.karen h1 { font-size: 4em!important; font-family: Ka!important; }
.karen h2 { font-size: 3.25em!important; font-family: Ka!important; }
.karen h3 { font-size: 3em!important; font-family: Ka!important; }
.karen h4 { font-size: 2.5em!important; font-family: Ka!important; }
.karen p { font-size: 1.80em!important; font-family: Ka!important; }
.karen ul { font-size: 1.80em!important; font-family: Ka!important; }
.karen span { font-family: Ka!important; }
.karen-text { font-family: Ka!important; font-size: 1.4em; line-height: 1.6; }

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}
.lang-toggle:hover { background: rgba(255,255,255,0.2); }
.lang-toggle .toggle-indicator {
    width: 32px; height: 18px;
    border-radius: 9px;
    background: #22c55e;
    position: relative;
    transition: background 0.2s;
}
.lang-toggle .toggle-indicator::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
    transform: translateX(14px);
}
.lang-toggle.karen-off .toggle-indicator { background: #888; }
.lang-toggle.karen-off .toggle-indicator::after { transform: translateX(0); }

body.hide-karen .karen { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-section { padding: 60px 0 60px; }
    .hero-section h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .page-header { padding: 40px 0; }
    .page-header h1 { font-size: 2rem; }
}

@media (max-width: 575.98px) {
    .hero-section h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
}
