﻿/* ===================================
   SCRIBOTECH - Custom CSS
   =================================== */

:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #e3f2fd;
    --secondary: #ff5722;
    --accent: #00bcd4;
    --dark: #0d1b2a;
    --dark-2: #1a2940;
    --text: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 10px 40px rgba(26,115,232,0.12);
    --shadow-hover: 0 20px 60px rgba(26,115,232,0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --gradient: linear-gradient(135deg, #1a73e8, #00bcd4);
    --gradient-dark: linear-gradient(135deg, #0d1b2a, #1a2940);
    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    background: var(--white);
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

.section-padding { padding: 100px 0; }

/* ========== PRELOADER ========== */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-spinner {
    width: 56px; height: 56px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 16px;
}
.preloader-inner p { color: var(--white); font-family: var(--font-heading); font-size: 22px; font-weight: 700; letter-spacing: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== BACK TO TOP ========== */
.back-top-btn {
    position: fixed; bottom: 30px; right: 30px; z-index: 999;
    width: 48px; height: 48px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(26,115,232,0.4);
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
}
.back-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,115,232,0.5); }

/* ========== HEADER ========== */
.scrib-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}
.scrib-header.scrolled {
    background: rgba(13, 27, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.scrib-navbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.scrib-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.logo-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.logo-text { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.scrib-nav-menu { display: flex; align-items: center; gap: 4px; }
.scrib-nav-menu li { position: relative; }
.nav-link {
    display: block; padding: 10px 16px;
    font-family: var(--font-body); font-size: 15px; font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-link i { font-size: 11px; margin-left: 4px; }

/* Dropdown */
.has-dropdown .dropdown-menu-custom {
    position: absolute; top: calc(100% + 8px); left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 230px; padding: 12px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border: 1px solid var(--border);
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu-custom { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu-custom li a {
    display: block; padding: 10px 20px;
    color: var(--text); font-size: 14px; font-weight: 500;
    transition: var(--transition);
}
.dropdown-menu-custom li a:hover { color: var(--primary); background: var(--primary-light); padding-left: 24px; }
.header-cta { display: flex; align-items: center; gap: 16px; }

/* Buttons */
.scrib-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    transition: var(--transition); cursor: pointer; border: none;
    white-space: nowrap;
}
.scrib-btn-primary {
    background: var(--gradient); color: var(--white);
    box-shadow: 0 6px 24px rgba(26,115,232,0.35);
}
.scrib-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(26,115,232,0.45); color: var(--white); }
.scrib-btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.scrib-btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.scrib-btn-white { background: var(--white); color: var(--primary); }
.scrib-btn-white:hover { background: var(--primary-light); transform: translateY(-3px); }

/* Mobile toggle */
.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1099;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: var(--dark); z-index: 1100; padding: 28px 24px;
    transition: var(--transition); overflow-y: auto;
}
.mobile-menu.active { right: 0; }
.mobile-menu-close {
    background: none; border: none; color: var(--white); font-size: 22px;
    cursor: pointer; display: block; text-align: right; margin-bottom: 24px; width: 100%;
}
.mobile-logo img { width: 56px; border-radius: 8px; margin-bottom: 24px; }
.mobile-nav-list li a {
    display: block; padding: 14px 0;
    color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.mobile-nav-list li a:hover { color: var(--primary); padding-left: 8px; }

/* ========== HERO ========== */
.scrib-hero { position: relative; overflow: hidden; }
.hero-video-wrapper { position: absolute; inset: 0; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 100px; }
.hero-badge {
    display: inline-block; padding: 6px 20px;
    background: rgba(26,115,232,0.2); border: 1px solid rgba(26,115,232,0.4);
    color: #64b5f6; border-radius: 50px; font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-heading); font-size: clamp(40px, 6vw, 70px);
    font-weight: 900; color: var(--white); line-height: 1.15;
    margin-bottom: 20px; letter-spacing: -1px;
}
.text-gradient {
    background: linear-gradient(135deg, #42a5f5, #00bcd4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-contact-info { display: flex; justify-content: center; }
.hero-phone {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px; padding: 14px 28px;
}
.phone-icon {
    width: 42px; height: 42px; background: var(--gradient);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 16px;
}
.phone-text { text-align: left; }
.phone-text span { display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.phone-text a { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); }
.hero-scroll-down {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll-down a {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3); color: var(--white); font-size: 18px;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ========== SECTION COMMON ========== */
.section-badge {
    display: inline-block; padding: 6px 18px;
    background: var(--primary-light); color: var(--primary);
    border-radius: 50px; font-size: 13px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}
.section-badge.light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-title { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-title span { color: var(--primary); }
.section-title.text-white { color: var(--white); }
.section-title.text-white span { background: linear-gradient(135deg, #42a5f5, #00bcd4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-header { margin-bottom: 20px; }

/* ========== SERVICES ========== */
.scrib-services { background: var(--white); }
.service-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 28px; height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient); transform: scaleX(0); transform-origin: left;
    transition: var(--transition);
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap { margin-bottom: 24px; }
.service-icon-fallback {
    width: 72px; height: 72px;
    background: var(--primary-light);
    border-radius: var(--radius); display: flex;
    align-items: center; justify-content: center;
    font-size: 28px; color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .service-icon-fallback { background: var(--gradient); color: var(--white); }
.service-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--primary); }
.service-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.service-readmore { color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-readmore:hover { gap: 10px; }

/* ========== ABOUT ========== */
.bg-light { background: var(--light-bg) !important; }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: visible; }
.about-main-img { width: 100%; border-radius: var(--radius); box-shadow: 20px 20px 60px rgba(26,115,232,0.15); }
.about-exp-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--gradient); color: var(--white);
    border-radius: var(--radius); padding: 20px 28px; text-align: center;
    box-shadow: 0 10px 30px rgba(26,115,232,0.4);
    min-width: 130px;
}
.exp-number { display: block; font-family: var(--font-heading); font-size: 36px; font-weight: 900; line-height: 1; }
.exp-text { font-size: 13px; font-weight: 500; opacity: 0.9; }
.about-content { padding-left: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 16px; }
.about-features { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-feature-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--dark); }
.about-feature-item i { color: var(--primary); font-size: 18px; flex-shrink: 0; }
.about-cta-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.about-contact { display: flex; align-items: center; gap: 12px; }
.about-contact > i { width: 44px; height: 44px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 18px; }
.about-contact small { display: block; font-size: 12px; color: var(--text-light); }
.about-contact a { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--dark); }

/* ========== STATS ========== */
.scrib-stats { background: var(--gradient); padding: 70px 0; }
.stat-card { padding: 24px; }
.stat-card:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.2); }
.stat-number { font-family: var(--font-heading); font-size: 56px; font-weight: 900; color: var(--white); line-height: 1; display: inline; }
.stat-plus { font-family: var(--font-heading); font-size: 36px; font-weight: 900; color: var(--white); }
.stat-card p { color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 500; margin-top: 8px; margin-bottom: 0; }

/* ========== WHY CHOOSE US ========== */
.why-content p { color: var(--text-light); margin-bottom: 28px; }
.why-items { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: var(--transition); }
.why-item:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(26,115,232,0.1); }
.why-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); flex-shrink: 0; transition: var(--transition); }
.why-item:hover .why-icon { background: var(--gradient); color: var(--white); }
.why-text h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.why-text p { font-size: 14px; color: var(--text-light); margin: 0; }
.why-img-wrap { position: relative; }
.why-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.why-float-card {
    position: absolute; bottom: 24px; left: -24px;
    background: var(--white); border-radius: var(--radius);
    padding: 16px 20px; display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow);
}
.why-float-card > i { font-size: 24px; color: #ffc107; }
.why-float-card strong { display: block; font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--dark); }
.why-float-card span { font-size: 13px; color: var(--text-light); }

