﻿/* ═══════════════════════════════════════════════════════════════════════════
   RUBANSOFTWARES — SHARED STYLESHEET
   Covers: frontend.html (corporate site) + admin.html (dashboard)

   Sections:
     1.  CSS Variables
     2.  Base Reset
     3.  Shared Utilities & Helpers
     4.  Shared Form Elements
     5.  Shared Accordion
     6.  Shared Dropdown (admin-scoped overrides)
     7.  Shared Scrollbar
     8.  CORPORATE FRONTEND  (.site-topbar, .navbar-main, .hero-*, .fe-*, etc.)
     9.  ADMIN PANEL         (.sidebar, .topbar, .stat-card, .admin-navbar, etc.)
   ═══════════════════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════
   1. CSS VARIABLES
   ══════════════════════════════════════════════════ */
:root {
    /* Brand colours */
    --primary:        #e69829;
    --primary-dark:   #cb7c11;
    --primary-light:  #fff1dd;
    --accent:         #102b45;
    --accent-soft:    #e7eef6;

    /* Text */
    --text-dark:  #1f2937;
    --text-muted: #6b7280;

    /* Surface */
    --white:  #ffffff;
    --bg:     #f4f6f9;
    --border: #e5e7eb;

    /* Elevation */
    --shadow:    0 2px 16px rgba(16, 43, 69, .09);
    --shadow-md: 0 4px 24px rgba(16, 43, 69, .12);

    /* Shape & Motion */
    --radius:     10px;
    --transition: all 0.3s ease;

    /* Status */
    --success: #22c55e;
    --danger:  #ef4444;
    --warning: #f59e0b;
    --info:    #3b82f6;

    /* Admin layout (safe to define globally, unused by frontend) */
    --sidebar-w:         260px;
    --sidebar-collapsed: 72px;
    --topbar-h:          62px;

    /* ───────────────────────────────────────────────
       DESIGN-SYSTEM SCALE LAYER  (added 2026-06-17)
       Additive only — existing tokens above unchanged.
       Spec-named aliases map onto the established palette
       so new + legacy class names resolve to one source.
       ─────────────────────────────────────────────── */

    /* Semantic colour aliases (brief naming) */
    --secondary:      var(--accent);     /* dark navy as the secondary brand */
    --surface:        var(--white);
    --surface-hover:  #f9fafb;
    --bg-light:       #f9fafb;            /* was referenced site-wide but never defined — fixes latent transparent-bg bug */
    --text:           var(--text-dark);
    /* Accessible amber for TEXT on light surfaces — #e69829 on white is only
       ~2.2:1 (fails WCAG AA). This darker shade is ~5.5:1. Use for amber text/
       links on white; keep --primary for fills, badges and text on dark navy. */
    --primary-text:   #9a5a00;
    /* --bg, --border, --text-muted, --primary, --primary-dark,
       --success, --warning, --danger, --info already defined above */

    /* Spacing scale (4px base) */
    --space-xs:   0.25rem;   /*  4px */
    --space-sm:   0.5rem;    /*  8px */
    --space-md:   1rem;      /* 16px */
    --space-lg:   1.5rem;    /* 24px */
    --space-xl:   2.5rem;    /* 40px */
    --space-2xl:  4rem;      /* 64px */

    /* Radius scale (legacy --radius kept = md) */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-pill: 50px;

    /* Shadow scale (legacy --shadow / --shadow-md kept above) */
    --shadow-sm:  0 1px 3px rgba(16, 43, 69, .06), 0 1px 2px rgba(16, 43, 69, .08);
    --shadow-lg:  0 12px 40px rgba(16, 43, 69, .16);

    /* Typography scale — fluid, mobile-responsive via clamp() */
    --text-display: clamp(2.4rem, 5vw,  3.6rem);
    --text-h1:      clamp(2rem,   4vw,  2.8rem);
    --text-h2:      clamp(1.6rem, 3vw,  2.2rem);
    --text-h3:      clamp(1.3rem, 2.2vw, 1.7rem);
    --text-h4:      clamp(1.1rem, 1.6vw, 1.3rem);
    --text-h5:      1.1rem;
    --text-lg:      1.125rem;   /* body large */
    --text-body:    1rem;
    --text-sm:      0.875rem;
    --text-caption: 0.78rem;

    /* Line-heights */
    --leading-tight: 1.2;
    --leading-snug:  1.4;
    --leading-normal:1.6;
    --leading-relaxed:1.8;
}


