/* =========================================================
   MicroStarX — Modern Custom Stylesheet
   ========================================================= */

/* --- CSS Variables --- */
:root {
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --primary-light: #1E88E5;
    --accent: #00BCD4;
    --dark: #0A1628;
    --dark-2: #112240;
    --light: #F4F7FC;
    --text-muted: #8892A4;
    --white: #ffffff;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 40px rgba(10,22,40,0.12);
    --shadow-lg: 0 20px 60px rgba(10,22,40,0.20);
    --radius: 12px;
    --radius-lg: 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 15px;
    color: #2d3748;
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* =========================================================
   LOADING SPINNER
   ========================================================= */
#spinner {
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#spinner.show { opacity: 1; visibility: visible; }
#spinner.hide { opacity: 0; visibility: hidden; }

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: var(--accent); }
.topbar .topbar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    font-size: 11px;
    color: #fff;
    flex-shrink: 0;
}
.topbar .topbar-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-main {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(10,22,40,0.08);
    padding: 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-main.scrolled {
    box-shadow: 0 4px 30px rgba(10,22,40,0.15);
}
.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
}
.navbar-brand-logo img {
    height: 40px;
    width: auto;
}
.brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.navbar-main .nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 22px 16px !important;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
}
.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 16px; right: 16px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--primary) !important;
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-main .dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 10px;
    min-width: 200px;
    animation: dropIn 0.25s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.navbar-main .dropdown-item {
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}
.navbar-main .dropdown-item:hover {
    background: var(--primary);
    color: #fff !important;
    padding-left: 20px;
}
.navbar-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 13px;
    margin-left: 5px;
    transition: var(--transition);
}
.navbar-social-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION (index.html)
   ========================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-slide img.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.80) 0%, rgba(21,101,192,0.55) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 820px;
    padding: 0 20px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 50px;
    padding: 7px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    line-height: 1.8;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(21,101,192,0.45);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(21,101,192,0.55);
    color: #fff;
}
.btn-hero-outline {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.60);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
}
/* Swiper custom nav */
.hero-slider .swiper-slide { pointer-events: none; }
.hero-slider .swiper-slide-active { pointer-events: auto; }

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.30);
    width: 50px; height: 50px;
    border-radius: 50%;
    z-index: 99;
    transition: var(--transition);
}
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after { font-size: 18px; }
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover { background: var(--primary); border-color: var(--primary); }
.hero-slider .swiper-pagination-bullet { background: rgba(255,255,255,0.6); }
.hero-slider .swiper-pagination-bullet-active { background: #fff; }

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-header {
    position: relative;
    padding: 100px 0 70px;
    text-align: center;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary-light) 100%);
    z-index: 0;
}
.page-header img.page-header-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 14px; }
.page-header .breadcrumb { background: transparent; justify-content: center; margin: 0; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.page-header .breadcrumb-item a:hover { color: #fff; }
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Geometric deco */
.page-header .deco-circle {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    z-index: 0;
}
.page-header .deco-1 { width: 300px; height: 300px; top: -80px; right: -80px; }
.page-header .deco-2 { width: 180px; height: 180px; bottom: -50px; left: 10%; }

/* =========================================================
   SECTION TITLE
   ========================================================= */
.section-title {
    text-align: center;
    margin-bottom: 55px;
}
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(21,101,192,0.12), rgba(0,188,212,0.12));
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(21,101,192,0.18);
}
.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 14px;
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 18px;
}
.section-divider span {
    display: block;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.section-divider .line-lg { width: 50px; }
.section-divider .line-sm { width: 10px; }
.section-title p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =========================================================
   STATS / FACTS BAR
   ========================================================= */
.stats-bar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,188,212,0.15) 0%, transparent 70%);
    top: -100px; right: -100px;
}
.stat-item { text-align: center; color: #fff; }
.stat-item .stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.70);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-item .stat-icon {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    border: 1px solid rgba(21,101,192,0.08);
    box-shadow: 0 5px 25px rgba(10,22,40,0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-box {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(21,101,192,0.10), rgba(0,188,212,0.10));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition);
    font-size: 28px;
    color: var(--primary);
}
.service-card:hover .service-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    transform: scale(1.05);
}
.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}
.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}
.service-card .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.service-card:hover .read-more { gap: 10px; color: var(--primary-dark); }

