/* ===== PREVENT DARK MODE FLASH ===== */
html.dark-mode-early body {
    background: #0D132B !important;
    visibility: hidden;
}
html.dark-mode-early body.dark-mode {
    visibility: visible;
}

/* ===== ACCESSIBILITY ===== */
*:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 3px;
}
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
    border-radius: 4px;
}
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.dark-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #e8e8e8;
    background: #fff;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.dark-toggle-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}
body.dark-mode .dark-toggle-btn {
    background: #162040;
    border-color: #333;
    color: var(--yellow);
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
#darkModeToggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #e8e8e8;
    background: #fff;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
#darkModeToggle:hover {
    border-color: var(--purple);
    color: var(--purple);
}

/* ===== DARK MODE ===== */
body.dark-mode {
    background: #0D132B;
    color: #e0e0e0;
}

/* Topbar */
body.dark-mode .navbar-topbar {
    background: #080e1f;
}

/* Navbar */
body.dark-mode .navbar-calibium {
    background: #0f1a30;
    box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
body.dark-mode .navbar-calibium .nav-link {
    color: #ccc !important;
}
body.dark-mode .navbar-calibium .nav-link:hover { color: var(--coral) !important; }
body.dark-mode #darkModeToggle {
    background: #162040;
    border-color: #333;
    color: var(--yellow);
}