/* ══════════════════════════════════════════════════
   2. BASE RESET
   ══════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Page-level backgrounds — scoped by body class added per file */
body.frontend-page { background: var(--white); display: flex; flex-direction: column; min-height: 100vh; }
body.admin-page    { background: var(--bg); }

/* Sticky-footer layout (frontend only) */
body.frontend-page main  { flex: 1; flex-shrink: 0; }
body.frontend-page footer { flex-shrink: 0; }


/* ══════════════════════════════════════════════════
   3. SHARED UTILITIES & HELPERS
   ══════════════════════════════════════════════════ */

/* ── Section heading helpers (frontend primary use, harmless in admin) ── */
.section-label {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--primary-text);
    margin-bottom: .5rem; display: block;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800;
    color: var(--accent); line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }

.divider { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin: 1rem 0; }
.divider-center { margin: 1rem auto; }

/* ── Buttons ── */

/* Base — shared across both pages */
.btn-primary-custom {
    background: var(--primary); color: var(--accent);
    border: none; font-weight: 700; transition: var(--transition);
}
.btn-primary-custom:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Frontend: pill shape */
body.frontend-page .btn-primary-custom { border-radius: 50px; padding: .65rem 1.8rem; }

/* Admin: box shape */
body.admin-page .btn-primary-custom { border-radius: 8px; }

.btn-accent {
    background: var(--accent); color: #fff;
    border: none; font-weight: 700; border-radius: 8px;
}
.btn-accent:hover { background: #0a1c2d; color: #fff; }

/* ── Colour helpers ── */
.text-primary-c  { color: var(--primary) !important; }
.text-accent     { color: var(--accent)  !important; }
.bg-primary-c    { background: var(--primary) !important; }

/* ── Badge helpers ── */
.badge-primary   { background: var(--primary-light); color: var(--primary-text); font-size: .75rem; font-weight: 700; }
.badge-primary-c { background: var(--primary-light); color: var(--primary-text); font-weight: 700; }
.badge-accent    { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.pill-tag        { background: var(--primary-light); color: var(--primary-text); font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; }

/* ── Floating card (used in frontend About section) ── */
.floating-card { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow); }

/* ── Awards ribbon ── */
.awards-ribbon { background: var(--primary); color: var(--accent); font-size: .7rem; font-weight: 800; padding: .2rem .6rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }


/* ══════════════════════════════════════════════════
   4. SHARED FORM ELEMENTS
   ══════════════════════════════════════════════════ */
.form-control,
.form-select {
    border: 1.5px solid var(--border); border-radius: var(--radius);
    padding: .75rem 1rem; font-size: .93rem; transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 152, 41, .15);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--accent); margin-bottom: .4rem; }

/* Admin toggle override */
.form-switch .form-check-input { width: 2.4em; height: 1.2em; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }


/* ══════════════════════════════════════════════════
   5. SHARED ACCORDION (used in frontend FAQ)
   ══════════════════════════════════════════════════ */
.accordion-item {
    border: 1px solid var(--border); border-radius: var(--radius) !important;
    margin-bottom: .8rem; overflow: hidden;
}
.accordion-button { font-weight: 600; color: var(--accent); background: #fff; font-size: .95rem; }
.accordion-button:not(.collapsed) { background: var(--primary-light); color: var(--accent); box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: invert(60%) sepia(80%) saturate(500%) hue-rotate(10deg); }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(230, 152, 41, .25); }
.accordion-body { color: var(--text-muted); font-size: .93rem; line-height: 1.7; }


/* ══════════════════════════════════════════════════
   6. SHARED DROPDOWN BASE
   (Admin page overrides below in Section 9 for scoped admin menus)
   ══════════════════════════════════════════════════ */
body.admin-page .dropdown-menu {
    border: 1px solid var(--border); box-shadow: var(--shadow-md);
    border-radius: var(--radius); font-size: .88rem;
}
body.admin-page .dropdown-item {
    padding: .55rem 1rem; color: var(--text-dark);
    display: flex; align-items: center; gap: .65rem;
}
body.admin-page .dropdown-item:hover { background: var(--accent-soft); color: var(--accent); }
body.admin-page .dropdown-item i { font-size: 1rem; color: var(--text-muted); }