/* Dark service cards (for homepage top section) */
.service-card-dark {
    background: linear-gradient(135deg, var(--dark-2), var(--dark));
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card-dark::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(0,188,212,0.2) 0%, transparent 70%);
}
.service-card-dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    border-color: rgba(21,101,192,0.3);
}
.service-card-dark h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.service-card-dark p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.75; }
.service-card-dark .card-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    position: absolute;
    bottom: 10px; right: 20px;
    line-height: 1;
}
.service-card-dark .icon-wrap {
    width: 58px; height: 58px;
    background: rgba(21,101,192,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
}
.service-card-dark:hover .icon-wrap {
    background: var(--primary);
    color: #fff;
}

/* =========================================================
   SPLIT SECTIONS (about, software, graphic design)
   ========================================================= */
.split-section { overflow: hidden; }
.split-img-wrap {
    position: relative;
    height: 100%;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.split-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.split-img-wrap:hover img { transform: scale(1.04); }
.split-img-badge {
    position: absolute;
    bottom: 25px; left: 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(21,101,192,0.40);
}
.split-img-badge .num { font-size: 2rem; font-weight: 900; display: block; line-height: 1; }
.split-content { padding: 40px 20px; }
.split-content h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.split-content p { color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; }
.split-list { list-style: none; padding: 0; margin-bottom: 28px; }
.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: #3d4d65;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.split-list li:last-child { border-bottom: none; }
.split-list li .check-icon {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* =========================================================
   PROJECT / PORTFOLIO CARDS
   ========================================================= */
.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(10,22,40,0.08);
    transition: var(--transition);
    background: #fff;
    height: 100%;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.portfolio-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.06); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.75), rgba(21,101,192,0.60));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-body {
    padding: 22px 24px;
}
.portfolio-body .tag {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.portfolio-body h5 { font-size: 16px; font-weight: 700; margin: 0; color: var(--dark); }

/* =========================================================
   TEAM CARDS
   ========================================================= */
.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(10,22,40,0.08);
    transition: var(--transition);
    background: #fff;
    text-align: center;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.team-card-img {
    position: relative;
    overflow: hidden;
    height: 260px;
}
.team-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-social-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(10,22,40,0.85), transparent);
    padding: 20px 16px 14px;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    gap: 8px;
}
.team-card:hover .team-social-overlay { transform: translateY(0); }
.team-social-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.20);
    color: #fff;
    font-size: 13px;
    transition: var(--transition);
}
.team-social-overlay a:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.team-card-body {
    padding: 20px 16px 22px;
}
.team-card-body h5 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.team-card-body span { color: var(--primary); font-size: 13px; font-weight: 500; }

/* Client cards */
.client-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(10,22,40,0.07);
    transition: var(--transition);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid rgba(21,101,192,0.06);
}
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(21,101,192,0.2);
}
.client-card img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* =========================================================
   WHY CHOOSE US / FEATURES
   ========================================================= */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 3px 15px rgba(10,22,40,0.06);
    transition: var(--transition);
    height: 100%;
}
.feature-box:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--primary);
}
.feature-box .icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(21,101,192,0.12), rgba(0,188,212,0.12));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}
.feature-box:hover .icon { background: var(--primary); color: #fff; }
.feature-box h6 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--dark); }
.feature-box p { color: var(--text-muted); font-size: 13px; line-height: 1.65; margin: 0; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 60%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -150px; right: -100px;
}
.cta-banner::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    bottom: -80px; left: -50px;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 28px; }

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: 0 5px 25px rgba(10,22,40,0.08);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: var(--transition);
    border: 1px solid rgba(21,101,192,0.06);
    height: 100%;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(21,101,192,0.20);
}
.contact-info-card .info-icon {
    width: 55px; height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}
.contact-info-card h6 { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.contact-info-card p { font-size: 15px; font-weight: 600; color: var(--dark); margin: 0; }

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border: 2px solid rgba(21,101,192,0.10);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--light);
    color: var(--dark);
}
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(21,101,192,0.10);
    background: #fff;
}
.contact-form-wrap label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 5px 25px rgba(10,22,40,0.07);
    border: 1px solid rgba(21,101,192,0.06);
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px; right: 24px;
    font-size: 80px;
    line-height: 1;
    color: rgba(21,101,192,0.08);
    font-family: Georgia, serif;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #F5A623; font-size: 14px; margin-bottom: 14px; }
.testimonial-card p { color: #4a5568; line-height: 1.8; font-size: 14px; margin-bottom: 20px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(21,101,192,0.2); }
.testimonial-card .author-name { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.testimonial-card .author-role { font-size: 12px; color: var(--text-muted); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(21,101,192,0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(21,101,192,0.45);
    color: #fff;
}
.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.70);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(21,101,192,0.08) 0%, transparent 70%);
    top: -150px; right: -150px;
    z-index: 0;
}
.footer .container { position: relative; z-index: 1; }
.footer-logo .brand-text { font-size: 28px; }
.footer p { color: rgba(255,255,255,0.60); font-size: 14px; line-height: 1.8; }
.footer h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 35px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
    color: rgba(255,255,255,0.60);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links li a:hover { color: var(--accent); padding-left: 5px; }
.footer-links li a i { font-size: 11px; color: var(--accent); }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.60);
    margin-right: 8px;
    margin-bottom: 8px;
    transition: var(--transition);
    font-size: 14px;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}
