:root {
    --primary: #0d2b5e;
    --primary-dark: #091e42;
    --accent: #f97316;
    --accent-dark: #ea6c0a;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(13,43,94,.08);
    --shadow-hover: 0 8px 32px rgba(13,43,94,.16);
    --radius: 12px;
}

/* ── Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); line-height: 1.65; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.section-py { padding: 80px 0; }
.section-py-sm { padding: 48px 0; }

/* ── Typography ───────────────────────────────── */
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 3rem; }
.badge-label {
    display: inline-block;
    background: rgba(249,115,22,.1);
    color: var(--accent);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* ── Navbar ───────────────────────────────────── */
.navbar-main {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.navbar-brand-img { height: 48px; }
.navbar-main .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 1.25rem 1rem !important;
    position: relative;
    transition: color .2s;
}
.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform .25s;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active { color: var(--primary) !important; }
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after { transform: scaleX(1); }
.navbar-cta {
    background: var(--accent);
    color: var(--white) !important;
    border-radius: 8px;
    padding: .55rem 1.4rem !important;
    margin-left: .5rem;
    font-weight: 600;
}
.navbar-cta::after { display: none !important; }
.navbar-cta:hover { background: var(--accent-dark); color: var(--white) !important; }

/* Top bar */
.topbar {
    background: var(--primary);
    color: rgba(255,255,255,.75);
    font-size: .82rem;
    padding: 6px 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-icon { color: var(--accent); margin-right: 4px; }

/* ── Hero / Slider ────────────────────────────── */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
    min-height: 580px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a4a8a 100%);
    display: flex;
    align-items: center;
    position: relative;
}
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(5,20,50,.82) 0%, rgba(5,20,50,.60) 40%, rgba(5,20,50,.15) 65%, transparent 100%);
    z-index: 1;
}
.hero-slide-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-text-box {
    padding: 2.25rem 2.5rem;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.95);
    margin-bottom: 2rem;
    max-width: 520px;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.btn-hero {
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    padding: .75rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    transition: all .25s;
    display: inline-block;
}
.btn-hero:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.4); }
.btn-hero-outline {
    border: 2px solid rgba(255,255,255,.6);
    color: var(--white);
    font-weight: 600;
    padding: .7rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: all .25s;
    display: inline-block;
}
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.slider-controls button {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    transition: all .2s;
    z-index: 10;
}
.slider-controls button:hover { background: var(--accent); border-color: var(--accent); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ── Service Cards ────────────────────────────── */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary), #1a4a8a);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.service-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 1rem; }
.service-link { color: var(--accent); font-weight: 600; font-size: .9rem; }
.service-link i { transition: transform .2s; }
.service-card:hover .service-link i { transform: translateX(4px); }

/* ── Stats ────────────────────────────────────── */
.stats-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.stat-item { text-align: center; }
.stat-num { font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: .25rem; }

/* ── Why Us ───────────────────────────────────── */
.why-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all .3s;
    background: var(--white);
}
.why-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.why-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: rgba(13,43,94,.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}
.why-card h5 { font-weight: 700; color: var(--primary); margin-bottom: .25rem; font-size: 1rem; }
.why-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── Testimonials ─────────────────────────────── */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
}
.stars { color: #f59e0b; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--text-muted); margin: 1rem 0; font-size: .95rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.testimonial-avatar-placeholder {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #1a4a8a);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--primary); }
.testimonial-pos { font-size: .8rem; color: var(--text-muted); }

/* ── Blog Cards ───────────────────────────────── */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.blog-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), #1a4a8a);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: 3rem;
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem; flex: 1; }
.blog-excerpt { font-size: .9rem; color: var(--text-muted); }
.read-more { color: var(--accent); font-weight: 600; font-size: .9rem; margin-top: 1rem; }

/* ── FAQ ──────────────────────────────────────── */
.faq-item .accordion-button {
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    border-radius: var(--radius) !important;
}
.faq-item .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(249,115,22,.04);
    box-shadow: none;
}
.faq-item .accordion-button::after { filter: invert(30%) sepia(80%) saturate(500%) hue-rotate(340deg); }
.faq-item .accordion-button:not(.collapsed)::after { filter: invert(50%) sepia(80%) saturate(500%) hue-rotate(340deg); }
.faq-item .accordion-body { color: var(--text-muted); line-height: 1.7; }