/* ══════════════════════════════════════════════════
   7. SHARED SCROLLBAR
   ══════════════════════════════════════════════════ */
::-webkit-scrollbar          { width: 6px; height: 6px; }
::-webkit-scrollbar-track    { background: transparent; }
::-webkit-scrollbar-thumb    { background: var(--border); border-radius: 3px; }


/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  8. CORPORATE FRONTEND                                               ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

/* ── SITE TOP BAR (announcement / ticker strip) ── */
.site-topbar {
    background: var(--accent); color: #fff;
    font-size: .82rem; padding: .38rem 0;
    border-bottom: 2px solid var(--primary);
}
.site-topbar a { color: var(--primary); text-decoration: none; }
.site-topbar a:hover { color: #fff; }
.site-topbar .ticker {
    animation: ticker 20s linear infinite;
    display: inline-block; white-space: nowrap;
}
@keyframes ticker {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ── MAIN NAVBAR (frontend) ── */
.navbar-main {
    background: var(--accent) !important;
    padding: .5rem 0; transition: var(--transition);
    box-shadow: 0 2px 16px rgba(16, 43, 69, .3);
}
.navbar-main.scrolled { padding: .3rem 0; }

.navbar-brand { color: #fff !important; font-weight: 800; font-size: 1.5rem; letter-spacing: -.5px; }
.navbar-brand span { color: var(--primary); }

.navbar-main .nav-link {
    color: rgba(255,255,255,.87) !important; font-weight: 500;
    padding: .5rem 1rem !important; border-radius: 6px;
    transition: var(--transition); font-size: .93rem;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active { color: var(--primary) !important; background: rgba(230,152,41,.12); }

.btn-quote {
    background: var(--primary); color: var(--accent) !important;
    font-weight: 700; border-radius: 50px; padding: .45rem 1.4rem !important;
}
.btn-quote:hover { background: var(--primary-dark); transform: translateY(-1px); }

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: brightness(10); }

/* ── HERO CAROUSEL ── */
.hero-carousel .carousel-item { height: 100vh; min-height: 600px; position: relative; overflow: hidden; }
.hero-carousel .hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(.45);
}
.hero-carousel .carousel-caption {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    text-align: left; padding: 0;
}
.hero-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 1.2rem; }
.hero-title span { color: var(--primary); }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 2rem; }
.hero-badge {
    background: var(--primary); color: var(--accent); font-weight: 700;
    font-size: .78rem; border-radius: 50px; padding: .3rem .9rem;
    letter-spacing: 1px; text-transform: uppercase;
    display: inline-block; margin-bottom: 1rem;
}
.btn-hero-primary {
    background: var(--primary); color: var(--accent); font-weight: 700;
    border-radius: 50px; padding: .8rem 2rem;
    border: none; font-size: 1rem; transition: var(--transition);
}
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,152,41,.4); }
.btn-hero-outline {
    border: 2px solid #fff; color: #fff; font-weight: 600;
    border-radius: 50px; padding: .8rem 2rem;
    background: transparent; font-size: 1rem; transition: var(--transition);
}
.btn-hero-outline:hover { background: #fff; color: var(--accent); transform: translateY(-2px); }

.carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.5); border: 2px solid rgba(255,255,255,.5);
}
.carousel-indicators .active { background: var(--primary); border-color: var(--primary); width: 30px; border-radius: 5px; }

