/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --bs-primary: #1e40af;
    --bs-primary-rgb: 30, 64, 175;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --card-bg: #ffffff;
    --text-main: #212529;
    --section-alt-bg: #f8f9fa;
    --border-subtle: rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] {
    --bs-primary: #3b82f6;
    --bs-primary-rgb: 59, 130, 246;
    --glass-bg: rgba(33, 37, 41, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --bg-gradient: linear-gradient(135deg, #212529 0%, #121416 100%);
    --card-bg: #1a1d20;
    --text-main: #f8f9fa;
    --bs-body-bg: #121416;
    --section-alt-bg: #141618;
    --border-subtle: rgba(255,255,255,0.06);
}
/* Base */
body {
    font-family: var(--font-primary);
    background: var(--bg-gradient);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    line-height: 1.7;
}
h1,h2,h3,h4,h5,h6,.navbar-brand { font-family: var(--font-heading); }
.font-outfit { font-family: var(--font-heading) !important; }
.text-gradient {
    background: linear-gradient(45deg, var(--bs-primary), #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Hover Lift */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb),.18); }
.hover-text-white { transition: color 0.2s ease; }
.hover-text-white:hover { color: white !important; }
/* Navbar */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    z-index: 1050;
}
.glass-nav.scrolled { box-shadow: var(--glass-shadow); }
.brand-text { font-weight: 700; font-size: 1.2rem; color: var(--text-main); transition: color 0.3s ease; }
.nav-link { font-weight: 500; font-size: 0.88rem; padding: 0.4rem 0.7rem !important; border-radius: 8px; transition: all 0.2s ease; }
.nav-link:hover, .nav-link.active { background: rgba(var(--bs-primary-rgb),.08); color: var(--bs-primary) !important; }
/* Breadcrumb */
.breadcrumb-section { background: var(--section-alt-bg); border-bottom: 1px solid var(--border-subtle); padding-top: 90px; }
.breadcrumb-nav { padding: 0.6rem 0; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; color: var(--bs-secondary); }
.breadcrumb-item a { color: var(--bs-primary); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: var(--bs-secondary); }
/* Page Header */
.page-header { position: relative; padding: 6rem 0 4rem; margin-top: 76px; overflow: hidden; }
.page-header-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,110,253,.92) 0%, rgba(13,110,253,.65) 100%); z-index: 1; }
.page-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(40%); }
.page-header-content { position: relative; z-index: 3; }
/* Section Titles */
.section-title { position: relative; display: inline-block; padding-bottom: 0.6rem; margin-bottom: 0.25rem; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(90deg, var(--bs-primary), #0dcaf0); border-radius: 2px; }
.section-title.text-start::after { left: 0; transform: none; }
/* Hero Carousel */
.hero-section { position: relative; overflow: hidden; }
.hero-carousel .carousel-item { height: 100vh; min-height: 600px; background-color: #000; }
.hero-carousel .carousel-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-carousel .carousel-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 100%); z-index: 2; }
.hero-carousel .overlay-right { background: linear-gradient(270deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 100%); }
.hero-carousel .overlay-center { background: rgba(0,0,0,.35); }
.hero-carousel .carousel-caption-custom { z-index: 3; }
.hero-carousel .carousel-caption-custom h1, .hero-carousel .carousel-caption-custom p { text-shadow: 0 4px 12px rgba(0,0,0,.6); }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
.slide-up { animation: slideUpFade 1s ease forwards; }
@keyframes slideUpFade { 0%{opacity:0;transform:translateY(40px)} 100%{opacity:1;transform:translateY(0)} }
/* Cards */
.service-card { background: var(--card-bg) !important; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--border-subtle) !important; }
[data-bs-theme="dark"] .service-card { border: 1px solid rgba(255,255,255,.05) !important; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.12) !important; }
/* Stats Section */
.stats-section { background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%); position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: rgba(255,255,255,.04); border-radius: 50%; }
.stat-card { text-align: center; padding: 2rem 1rem; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); transition: transform 0.3s ease, background 0.3s ease; }
.stat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }
.stat-number { font-size: 2.8rem; font-weight: 800; line-height: 1; font-family: var(--font-heading); color: #fff; }
.stat-label { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,.8); margin-top: 0.4rem; }
.stat-icon { font-size: 2rem; color: rgba(255,255,255,.5); margin-bottom: 0.75rem; }
/* Testimonials */
.testimonial-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 1rem; right: 1.5rem; font-size: 4rem; line-height: 1; font-family: Georgia,serif; color: rgba(var(--bs-primary-rgb),.12); font-weight: 900; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,.08); }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(var(--bs-primary-rgb),.2); }
.stars { color: #ffc107; font-size: 0.9rem; }
/* FAQ */
.faq-accordion .accordion-item { background: var(--card-bg); border: 1px solid var(--border-subtle) !important; border-radius: 12px !important; margin-bottom: 0.75rem; overflow: hidden; }
.faq-accordion .accordion-button { background: var(--card-bg); color: var(--text-main); font-weight: 600; font-size: 1rem; padding: 1.25rem 1.5rem; border-radius: 12px !important; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { background: rgba(var(--bs-primary-rgb),.06); color: var(--bs-primary); border-radius: 12px 12px 0 0 !important; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb),.15); }
.faq-accordion .accordion-body { background: var(--card-bg); color: var(--text-main); padding: 1rem 1.5rem 1.5rem; font-size: 0.95rem; line-height: 1.7; }
/* Blog Cards */
.blog-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.blog-card-img { height: 220px; object-fit: cover; width: 100%; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 50px; background: rgba(var(--bs-primary-rgb),.1); color: var(--bs-primary); display: inline-block; margin-bottom: 0.75rem; }
.blog-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.75rem; color: var(--text-main); }
.blog-card-title a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.blog-card-title a:hover { color: var(--bs-primary); }
.blog-meta { font-size: 0.82rem; color: var(--bs-secondary); margin-bottom: 0.75rem; }
.blog-excerpt { font-size: 0.9rem; color: var(--bs-secondary); flex: 1; }
/* Article Page */
.article-hero { height: 400px; object-fit: cover; width: 100%; border-radius: 16px; }
.article-content { font-size: 1.05rem; line-height: 1.85; }
.article-content h2 { font-size: 1.6rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li { margin-bottom: 0.4rem; }
.article-content blockquote { border-left: 4px solid var(--bs-primary); padding: 1rem 1.5rem; margin: 1.5rem 0; background: rgba(var(--bs-primary-rgb),.05); border-radius: 0 8px 8px 0; font-style: italic; }
.article-toc { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1.5rem; position: sticky; top: 90px; }
.article-toc ul { list-style: none; padding: 0; }
.article-toc li { margin-bottom: 0.5rem; }
.article-toc a { color: var(--bs-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.article-toc a:hover { color: var(--bs-primary); }
/* Team */
.team-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0,0,0,.1); }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 2rem auto 1rem; border: 4px solid rgba(var(--bs-primary-rgb),.15); display: block; }
/* Contact */
.contact-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 2.5rem; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.form-control,.form-select { background: var(--card-bg); border: 1.5px solid var(--border-subtle); border-radius: 10px; color: var(--text-main); padding: 0.75rem 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-control:focus,.form-select:focus { background: var(--card-bg); border-color: var(--bs-primary); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb),.15); color: var(--text-main); }
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
/* Placements */
.company-logo-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, box-shadow 0.3s ease; height: 70px; font-weight: 700; font-size: 0.95rem; color: var(--bs-secondary); }
.company-logo-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.08); color: var(--bs-primary); }
/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
/* Footer */
.footer { background: #0f1117; }
.footer-link { color: rgba(255,255,255,.55); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; display: block; margin-bottom: 0.5rem; }
.footer-link:hover { color: #fff; }
.social-icon { transition: all 0.3s ease; text-decoration: none; }
.social-icon:hover { background: var(--bs-primary) !important; transform: translateY(-3px); }
/* Carousel */
.carousel-img { height: 500px; object-fit: cover; object-position: center; }
.carousel-caption-glass { background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1.5rem; }
.carousel-caption-glass h5 { font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
/* Map */
.map-wrapper iframe { border-radius: 12px; width: 100%; display: block; }
/* Utilities */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-6 { padding-top: 5rem; }
.pb-6 { padding-bottom: 5rem; }
.experience-badge { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); }
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.5rem !important; }
.bg-body-tertiary { background-color: var(--section-alt-bg) !important; }
.icon-box { box-shadow: 0 5px 15px rgba(0,0,0,.08); }
.highlight-box { background: rgba(var(--bs-primary-rgb),.05); border: 1px solid rgba(var(--bs-primary-rgb),.12); border-radius: 12px; padding: 1.25rem 1.5rem; }
.featured-answer { background: linear-gradient(135deg, rgba(var(--bs-primary-rgb),.06), rgba(13,202,240,.06)); border-left: 4px solid var(--bs-primary); border-radius: 0 12px 12px 0; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.7; }
.qa-box { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.25rem; }
.qa-box .qa-question { font-weight: 700; font-size: 1rem; margin-bottom: 0.6rem; color: var(--bs-primary); }
.qa-box .qa-answer { font-size: 0.95rem; line-height: 1.7; margin: 0; }
/* Responsive */
@media (max-width: 992px) { .hero-carousel .carousel-item { height: 80vh; } .stat-number { font-size: 2.2rem; } }
@media (max-width: 768px) { .hero-carousel .carousel-item { height: 70vh; min-height: 550px; } .page-header { padding: 4rem 0 3rem; } .article-hero { height: 250px; border-radius: 10px; } .contact-card { padding: 1.5rem; } .py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
@media (max-width: 576px) { .stat-number { font-size: 1.9rem; } .hero-carousel .carousel-item { height: 100svh; } }