/* ========== PROCESS ========== */
.bg-dark-custom { background: var(--dark); }
.process-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 36px 24px;
    position: relative; overflow: hidden;
    transition: var(--transition);
}
.process-card:hover { background: rgba(26,115,232,0.15); border-color: rgba(26,115,232,0.4); transform: translateY(-6px); }
.process-num { font-family: var(--font-heading); font-size: 60px; font-weight: 900; color: rgba(255,255,255,0.06); position: absolute; top: 10px; right: 16px; line-height: 1; }
.process-icon { width: 60px; height: 60px; background: var(--gradient); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--white); margin-bottom: 20px; }
.process-card h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.process-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ========== SERVICE DETAIL CARDS ========== */
.service-detail-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.service-detail-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-detail-card:hover .service-detail-img { transform: scale(1.08); }
.service-detail-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, transparent 50%);
    display: flex; align-items: flex-end; padding: 28px;
    transition: var(--transition);
}
.service-detail-card:hover .service-detail-overlay { background: linear-gradient(to top, rgba(26,115,232,0.9) 0%, rgba(13,27,42,0.5) 100%); }
.service-detail-content h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.service-detail-content p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
.service-detail-btn { display: inline-block; padding: 8px 20px; background: var(--white); color: var(--primary); border-radius: 50px; font-size: 13px; font-weight: 700; }
.service-detail-btn:hover { background: var(--primary); color: var(--white); }

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 32px; border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin: 10px; transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial-stars { color: #ffc107; font-size: 16px; margin-bottom: 20px; display: flex; gap: 4px; }
.testimonial-card p { font-size: 16px; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar { width: 52px; height: 52px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 20px; flex-shrink: 0; }
.testimonial-author strong { display: block; font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--dark); }
.testimonial-author span { font-size: 13px; color: var(--text-light); }
.testimonial-pagination { margin-top: 24px !important; }
.testimonial-pagination .swiper-pagination-bullet { background: var(--border); width: 10px; height: 10px; opacity: 1; }
.testimonial-pagination .swiper-pagination-bullet-active { background: var(--primary); width: 28px; border-radius: 5px; }

/* ========== CTA ========== */
.scrib-cta { padding: 0; }
.cta-bg {
    background: var(--gradient-dark);
    padding: 80px 0;
    border-top: 3px solid var(--primary);
}
.cta-bg h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-bg p { font-size: 17px; color: rgba(255,255,255,0.7); margin: 0; }

/* ========== CONTACT STRIP ========== */
.contact-strip-item { display: flex; align-items: center; gap: 20px; padding: 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); height: 100%; transition: var(--transition); }
.contact-strip-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.contact-strip-icon { width: 60px; height: 60px; background: var(--gradient); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--white); flex-shrink: 0; }
.contact-strip-text h5 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-strip-text p, .contact-strip-text a { font-size: 15px; color: var(--text-light); margin: 0; }
.contact-strip-text a:hover { color: var(--primary); }