/* ── CLIENTS BAR ── */
.clients-bar { background: var(--accent-soft); padding: 2rem 0; border-top: 3px solid var(--primary); }
.clients-bar .label { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.client-logo { opacity: .5; filter: grayscale(1); transition: var(--transition); font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.client-logo:hover { opacity: 1; filter: none; }

/* ── FRONTEND SECTIONS ── */
section { padding: 5rem 0; }

/* ── FRONTEND STATS STRIP (fe-* prefix to avoid conflict with admin .stat-card) ── */
.fe-stats-section { background: var(--accent); padding: 4rem 0; }
.fe-stat-card { text-align: center; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.15); }
.fe-stat-card:last-child { border-right: none; }
.fe-stat-num { font-size: 3rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; }
.fe-stat-label { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: .4rem; }

/* ── SERVICE CARDS ── */
.service-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem 1.5rem; transition: var(--transition);
    position: relative; overflow: hidden; height: 100%;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--primary);
    transform: scaleX(0); transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: var(--primary); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--primary-light); display: flex; align-items: center;
    justify-content: center; margin-bottom: 1.5rem;
    font-size: 1.8rem; color: var(--primary); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h5 { font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.service-card p  { color: var(--text-muted); font-size: .92rem; line-height: 1.7; }
.service-link    { color: var(--primary-text); font-weight: 600; font-size: .88rem; text-decoration: none; display: flex; align-items: center; gap: .3rem; margin-top: 1rem; }
.service-link:hover { gap: .6rem; }

/* ── ABOUT SECTION ── */
.about-img-wrap  { position: relative; }
.about-img-main  { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.about-img-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--primary); color: var(--accent);
    border-radius: var(--radius); padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow); font-weight: 800;
}
.about-badge-num { font-size: 2.5rem; line-height: 1; display: block; }
.feature-item  { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.feature-icon  { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.feature-text h6 { font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.feature-text p  { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ── PROCESS / HOW IT WORKS ── */
.process-section { background: var(--primary-light); }
.process-step    { text-align: center; position: relative; }
.step-num {
    width: 70px; height: 70px; border-radius: 50%;
    background: var(--accent); color: var(--primary);
    font-size: 1.5rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; position: relative; z-index: 2;
    border: 4px solid var(--primary);
}
.step-connector { position: absolute; top: 35px; left: 60%; width: 80%; height: 2px; background: var(--primary); z-index: 1; }
.process-step:last-child .step-connector { display: none; }
.process-step h5 { font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.process-step p  { color: var(--text-muted); font-size: .9rem; }

/* ── PORTFOLIO ── */
.portfolio-filter .btn         { border-radius: 50px; font-weight: 600; font-size: .88rem; padding: .4rem 1.2rem; transition: var(--transition); }
.portfolio-filter .btn-active  { background: var(--primary); color: var(--accent); border-color: var(--primary); }
.portfolio-item                { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.portfolio-item img            { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.portfolio-item:hover img      { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: rgba(16,43,69,.85); opacity: 0;
    transition: var(--transition); display: flex; align-items: center;
    justify-content: center; flex-direction: column;
    text-align: center; padding: 1.5rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h5  { color: #fff; font-weight: 700; margin-bottom: .4rem; }
.portfolio-overlay p   { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 1rem; }
.portfolio-overlay .btn { background: var(--primary); color: var(--accent); border: none; font-weight: 700; border-radius: 50px; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--accent); }
.testimonial-card {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius); padding: 2rem;
}
.quote-icon        { font-size: 2.5rem; color: var(--primary); line-height: 1; margin-bottom: 1rem; }
.testimonial-text  { color: rgba(255,255,255,.87); font-size: .98rem; line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: .9rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); object-fit: cover; }
.author-name { color: #fff; font-weight: 700; font-size: .92rem; }
.author-role { color: var(--primary); font-size: .8rem; }
.star-rating { color: var(--primary); font-size: .85rem; margin-bottom: .8rem; }

/* ── TEAM ── */
.team-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: #fff; }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(16,43,69,.18); }
.team-img-wrap     { position: relative; overflow: hidden; }
.team-img-wrap img { width: 100%; height: 300px; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-social {
    position: absolute; bottom: -60px; left: 0; right: 0;
    display: flex; justify-content: center; gap: .5rem; padding: 1rem;
    transition: .4s; background: linear-gradient(transparent, rgba(16,43,69,.8));
}
.team-card:hover .team-social { bottom: 0; }
.team-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); display: flex; align-items: center;
    justify-content: center; color: var(--accent);
    font-size: .9rem; transition: var(--transition); text-decoration: none;
}
.team-social a:hover { background: #fff; }
.team-info     { padding: 1.2rem 1.5rem; }
.team-info h5  { font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.team-info span { color: var(--primary); font-size: .85rem; font-weight: 600; }

/* ── PRICING ── */
.pricing-card {
    border: 2px solid var(--border); border-radius: var(--radius);
    padding: 2.5rem 2rem; transition: var(--transition);
    text-align: center; position: relative; height: 100%; background: #fff;
}
.pricing-card.featured { border-color: var(--primary); background: var(--primary-light); transform: scale(1.04); box-shadow: var(--shadow); }
.pricing-card:hover    { border-color: var(--primary); box-shadow: var(--shadow); }
.pricing-badge {
    background: var(--primary); color: var(--accent);
    font-size: .75rem; font-weight: 700; padding: .25rem .9rem; border-radius: 50px;
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
}
.pricing-price     { font-size: 3rem; font-weight: 900; color: var(--accent); line-height: 1; }
.pricing-price sup { font-size: 1.4rem; font-weight: 700; vertical-align: top; margin-top: .6rem; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-plan-name { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: .5rem; }
.pricing-card ul   { list-style: none; text-align: left; margin: 1.5rem 0; padding: 0; }
.pricing-card ul li {
    padding: .5rem 0; color: var(--text-muted); font-size: .9rem;
    display: flex; align-items: center; gap: .6rem;
    border-bottom: 1px solid var(--border);
}
.pricing-card ul li i.bi-check-circle-fill { color: var(--primary); }
.pricing-card ul li i.bi-x-circle-fill     { color: #d1d5db; }
.btn-pricing         { border-radius: 50px; font-weight: 700; padding: .7rem 2rem; width: 100%; transition: var(--transition); }
.btn-pricing-primary { background: var(--primary); color: var(--accent); border: none; }
.btn-pricing-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-pricing-primary:hover,
.btn-pricing-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

/* ── BLOG ── */
.blog-card     { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: #fff; height: 100%; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(16,43,69,.18); }
.blog-card img   { width: 100%; height: 210px; object-fit: cover; transition: transform .4s; }
.blog-card:hover img { transform: scale(1.05); }
.blog-meta     { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.blog-category { background: var(--primary-light); color: var(--primary-text); font-weight: 700; font-size: .75rem; padding: .2rem .8rem; border-radius: 50px; }
.blog-card h5  { font-weight: 700; color: var(--accent); line-height: 1.4; margin-bottom: .8rem; font-size: 1rem; }
.blog-card p   { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
.blog-body     { padding: 1.5rem; }
.read-more     { color: var(--primary-text); font-weight: 600; font-size: .85rem; text-decoration: none; display: flex; align-items: center; gap: .3rem; }
.read-more:hover { gap: .6rem; color: var(--primary-dark); }

/* ── FAQ SECTION ── */
.faq-section { background: var(--accent-soft); }

/* ── CTA BANNER ── */
.cta-section   { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 5rem 0; }
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; color: var(--accent); }
.cta-section p  { color: rgba(16,43,69,.75); font-size: 1.1rem; }
.btn-cta {
    background: var(--accent); color: #fff; border: none;
    border-radius: 50px; font-weight: 700; padding: .9rem 2.5rem;
    font-size: 1rem; transition: var(--transition);
}
.btn-cta:hover { background: #0a1c2d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,43,69,.35); color: #fff; }
.btn-cta-outline {
    background: transparent; color: var(--accent); border: 2px solid var(--accent);
    border-radius: 50px; font-weight: 700; padding: .9rem 2.5rem;
    font-size: 1rem; transition: var(--transition);
}
.btn-cta-outline:hover { background: var(--accent); color: #fff; }

/* ── CONTACT ── */
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon {
    width: 50px; height: 50px; border-radius: var(--radius);
    background: var(--primary-light); display: flex;
    align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.3rem; flex-shrink: 0;
}
.contact-text h6  { font-weight: 700; color: var(--accent); margin-bottom: .2rem; }
.contact-text p,
.contact-text a   { color: var(--text-muted); font-size: .92rem; text-decoration: none; }
.contact-text a:hover { color: var(--primary); }
.map-embed        { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Contact two-panel card */
.contact-card { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.contact-card-left {
    background: var(--accent); padding: 2.5rem;
    display: flex; flex-direction: column; justify-content: space-between;
}
.contact-card-left .contact-icon { background: rgba(255,255,255,.12); color: #fff; }
.contact-card-left .contact-text h6 { color: rgba(255,255,255,.9); }
.contact-card-left .contact-text p,
.contact-card-left .contact-text a  { color: rgba(255,255,255,.6); }
.contact-card-left .contact-text a:hover { color: var(--primary); }
.contact-card-right { background: #fff; padding: 2.5rem; }

/* Contact form — register.php field design */
.contact-form .form-label { font-weight: 600; font-size: 0.875rem; color: #374151; margin-bottom: 0.35rem; }
.contact-form .form-control,
.contact-form .form-select {
    border-color: #d1d5db; border-radius: 8px;
    padding: 0.6rem 0.85rem; font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,152,41,.15);
}
.contact-form .input-group-text {
    background: #f9fafb; border-color: #d1d5db;
    color: #9ca3af; font-size: 0.9rem;
    border-radius: 8px 0 0 8px;
}
.contact-form .input-group .form-control { border-radius: 0 8px 8px 0; }
.contact-form .form-check-label { font-size: 0.85rem; color: var(--text-muted); }
.contact-form .form-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-form .form-link:hover { color: var(--primary-dark); }
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none; color: #fff; font-weight: 700;
    padding: 0.75rem; border-radius: 8px; font-size: 1rem;
    transition: all 0.2s;
}
.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), #b56b0a);
    color: #fff; transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(230,152,41,.35);
}

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--accent); padding: 3.5rem 0; }
.newsletter-section h4 { color: #fff; font-weight: 800; }
.newsletter-section p  { color: rgba(255,255,255,.7); }
.newsletter-input {
    border-radius: 50px 0 0 50px; border: none;
    padding: .8rem 1.5rem; font-size: .93rem; flex: 1;
}
.newsletter-input:focus { box-shadow: none; }
.newsletter-btn {
    background: var(--primary); color: var(--accent); border: none;
    border-radius: 0 50px 50px 0; padding: .8rem 1.8rem;
    font-weight: 700; transition: var(--transition);
}
.newsletter-btn:hover { background: var(--primary-dark); }

/* ── FOOTER ── */
footer { background: #0a1c2d; color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer-brand     { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: .8rem; }
.footer-brand span { color: var(--primary); }
.footer-desc      { font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social a  {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); display: inline-flex;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: .95rem;
    transition: var(--transition); text-decoration: none; margin-right: .4rem;
}
.footer-social a:hover  { background: var(--primary); color: var(--accent); }
.footer-title {
    font-size: .9rem; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1.2rem; padding-bottom: .5rem;
    border-bottom: 2px solid var(--primary); display: inline-block;
}
footer ul       { list-style: none; padding: 0; margin: 0; }
footer ul li    { margin-bottom: .6rem; }
footer ul li a  {
    color: rgba(255,255,255,.65); text-decoration: none; font-size: .88rem;
    transition: var(--transition); display: flex; align-items: center; gap: .4rem;
}
footer ul li a:hover  { color: var(--primary); padding-left: .3rem; }
footer ul li a i      { color: var(--primary); font-size: .75rem; }
.footer-locations-row {
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}
.footer-locations-label {
    color: rgba(255,255,255,.5); font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}
.footer-locations-row a {
    color: rgba(255,255,255,.6); font-size: .8rem; text-decoration: none;
    transition: var(--transition);
}
.footer-locations-row a::after { content: ' ·'; color: rgba(255,255,255,.2); }
.footer-locations-row a:last-child::after { content: ''; }
.footer-locations-row a:hover { color: var(--primary); }

.footer-bottom        { background: rgba(0,0,0,.3); padding: 1.2rem 0; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p      { font-size: .83rem; margin: 0; }
.footer-bottom a      { color: var(--primary); text-decoration: none; }

/* ── BACK TO TOP ── */
#backToTop {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 46px; height: 46px;
    background: var(--primary); color: var(--accent);
    border: none; border-radius: 50%; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(230,152,41,.4);
    transition: var(--transition); opacity: 0; visibility: hidden;
    z-index: 9999; cursor: pointer;
}
#backToTop.show  { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ── COOKIE BAR ── */
#cookieBar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); color: #fff; padding: 1rem 0; z-index: 9998; display: none; }
#cookieBar.show { display: block; }


/* ── AMBER-ON-LIGHT TEXT (frontend classes misplaced in section 9) ── */
.fe-case-link { color: var(--primary-text); font-weight: 700; font-size: .88rem; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; transition: var(--transition); }
.fe-case-link:hover { gap: .6rem; color: var(--primary-dark); }
.skill-pct { font-weight: 700; color: var(--primary-text); }