.newsletter-input {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}
.newsletter-input input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: none;
    padding: 12px 18px;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.newsletter-input input::placeholder { color: rgba(255,255,255,0.40); }
.newsletter-input button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-input button:hover { opacity: 0.9; }
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 18px 0;
    margin-top: 50px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(21,101,192,0.40);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    text-decoration: none;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); color: #fff; }

/* =========================================================
   404 PAGE
   ========================================================= */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    text-align: center;
    padding: 40px 20px;
}
.error-number {
    font-size: clamp(6rem, 20vw, 15rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,188,212,0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}
.error-page h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 16px; }
.error-page p { color: rgba(255,255,255,0.70); font-size: 16px; margin-bottom: 35px; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.mission-vision-card {
    background: linear-gradient(135deg, var(--dark-2), var(--dark));
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    color: #fff;
    height: 100%;
    border: 1px solid rgba(21,101,192,0.20);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.mission-vision-card::before {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(0,188,212,0.15), transparent 70%);
    top: -30px; right: -30px;
}
.mission-vision-card:hover { transform: translateY(-6px); border-color: rgba(21,101,192,0.40); }
.mission-vision-card .mv-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 18px; }
.mission-vision-card h4 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.mission-vision-card p { color: rgba(255,255,255,0.70); line-height: 1.8; font-size: 14px; }

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); }
.bg-gradient-dark { background: linear-gradient(135deg, var(--dark), var(--dark-2)); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-bg { background: var(--light); }
.section-py { padding: 90px 0; }
.section-py-sm { padding: 60px 0; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }

/* AOS overrides */
[data-aos] { transition-duration: 700ms; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
    .navbar-main .nav-link { padding: 12px 16px !important; }
    .navbar-main .nav-link::after { display: none; }
    .hero-slider, .hero-slide { height: 85vh; min-height: 520px; }
    .section-py { padding: 60px 0; }
    .split-img-wrap { min-height: 320px; border-radius: var(--radius); margin-bottom: 30px; }
    .stats-bar { padding: 40px 0; }
}
@media (max-width: 767.98px) {
    .topbar { display: none !important; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .cta-banner { padding: 40px 25px; }
    .contact-form-wrap { padding: 25px; }
    .footer { padding-top: 50px; }
    .section-py { padding: 50px 0; }
    .stat-item { margin-bottom: 30px; }
    .page-header { padding: 70px 0 50px; }
}
@media (max-width: 575.98px) {
    .hero-slide { height: 100svh; }
    .btn-hero-primary, .btn-hero-outline { padding: 12px 24px; font-size: 14px; }
    .error-number { font-size: 7rem; }
}

/* =========================================================
   MODERN SPLIT HERO (2026 Redesign)
   ========================================================= */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}
.float-card-1 { animation: float 6s ease-in-out infinite; }
.float-card-2 { animation: float 7s ease-in-out infinite reverse; }

/* =========================================================
   DARK MODE OVERRIDES (Native Bootstrap [data-bs-theme="dark"])
   ========================================================= */
[data-bs-theme="dark"] body {
    background-color: var(--dark-2);
}
[data-bs-theme="dark"] .bg-white {
    background-color: var(--dark) !important;
}
[data-bs-theme="dark"] .text-dark {
    color: #fff !important;
}
[data-bs-theme="dark"] .navbar-main {
    background: rgba(10, 22, 40, 0.95) !important;
}
[data-bs-theme="dark"] .navbar-main .nav-link {
    color: rgba(255,255,255,0.85) !important;
}
[data-bs-theme="dark"] .navbar-main .nav-link:hover,
[data-bs-theme="dark"] .navbar-main .nav-link.active {
    color: var(--accent) !important;
}
[data-bs-theme="dark"] .navbar-main .dropdown-menu {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.1);
}
[data-bs-theme="dark"] .navbar-main .dropdown-item {
    color: rgba(255,255,255,0.85);
}
[data-bs-theme="dark"] .navbar-main .dropdown-item:hover {
    background: var(--primary);
}
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .portfolio-card,
[data-bs-theme="dark"] .team-card,
[data-bs-theme="dark"] .feature-box,
[data-bs-theme="dark"] .client-card {
    background-color: var(--dark) !important;
    border-color: rgba(255,255,255,0.05) !important;
}
[data-bs-theme="dark"] .service-card h4,
[data-bs-theme="dark"] .service-card h5,
[data-bs-theme="dark"] .portfolio-body h5,
[data-bs-theme="dark"] .team-card-body h5,
[data-bs-theme="dark"] .feature-box h6 {
    color: #fff !important;
}
[data-bs-theme="dark"] .bg-light {
    background-color: var(--dark-2) !important;
}
[data-bs-theme="dark"] .text-muted {
    color: rgba(255,255,255,0.65) !important;
}
[data-bs-theme="dark"] .service-card:hover,
[data-bs-theme="dark"] .portfolio-card:hover,
[data-bs-theme="dark"] .team-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