/* ========== FOOTER ========== */
.scrib-footer { background: var(--dark); }
.footer-top { padding: 80px 0 60px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { width: 44px; border-radius: 8px; }
.footer-logo span { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--white); }
.footer-widget p { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 16px; transition: var(--transition); }
.footer-social a:hover { background: var(--gradient); color: var(--white); transform: translateY(-3px); }
.footer-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: var(--gradient); border-radius: 2px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 15px; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '→'; opacity: 0; transform: translateX(-8px); transition: var(--transition); font-size: 12px; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 14px; }
.footer-contact-item i { color: var(--primary); font-size: 16px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a { color: rgba(255,255,255,0.55); font-size: 15px; }
.footer-contact-item a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
.footer-bottom p { color: rgba(255,255,255,0.45); margin: 0; font-size: 14px; }
.footer-bottom-links { display: flex; gap: 24px; justify-content: flex-end; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 14px; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .scrib-nav-menu { display: none; }
    .mobile-toggle { display: flex; }
    .section-padding { padding: 70px 0; }
    .about-content { padding-left: 0; margin-top: 50px; }
    .about-exp-badge { bottom: -15px; right: 15px; }
    .why-float-card { left: 10px; }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .footer-bottom-links { justify-content: flex-start; margin-top: 8px; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 36px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .about-features { grid-template-columns: 1fr; }
    .cta-bg { text-align: center; }
    .cta-bg .text-lg-end { text-align: center !important; margin-top: 24px; }
    .service-card { margin-bottom: 0; }
}

/* ========== HERO ANIMATED BACKGROUND (replaces video) ========== */
.hero-animated-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #0d1b2a, #1a2940, #0d3b6e, #1a5276, #0d2137, #163a5a);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.hero-animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(26,115,232,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,188,212,0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(26,115,232,0.08) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite alternate;
}

.hero-animated-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a73e8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

@keyframes pulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.05); }
}