/* ── Contact ──────────────────────────────────── */
.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--white);
}
.contact-info-card h4 { color: var(--white); margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-info-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-info-text { font-size: .9rem; color: rgba(255,255,255,.75); }
.contact-info-text strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: 2px; }
.social-links-white { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social-links-white a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: all .2s;
}
.social-links-white a:hover { background: var(--accent); color: var(--white); }
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.form-card .form-control,
.form-card .form-select {
    border-radius: 8px;
    border: 1.5px solid var(--border);
    padding: .65rem 1rem;
    font-size: .95rem;
    transition: border-color .2s;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,43,94,.08);
}
.form-card label { font-weight: 600; font-size: .88rem; color: var(--text); margin-bottom: .35rem; }
.btn-primary-main {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: .75rem 2rem;
    border-radius: 8px;
    border: none;
    transition: all .25s;
    font-size: 1rem;
}
.btn-primary-main:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-accent {
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    padding: .75rem 2rem;
    border-radius: 8px;
    border: none;
    transition: all .25s;
}
.btn-accent:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }

/* ── Partners ─────────────────────────────────── */
.partners-section { background: var(--bg-light); }
.partner-logo {
    display: flex; align-items: center; justify-content: center;
    padding: 1rem 1.5rem;
    filter: grayscale(100%);
    opacity: .6;
    transition: all .3s;
}
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }
.partner-logo img { height: 48px; object-fit: contain; }

/* ── CTA Section ──────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: .5;
}
.cta-section .cta-content { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); font-weight: 800; }
.cta-section p { color: rgba(255,255,255,.85); }

/* ── Page Hero ────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: .5rem; }
.breadcrumb-hero .breadcrumb-item { color: rgba(255,255,255,.6); font-size: .9rem; }
.breadcrumb-hero .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.breadcrumb-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.breadcrumb-hero a { color: rgba(255,255,255,.75); }
.breadcrumb-hero a:hover { color: var(--accent); }

/* ── Footer ───────────────────────────────────── */
.footer-main {
    background: var(--primary-dark);
    color: rgba(255,255,255,.7);
}
.footer-top { padding: 64px 0 40px; }
.footer-logo { height: 48px; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.footer-desc { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-title { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: .03em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-links a::before { content: '›'; margin-right: 6px; color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .75rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: all .2s;
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0;
    font-size: .83rem;
    color: rgba(255,255,255,.4);
}

/* ── Buttons ──────────────────────────────────── */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: .6rem 1.5rem !important;
}
.btn-primary:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.btn-outline-primary:hover { background: var(--primary) !important; color: #fff !important; }

/* ── Team ─────────────────────────────────────── */
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    transition: all .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-photo { height: 240px; object-fit: cover; width: 100%; }
.team-body { padding: 1.5rem; }
.team-name { font-weight: 700; color: var(--primary); font-size: 1.05rem; margin-bottom: .25rem; }
.team-pos { color: var(--accent); font-size: .88rem; margin-bottom: .75rem; }
.team-bio { font-size: .88rem; color: var(--text-muted); }

/* ── Blog Detail ──────────────────────────────── */
.article-body h2, .article-body h3 { color: var(--primary); margin-top: 2rem; }
.article-body p { margin-bottom: 1.25rem; color: var(--text); line-height: 1.8; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-body ul, .article-body ol { padding-left: 1.5rem; }
.article-body li { margin-bottom: .4rem; }

/* ── Alert / Flash ────────────────────────────── */
.alert { border-radius: var(--radius); border: none; }
.alert-success { background: rgba(22,163,74,.1); color: #166534; }
.alert-danger { background: rgba(220,38,38,.1); color: #991b1b; }

/* ── Misc ─────────────────────────────────────── */
.whatsapp-fab {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 999;
    transition: all .25s;
}
.whatsapp-fab:hover { transform: scale(1.1); background: #22c55e; color: #fff; }

/* ── Cookie Banner ────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #1a3a6b;
    color: #fff;
    padding: 14px 0;
    z-index: 1060;
    box-shadow: 0 -4px 20px rgba(0,0,0,.18);
}
.cookie-banner p  { margin: 0; font-size: 14px; }
.cookie-banner a  { color: #f59e0b; text-decoration: underline; }

/* ── Legal Pages ──────────────────────────────── */
.legal-section { padding: 56px 0; }
.legal-section h1 { font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.legal-section h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 28px 0 10px; }
.legal-section p, .legal-section li { font-size: 15px; color: #444; line-height: 1.8; }
.legal-section ul { padding-left: 1.4rem; }
.legal-date { font-size: 13px; color: #888; margin-bottom: 32px; }

@media (max-width: 768px) {
    .section-py { padding: 56px 0; }
    .hero-slide { min-height: 420px; }
    .stat-num { font-size: 2.2rem; }
    .footer-top { padding: 48px 0 32px; }
}