/* Hero */
body.dark-mode .hero-section {
    background: linear-gradient(135deg, #0D132B 0%, #162040 100%);
}
body.dark-mode .hero-title { color: #f0f0f0; }
body.dark-mode .hero-sub { color: #aaa; }
body.dark-mode .hero-stats .stat h3 { color: #f0f0f0; }
body.dark-mode .hero-stats .stat p { color: #888; }
body.dark-mode .hero-card {
    background: #162040;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
body.dark-mode .hero-card-header { background: #1e2d50; }
body.dark-mode .mock-line { background: #1e2d50; }
body.dark-mode .mock-img-block { background: linear-gradient(135deg, #162040, #1e2d50); }
body.dark-mode .mock-tags span { background: #1e2d50; }
body.dark-mode .hsg-card {
    background: #162040;
    border-color: #1e2d50;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
body.dark-mode .hsg-card h6 { color: #f0f0f0; }
body.dark-mode .hsg-card p { color: #666; }
body.dark-mode .hero-trust-bar {
    background: #162040;
    border-color: #1e2d50;
}
body.dark-mode .hero-trust-bar span { color: #bbb; }
body.dark-mode .hero-stat-divider { background: #1e2d50; }

/* Sections */
body.dark-mode .services-section,
body.dark-mode .portfolio-section,
body.dark-mode .testimonials-section,
body.dark-mode .blog-section,
body.dark-mode .process-section { background: #0f1a30; }

body.dark-mode .about-section,
body.dark-mode .enquiry-section { background: #0D132B; }

/* Section text */
body.dark-mode .section-title { color: #f0f0f0; }
body.dark-mode .section-sub { color: #999; }

/* Service cards */
body.dark-mode .service-card {
    background: #162040;
    border-color: #1e2d50;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
body.dark-mode .service-card h5 { color: #f0f0f0; }
body.dark-mode .service-card p { color: #aaa; }
body.dark-mode .service-card .service-points li { color: #bbb; }

/* Portfolio cards */
body.dark-mode .portfolio-card {
    background: #162040;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
body.dark-mode .portfolio-body h5 { color: #f0f0f0; }
body.dark-mode .portfolio-body p { color: #aaa; }
body.dark-mode .portfolio-tech span { background: #1e2d50; }
body.dark-mode .pf-btn {
    background: #162040;
    border-color: #1e2d50;
    color: #bbb;
}
body.dark-mode .pf-btn.active, body.dark-mode .pf-btn:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: #fff;
}

/* Testimonial cards */
body.dark-mode .testi-card {
    background: #162040;
    border-color: #1e2d50;
}
body.dark-mode .testi-text { color: #bbb; }
body.dark-mode .testi-author h6 { color: #f0f0f0; }
body.dark-mode .testi-btn {
    background: #162040;
    border-color: var(--purple);
    color: var(--purple);
}

/* Blog cards */
body.dark-mode .blog-card {
    background: #162040;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
body.dark-mode .blog-title { color: #f0f0f0; }
body.dark-mode .blog-excerpt { color: #aaa; }
body.dark-mode .blog-footer { border-color: #1e2d50; }
body.dark-mode .blog-author span { color: #bbb; }

/* Process cards */
body.dark-mode .process-card {
    background: #162040;
    border-color: #1e2d50;
}
body.dark-mode .process-card h5 { color: #f0f0f0; }
body.dark-mode .process-card p { color: #aaa; }
body.dark-mode .process-card .process-points li { color: #bbb; }
body.dark-mode .process-step-num { color: rgba(255,255,255,0.05); }

/* Enquiry form */
body.dark-mode .enquiry-form-box {
    background: #162040;
    border-color: #1e2d50;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
body.dark-mode .eq-form-group label { color: #ccc; }
body.dark-mode .eq-input {
    background: #0f1a30;
    border-color: #1e2d50;
    color: #e0e0e0;
}
body.dark-mode .eq-input:focus {
    background: #162040;
    border-color: var(--purple);
}
body.dark-mode .eq-budget-opt {
    background: #0f1a30;
    border-color: #1e2d50;
    color: #bbb;
}

/* About */
body.dark-mode .about-para { color: #aaa; }
body.dark-mode .about-list li { color: #ccc; }
body.dark-mode .value-item { background: #162040; }
body.dark-mode .value-item h6 { color: #f0f0f0; }
body.dark-mode .value-item p { color: #999; }
body.dark-mode .about-team-row p { color: #aaa; }
body.dark-mode .about-team-row p strong { color: #f0f0f0; }

/* Footer */
body.dark-mode .footer-main { background: #080e1f; }
body.dark-mode .footer-bottom { background: #050b18; }
body.dark-mode .footer-bottom p,
body.dark-mode .footer-bottom a { color: #555; }
body.dark-mode .footer-bottom strong { color: #888; }

/* Scroll top btn */
body.dark-mode #scrollTopBtn { background: var(--coral); }


body.dark-mode .nav-logo-light { display: none !important; }
body.dark-mode .nav-logo-dark  { display: inline-block !important; }

#scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(123,97,255,0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
}
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}
#scrollTopBtn:hover { transform: translateY(-3px); }

:root {
    --coral:   #ff6f61;
    --yellow:  #ffc857;
    --teal:    #2ec4b6;
    --green:   #3a0ca3; /* kept as provided */
    --purple:  #7b61ff;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #fff;
}

/* ===== HEADER / NAVBAR ===== */
/* Top Bar */
.navbar-topbar {
    background: linear-gradient(135deg, #0D132B, #1a2d50);
    padding: 8px 0;
    font-family: 'Poppins', sans-serif;
}
.navbar-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-left {
    display: flex;
    gap: 24px;
}
.topbar-left span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.topbar-left span i {
    color: var(--coral);
    margin-right: 6px;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar-right a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-right a i { color: var(--coral); }
.topbar-right a:hover { color: #fff; }
.topbar-divider {
    color: rgba(255,255,255,0.25);
    font-size: 0.85rem;
}
@media (max-width: 576px) {
    .navbar-topbar { display: none; }
    .navbar-calibium { padding: 0.15rem 0.3rem !important; }
    .navbar-calibium .navbar-brand img { height: 34px !important; }
    .navbar-calibium .container { padding-left: 8px !important; padding-right: 8px !important; }
}

/* Main Navbar */
.navbar-calibium {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}
.navbar-calibium .navbar-brand {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--coral) !important;
    font-family: 'Poppins', sans-serif;
}
.navbar-calibium .navbar-brand span { color: var(--purple); }
.navbar-calibium .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333 !important;
    margin: 0 2px;
    padding: 8px 12px !important;
    position: relative;
    transition: color 0.3s;
}
.navbar-calibium .nav-link::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: var(--coral);
    transition: width 0.3s;
    position: absolute;
    bottom: 2px;
    left: 12px;
}
.navbar-calibium .nav-link:hover { color: var(--coral) !important; }
.navbar-calibium .nav-link:hover::after { width: calc(100% - 24px); }
.navbar-calibium .btn-enquire {
    background: var(--coral);
    color: #fff !important;
    border-radius: 25px;
    padding: 9px 22px !important;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.navbar-calibium .btn-enquire::after { display: none; }
.navbar-calibium .btn-enquire:hover {
    background: var(--purple);
    transform: translateY(-2px);
}
.navbar-toggler { border-color: var(--coral); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6f61' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.12) !important;
    padding: 0.3rem 0 !important;
    transition: all 0.3s;
}

/* ===== HERO BANNER ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff8f7 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    font-family: 'Poppins', sans-serif;
}

/* Background decorative shapes */
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
}
.shape-1 {
    width: 420px; height: 420px;
    background: var(--coral);
    top: -120px; right: -100px;
}
.shape-2 {
    width: 260px; height: 260px;
    background: var(--purple);
    bottom: -80px; left: -60px;
}
.shape-3 {
    width: 160px; height: 160px;
    background: var(--teal);
    top: 60%; left: 38%;
}

/* Left text */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46,196,182,0.1);
    border: 1px solid rgba(46,196,182,0.25);
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
    font-family: 'Poppins', sans-serif;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0D132B;
}
.hero-typed {
    color: var(--coral);
    border-right: 2px solid var(--coral);
    animation: blink 0.7s step-end infinite;
    padding-right: 3px;
}
@keyframes blink {
    0%, 100% { border-color: var(--coral); }
    50%       { border-color: transparent; }
}

.highlight-coral { color: var(--coral); }
.highlight-purple { color: var(--purple); }

.hero-sub {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

/* CTA Buttons */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.btn-hero-primary {
    background: var(--coral);
    color: #fff;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
    border: 2px solid var(--coral);
}
.btn-hero-primary:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: transparent;
    color: var(--purple);
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--purple);
    transition: all 0.3s;
}
.btn-hero-outline:hover {
    background: var(--purple);
    color: #fff;
    transform: translateY(-2px);
}

/* Trust pills */
.hero-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.hero-trust-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #f0f0f8;
    border-radius: 25px;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
    box-shadow: 0 2px 10px rgba(13,19,43,0.06);
    font-family: 'Poppins', sans-serif;
}
.hero-trust-pills span i { color: var(--teal); font-size: 0.78rem; }
body.dark-mode .hero-trust-pills span {
    background: #162040;
    border-color: #1e2d50;
    color: #ccc;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: #e0e0e0;
}
.hero-stats .stat h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0D132B;
    margin: 0;
}
.hero-stats .stat h3 span { color: var(--coral); }
.hero-stats .stat p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    font-weight: 600;
}

/* Right visual card */
.hero-visual {
    position: relative;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(123,97,255,0.13);
    width: 320px;
    overflow: hidden;
    z-index: 2;
    position: relative;
}

.hero-card-header {
    background: #f5f5f5;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red   { background: #ff5f57; }
.dot-yellow{ background: #febc2e; }
.dot-green { background: #28c840; }
.card-title-bar {
    margin-left: 10px;
    font-size: 0.78rem;
    color: #999;
    font-weight: 600;
}

.hero-card-body { padding: 22px 20px; }

.mock-line {
    height: 10px;
    background: #eee;
    border-radius: 6px;
    margin-bottom: 10px;
}
.w-60 { width: 60%; }
.w-40 { width: 40%; }

.mock-palette {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}
.mock-palette span {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: inline-block;
}

.mock-img-block {
    background: linear-gradient(135deg, #f0f4ff, #ffe8e6);
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    margin-bottom: 16px;
}
.mock-img-block i {
    font-size: 2rem;
    color: var(--purple);
    margin-bottom: 8px;
    display: block;
}
.mock-img-block p {
    font-size: 0.82rem;
    font-weight: 700;
    color: #555;
    margin: 0;
}

.mock-tags { display: flex; gap: 8px; }
.mock-tags span {
    background: #f0f4ff;
    color: var(--purple);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Floating badges */
.float-badge {
    position: absolute;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite alternate;
}
.badge-teal  { background: var(--teal);   top: 10%;  right: 2%; }
.badge-yellow{ background: var(--yellow); color: #333; bottom: 14%; left: 2%; animation-delay: 1.5s; }
.float-badge i { margin-right: 5px; }

@keyframes floatBadge {
    from { transform: translateY(0); }
    to   { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .hero-section { padding: 100px 0 60px; text-align: center; }
    .hero-sub { margin: 0 auto 28px; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-stats { gap: 20px; }
}

/* ===== HERO DASHBOARD MOCKUP ===== */
.dash-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(13,19,43,0.13);
    padding: 0 0 22px;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    border: 1px solid #f0f0f8;
    animation: dashFloat 4s ease-in-out infinite alternate;
}
@keyframes dashFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(-10px); }
}

/* Top bar */
.dash-topbar {
    background: #f7f8fc;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.dd-red    { background: #ff5f57; }
.dd-yellow { background: #febc2e; }
.dd-green  { background: #28c840; }
.dash-topbar-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    font-family: 'Poppins', sans-serif;
}
.dash-topbar-actions { display: flex; gap: 5px; }
.dash-topbar-actions span {
    width: 18px; height: 6px;
    background: #e0e0e0;
    border-radius: 4px;
    display: inline-block;
}

/* Stats row */
.dash-stats-row {
    display: flex;
    gap: 12px;
    padding: 18px 20px 14px;
}
.dash-stat-box {
    flex: 1;
    background: #f8f9ff;
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f0f0f8;
}
.dash-stat-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.dash-stat-box h6 {
    font-size: 1rem;
    font-weight: 800;
    color: #0D132B;
    margin: 0 0 2px;
    font-family: 'Poppins', sans-serif;
}
.dash-stat-box p {
    font-size: 0.68rem;
    color: #999;
    margin: 0;
    font-weight: 600;
}

/* Progress section */
.dash-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #bbb;
    padding: 0 20px 10px;
    font-family: 'Poppins', sans-serif;
}
.dash-progress-list { padding: 0 20px; display: flex; flex-direction: column; gap: 12px; }
.dash-progress-item {}
.dash-progress-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.dash-progress-meta span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    font-family: 'Poppins', sans-serif;
}
.dash-progress-meta span i { margin-right: 5px; font-size: 0.72rem; }
.dash-bar {
    height: 7px;
    background: #f0f0f8;
    border-radius: 10px;
    overflow: hidden;
}
.dash-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Team row */
.dash-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
    margin-top: 6px;
    border-top: 1px solid #f0f0f8;
}
.dash-team-avatars { display: flex; }
.dash-team-avatars span {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    border: 2px solid #fff;
    margin-left: -8px;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
}
.dash-team-avatars span:first-child { margin-left: 0; }
.dash-avatar-more {
    background: #f0f0f8 !important;
    color: #888 !important;
    font-size: 0.6rem !important;
}
.dash-team-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
}
.dash-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: livePulse 1.5s ease-in-out infinite;
}

/* Floating badges */
.dash-float {
    position: absolute;
    background: #fff;
    border-radius: 30px;
    padding: 9px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #333;
    box-shadow: 0 8px 24px rgba(13,19,43,0.12);
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 3;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}
.dash-float i { color: var(--teal); }
.dash-float-1 { top: -18px; left: 10px; animation: dashFloat 3s ease-in-out infinite alternate; }
.dash-float-2 { bottom: -18px; right: 10px; animation: dashFloat 3s ease-in-out infinite alternate-reverse; }
.dash-float-2 i { color: var(--yellow); }

.dash-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
}
.dash-open-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
}
.dash-cta-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--coral);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.dash-cta-btn:hover { color: var(--purple); text-decoration: none; }
.dash-cta-btn i { font-size: 0.7rem; }
body.dark-mode .dash-open-badge { color: var(--teal); }
body.dark-mode .dash-cta-btn { color: var(--coral); }

/* Dark mode */
body.dark-mode .dash-card {
    background: #162040;
    border-color: #1e2d50;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
body.dark-mode .dash-topbar { background: #0f1a30; border-color: #1e2d50; }
body.dark-mode .dash-topbar-title { color: #666; }
body.dark-mode .dash-topbar-actions span { background: #1e2d50; }
body.dark-mode .dash-stat-box { background: #0f1a30; border-color: #1e2d50; }
body.dark-mode .dash-stat-box h6 { color: #f0f0f0; }
body.dark-mode .dash-stat-box p { color: #666; }
body.dark-mode .dash-bar { background: #1e2d50; }
body.dark-mode .dash-progress-meta span { color: #aaa; }
body.dark-mode .dash-team-row { border-color: #1e2d50; }
body.dark-mode .dash-avatar-more { background: #1e2d50 !important; color: #666 !important; }
body.dark-mode .dash-team-status { color: #666; }
body.dark-mode .dash-float { background: #162040; color: #e0e0e0; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* ===== HERO RIGHT: SERVICES GRID ===== */
.hero-right-wrap {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.hero-services-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 4px;
}

.hero-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.hsg-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 4px 20px rgba(123,97,255,0.08);
    border: 1px solid #f0f0f8;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: default;
}
.hsg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(123,97,255,0.14);
}

.hsg-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.hsg-icon i { font-size: 1.3rem; }

.hsg-card h6 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0D132B;
    margin: 0 0 4px;
    font-family: 'Poppins', sans-serif;
}
.hsg-card p {
    font-size: 0.72rem;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 4px 20px rgba(123,97,255,0.07);
    border: 1px solid #f0f0f8;
}
.hero-trust-bar span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #444;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== SHARED SECTION STYLES ===== */
.section-tag {
    color: var(--teal);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    display: block;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0D132B;
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}
.section-sub {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .section-title { font-size: 1.8rem; }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 90px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Left dark panel */
.about-dark-panel {
    background: linear-gradient(145deg, #0D132B, #1a2d50);
    border-radius: 20px;
    padding: 40px 32px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.about-panel-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255,111,97,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.about-panel-icon i {
    font-size: 1.8rem;
    color: var(--coral);
}
.about-dark-panel h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}
.about-dark-panel h3 span { color: var(--coral); }
.about-dark-panel > p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 32px;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: auto;
}
.about-stat {
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.about-stat h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}
.about-stat h4 span { color: var(--coral); }
.about-stat p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-weight: 600;
}
.about-panel-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.about-panel-circle.c1 { width: 200px; height: 200px; top: -60px; right: -60px; }
.about-panel-circle.c2 { width: 120px; height: 120px; top: 40px; right: 40px; }

/* Right content box */
.about-content-box {
    padding: 10px 0 10px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-para {
    color: #555;
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 24px;
}
.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.about-list li {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-list li i { color: var(--teal); font-size: 0.9rem; }
.about-values {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 180px;
    background: #f8f9ff;
    border-radius: 14px;
    padding: 16px;
}
.value-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.value-item h6 { font-size: 0.85rem; font-weight: 700; margin: 0 0 4px; color: #0D132B; }
.value-item p  { font-size: 0.8rem; color: #888; margin: 0; line-height: 1.5; }

/* Team row */
.about-team-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.about-team-avatars {
    display: flex;
}
.about-team-avatars span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    border: 2px solid #fff;
    margin-left: -10px;
    flex-shrink: 0;
}
.about-team-avatars span:first-child { margin-left: 0; }
.about-team-row p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    flex: 1;
    min-width: 140px;
}
.about-team-row p strong { color: #0D132B; }

@media (max-width: 991px) {
    .about-content-box { padding: 30px 0 0; }
    .about-list { grid-template-columns: 1fr; }
    .about-dark-panel { min-height: 360px; }
}
@media (max-width: 576px) {
    .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about-team-row { flex-direction: column; align-items: flex-start; }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 90px 0;
    background: #f8f9ff;
    font-family: 'Poppins', sans-serif;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 34px 28px;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(123,97,255,0.12);
}

/* Featured card */
.service-card-featured {
    background: linear-gradient(145deg, #0D132B, #1a2d50);
    border: none;
}
.service-card-featured h5,
.service-card-featured p,
.service-card-featured .service-points li {
    color: #fff !important;
}
.service-card-featured .service-link {
    color: var(--yellow) !important;
}
.service-card-featured .service-points li i {
    color: var(--teal) !important;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--coral);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-icon i { font-size: 1.6rem; }

.service-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0D132B;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-points {
    list-style: none;
    padding: 0;
    margin-bottom: 22px;
}
.service-points li {
    font-size: 0.83rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 6px;
}
.service-points li i {
    color: var(--teal);
    margin-right: 8px;
    font-size: 0.75rem;
}

.service-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--coral);
    text-decoration: none;
    transition: gap 0.2s;
}
.service-link i { margin-left: 6px; transition: transform 0.2s; }
.service-link:hover { color: var(--purple); text-decoration: none; }
.service-link:hover i { transform: translateX(4px); }

@media (max-width: 767px) {
    .service-card { margin-bottom: 10px; }
}

/* Portfolio coming soon */
.portfolio-coming-soon {
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e0e0f0;
}
.pcs-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,111,97,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--coral);
}
.portfolio-coming-soon h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0D132B;
    margin-bottom: 12px;
}
.portfolio-coming-soon p {
    font-size: 0.92rem;
    color: #888;
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.7;
}
body.dark-mode .portfolio-coming-soon {
    background: #162040;
    border-color: #1e2d50;
}
body.dark-mode .portfolio-coming-soon h4 { color: #f0f0f0; }
body.dark-mode .portfolio-coming-soon p  { color: #888; }

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: 90px 0;
    background: #f8f9ff;
    font-family: 'Poppins', sans-serif;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.pf-btn {
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid #e8e8e8;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}
.pf-btn.active, .pf-btn:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: #fff;
}

.portfolio-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    background: #fff;
    height: 100%;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(123,97,255,0.15);
}

.portfolio-thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-thumb-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.25);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,46,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.portfolio-overlay a:hover {
    background: var(--coral);
    color: #fff;
}

.portfolio-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
}

.portfolio-body {
    padding: 20px 22px 22px;
}
.portfolio-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #0D132B;
    margin-bottom: 6px;
}
.portfolio-body p {
    font-size: 0.84rem;
    color: #777;
    margin-bottom: 14px;
    line-height: 1.6;
}
.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.portfolio-tech span {
    background: #f0f4ff;
    color: var(--purple);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .portfolio-card { margin-bottom: 10px; }
    .portfolio-filters { gap: 8px; }
    .pf-btn { padding: 6px 16px; font-size: 0.8rem; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 90px 0;
    background: #f8f9ff;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.testi-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(123,97,255,0.06), rgba(255,111,97,0.06));
    border-radius: 50%;
    top: -150px;
    right: -150px;
    pointer-events: none;
}

/* Card */
.testi-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 28px;
    height: 100%;
    border: 1px solid #f0f0f0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(123,97,255,0.1);
}

.testi-quote i {
    font-size: 1.6rem;
    color: var(--coral);
    opacity: 0.3;
    margin-bottom: 14px;
    display: block;
}

.testi-text {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.testi-stars {
    margin-bottom: 20px;
}
.testi-stars i {
    color: var(--yellow);
    font-size: 0.85rem;
    margin-right: 2px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.testi-author h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0D132B;
    margin: 0 0 2px;
}
.testi-author p {
    font-size: 0.78rem;
    color: #999;
    margin: 0;
}

/* Controls */
.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

/* Fix carousel fade height jump */
#testiCarousel .carousel-inner { min-height: 260px; }
#testiCarousel .carousel-item { transition: opacity 0.5s ease; }
#testiCarousel .carousel-item.active,
#testiCarousel .carousel-item-next.carousel-item-left,
#testiCarousel .carousel-item-prev.carousel-item-right { opacity: 1; }
#testiCarousel .carousel-item-next,
#testiCarousel .carousel-item-prev,
#testiCarousel .carousel-item { opacity: 0; }
#testiCarousel .active.carousel-item-left,
#testiCarousel .active.carousel-item-right { opacity: 0; }

.testi-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--purple);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
}
.testi-btn:hover {
    background: var(--purple);
    color: #fff;
    text-decoration: none;
}

.testi-dots {
    position: static;
    display: flex;
    gap: 6px;
    margin: 0;
}
.testi-dots li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    opacity: 1;
    transition: background 0.3s, width 0.3s;
    cursor: pointer;
}
.testi-dots li.active {
    background: var(--coral);
    width: 28px;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .testi-card { margin-bottom: 16px; }
    .testi-controls { margin-top: 10px; }
    #testiCarousel .carousel-item .col-md-6:last-child { display: none; }
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 90px 0;
    background: #f8f9ff;
    font-family: 'Poppins', sans-serif;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(123,97,255,0.13);
}

.blog-thumb {
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
}
.blog-thumb-icon {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.15);
}
.blog-cat-pill {
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
}

.blog-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}
.blog-meta span {
    font-size: 0.75rem;
    color: #bbb;
    font-weight: 600;
}
.blog-meta i { margin-right: 5px; color: #ccc; }

.blog-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0D132B;
    line-height: 1.5;
    margin-bottom: 10px;
}

.blog-excerpt {
    font-size: 0.84rem;
    color: #777;
    line-height: 1.75;
    margin-bottom: 20px;
    flex: 1;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f2f2f2;
    margin-top: auto;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.blog-author span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
}

.blog-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--coral);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.blog-link i { margin-left: 4px; transition: transform 0.2s; display: inline-block; }
.blog-link:hover { color: var(--purple); text-decoration: none; }
.blog-link:hover i { transform: translateX(4px); }

/* ===== FOOTER ===== */
.footer {
    font-family: 'Poppins', sans-serif;
}

/* CTA Strip */
.footer-cta {
    background: linear-gradient(135deg, rgba(26,26,46,0.82), rgba(123,97,255,0.75)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1400&q=80') center/cover no-repeat;
    padding: 50px 0;
}
.footer-cta h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.footer-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin: 0;
}
.footer-cta-btn {
    background: #fff;
    color: var(--purple);
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    display: inline-block;
}
.footer-cta-btn:hover {
    background: var(--yellow);
    color: #333;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Main Footer */
.footer-main {
    background: #12112a;
    padding: 70px 0 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coral) !important;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}
.footer-logo span { color: var(--purple); }

.footer-about {
    color: #aaa;
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

/* Socials */
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    text-decoration: none;
}
.footer-socials a:hover {
    background: var(--coral);
    color: #fff;
    transform: translateY(-3px);
}

/* Headings */
.footer-heading {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #aaa;
    font-size: 0.87rem;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--coral);
    padding-left: 6px;
}

/* Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #aaa;
    font-size: 0.87rem;
    line-height: 1.6;
}
.fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Bottom Bar */
.footer-bottom {
    background: #0d0c1f;
    padding: 18px 0;
}
.footer-bottom p {
    color: #666;
    font-size: 0.82rem;
    margin: 0;
}
.footer-bottom strong { color: #aaa; }
.footer-bottom a {
    color: #666;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--coral); }
.footer-divider {
    color: #333;
    margin: 0 8px;
    font-size: 0.82rem;
}

@media (max-width: 767px) {
    .footer-cta { text-align: center; }
    .footer-cta .col-lg-4 { text-align: center !important; }
    .footer-cta-btn { margin-top: 16px; }
    .footer-socials { justify-content: flex-start; }
    .footer-main .col-lg-2 { margin-bottom: 30px; }
}

/* ===== ENQUIRY SECTION ===== */
.enquiry-section {
    padding: 90px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Left image panel */
.eq-image-panel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 480px;
}
.eq-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eq-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,14,26,0.95) 40%, rgba(15,14,26,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 28px;
}
.eq-overlay-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}
.eq-oi-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.eq-oi-item h6 {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    margin: 0 0 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.eq-oi-item p {
    font-size: 0.85rem;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .eq-image-panel { min-height: 320px; margin-bottom: 24px; }
}
body.dark-mode .enquiry-form-box {
    background: #162040;
    border-color: #1e2d50;
}

.eq-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,111,97,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--coral);
    flex-shrink: 0;
}
.eq-panel-socials {
    display: flex;
    gap: 10px;
}
.eq-panel-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}
.eq-panel-socials a:hover {
    background: var(--coral);
    transform: translateY(-3px);
}

/* Form box */
.enquiry-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 8px 40px rgba(123,97,255,0.1);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.eq-form-group {
    margin-bottom: 20px;
}
.eq-form-group label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 7px;
    display: block;
}
.eq-form-group label span { color: var(--coral); }

.eq-input {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fafafa;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    appearance: none;
}
.eq-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(123,97,255,0.1);
    background: #fff;
}
.eq-input.is-invalid { border-color: var(--coral); }

/* Budget radio group */
.eq-budget-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.eq-budget-opt {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #555;
    background: #f5f5f5;
    border: 1.5px solid #e8e8e8;
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
}
.eq-budget-opt:has(input:checked) {
    background: rgba(123,97,255,0.08);
    border-color: var(--purple);
    color: var(--purple);
}
.eq-budget-opt input { display: none; }

.budget-usd {
    font-size: 0.72rem;
    color: #999;
    font-weight: 500;
}
body.dark-mode .budget-usd { color: #666; }

/* Submit button */
.eq-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 4px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Alert */
.eq-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.eq-alert.success {
    background: rgba(46,196,182,0.1);
    color: #1a9e94;
    border: 1px solid rgba(46,196,182,0.3);
}
.eq-alert.error {
    background: rgba(255,111,97,0.1);
    color: var(--coral);
    border: 1px solid rgba(255,111,97,0.3);
}

@media (max-width: 767px) {
    .enquiry-form-box { padding: 28px 20px; }
    .eq-info-panel { min-height: auto; margin-bottom: 30px; }
}

/* ===== WORKING PROCESS SECTION ===== */
.process-section {
    padding: 90px 0;
    background: #f8f9ff;
    font-family: 'Poppins', sans-serif;
}

.process-card {
    background: #fff;
    border-radius: 20px;
    padding: 34px 28px;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}
.process-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(123,97,255,0.12);
}

/* Featured middle card */
.process-card-featured {
    background: linear-gradient(145deg, #0D132B, #1a2d50);
    border: none;
}
.process-card-featured h5,
.process-card-featured p,
.process-card-featured .process-points li {
    color: #fff !important;
}
.process-card-featured .process-points li i {
    color: var(--teal) !important;
}

/* Step number watermark */
.process-step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(0,0,0,0.04);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
}
.process-card-featured .process-step-num {
    color: rgba(255,255,255,0.06);
}

.process-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.process-icon i { font-size: 1.5rem; }

.process-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D132B;
    margin-bottom: 10px;
}
.process-card p {
    font-size: 0.87rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 18px;
}

.process-points {
    list-style: none;
    padding: 0;
    margin: 0;
}
.process-points li {
    font-size: 0.82rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 7px;
}
.process-points li i {
    color: var(--teal);
    margin-right: 8px;
    font-size: 0.72rem;
}

@media (max-width: 767px) {
    .process-card { margin-bottom: 10px; }
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 991px) {
    /* Navbar */
    #darkModeToggle { margin-left: 8px !important; }
    .navbar-calibium .btn-enquire { padding: 8px 16px !important; font-size: 0.82rem; }

    /* Sections padding */
    .services-section, .portfolio-section, .testimonials-section,
    .blog-section, .process-section, .about-section, .enquiry-section { padding: 60px 0; }

    /* About */
    .about-content-box { padding: 30px 0 0; }
    .about-list { grid-template-columns: 1fr; }

    /* Enquiry */
    .eq-info-panel { min-height: auto; }
}

@media (max-width: 767px) {
    /* Typography */
    .section-title { font-size: 1.6rem; }
    .hero-title { font-size: 1.9rem; }

    /* Sections padding */
    .services-section, .portfolio-section, .testimonials-section,
    .blog-section, .process-section, .about-section, .enquiry-section { padding: 50px 0; }

    /* Footer CTA */
    .footer-cta { text-align: center; padding: 36px 0; }
    .footer-cta .col-lg-4 { text-align: center !important; }
    .footer-cta-btn { margin-top: 16px; display: inline-block; }
    .footer-cta h3 { font-size: 1.3rem; }

    /* Footer main */
    .footer-main { padding: 50px 0 20px; }
    .footer-socials { justify-content: flex-start; }

    /* Enquiry form */
    .enquiry-form-box { padding: 24px 16px; }
    .eq-info-panel { margin-bottom: 24px; padding: 28px 20px; }
    .eq-budget-group { gap: 8px; }
    .eq-budget-opt { font-size: 0.78rem; padding: 5px 10px; }

    /* About */
    .about-values { flex-direction: column; }
    .about-team-row { flex-direction: column; align-items: flex-start; }
    .about-dark-panel { padding: 28px 20px; }
    .about-stats-grid { gap: 12px; }

    /* Testimonials */
    .testi-card { margin-bottom: 16px; }
    #testiCarousel .carousel-inner { min-height: auto; }

    /* Process */
    .process-card { margin-bottom: 10px; padding: 24px 20px; }

    /* Service cards */
    .service-card { padding: 24px 20px; }

    /* Portfolio */
    .portfolio-filters { gap: 6px; }
    .pf-btn { padding: 6px 14px; font-size: 0.78rem; }

    /* Scroll top */
    #scrollTopBtn { bottom: 16px; right: 16px; width: 42px; height: 42px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-stats { gap: 16px; }
    .hero-stats .stat h3 { font-size: 1.5rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; }
    .section-title { font-size: 1.4rem; }
    .footer-cta h3 { font-size: 1.1rem; }
    .about-list { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; }
    .testi-controls { gap: 10px; }
    .navbar-calibium .navbar-brand { font-size: 1.4rem; }
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 90px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}
.newsletter-box {
    background: linear-gradient(135deg, #0D132B, #1a2d50);
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}
.nl-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}
.nl-shape-1 { width: 320px; height: 320px; background: var(--coral); top: -100px; right: -80px; }
.nl-shape-2 { width: 200px; height: 200px; background: var(--purple); bottom: -60px; left: -60px; }
.nl-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,111,97,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--coral);
    margin-bottom: 18px;
}
.nl-title {
    font-size: 2rem; font-weight: 800;
    color: #fff; margin-bottom: 14px; line-height: 1.2;
}
.nl-title span { color: var(--coral); }
.nl-sub {
    font-size: 0.92rem; color: rgba(255,255,255,0.65);
    line-height: 1.75; margin-bottom: 22px;
}
.nl-perks { display: flex; flex-wrap: wrap; gap: 14px; }
.nl-perks span {
    font-size: 0.82rem; font-weight: 600;
    color: rgba(255,255,255,0.8);
    display: flex; align-items: center; gap: 6px;
}
.nl-perks span i { color: var(--teal); }
.nl-form-group { margin-bottom: 14px; }
.nl-input {
    width: 100%; padding: 13px 18px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    font-size: 0.9rem; font-family: 'Poppins', sans-serif;
    color: #fff; background: rgba(255,255,255,0.08);
    outline: none; transition: border-color 0.3s, background 0.3s;
}
.nl-input::placeholder { color: rgba(255,255,255,0.4); }
.nl-input:focus {
    border-color: var(--coral);
    background: rgba(255,255,255,0.12);
}
.nl-input.is-invalid { border-color: var(--coral); }
.nl-submit {
    width: 100%; padding: 14px;
    background: var(--coral); color: #fff;
    border: none; border-radius: 12px;
    font-size: 0.95rem; font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 12px;
}
.nl-submit:hover { background: var(--purple); transform: translateY(-2px); color: #fff; }
.nl-privacy {
    font-size: 0.78rem; color: rgba(255,255,255,0.4);
    text-align: center; margin: 0;
}
.nl-privacy i { margin-right: 5px; }
.nl-alert {
    padding: 12px 16px; border-radius: 10px;
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 14px;
}
.nl-alert.success { background: rgba(46,196,182,0.15); color: var(--teal); border: 1px solid rgba(46,196,182,0.3); }
.nl-alert.error   { background: rgba(255,111,97,0.15);  color: var(--coral); border: 1px solid rgba(255,111,97,0.3); }

body.dark-mode .newsletter-section { background: #0f1a30; }

@media (max-width: 767px) {
    .newsletter-box { padding: 36px 24px; }
    .nl-title { font-size: 1.5rem; }
    .nl-perks { gap: 10px; }
}
