/* ============================================================
   ROOT.CSS - RB Tech Services Combined Stylesheet
   Covers: all inner pages (root.css) + homepage (roots.css)
   Primary brand colour: #002b7f
   ============================================================ */

/* ---- SHARED VARIABLES ---- */

.site-header { transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease; }

body{
user-select:none;
-webkit-user-select:none;
-ms-user-select:none;
}


:root {
    /* Brand colours */
    --primary: #002b7f;
    --primary-dark: #001a4f;
    --secondary: #0066cc;
    --accent: #00c4ff;
    --accent-2: #00e5b0;
    --dark: #0a0a0f;
    --light: #f4f6fb;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #e8ecf4;

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #002b7f 0%, #0066cc 100%);
    --gradient-2: linear-gradient(135deg, #00c4ff 0%, #00e5b0 100%);
    --gradient-hero: linear-gradient(135deg, #f0f4ff 0%, #e0eaff 50%, #ccdaff 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,43,127,0.08);
    --shadow-md: 0 8px 24px rgba(0,43,127,0.12);
    --shadow-lg: 0 16px 48px rgba(0,43,127,0.18);
    --shadow-xl: 0 24px 64px rgba(0,43,127,0.22);

    /* Misc */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}


/* Hide social bar when mobile menu is open */
.mobile-menu.open ~ .social-bar,
.mobile-overlay.open ~ .social-bar {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Alternative selector if the above doesn't work */
body:has(.mobile-menu.open) .social-bar {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins'; color: #1a1a2e; line-height: 1.7; overflow-x: hidden; background: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: 'Sora', 'Poppins', 'Segoe UI', sans-serif; font-weight: 700; line-height: 1.25; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }
.container-fluid { padding-left: 50px; padding-right: 50px; }

/* ---- UTILITY ---- */
.gradient-text { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.badge-primary { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); background: rgba(0,43,127,0.08); padding: 7px 18px; border-radius: 50px; margin-bottom: 16px; border: 1px solid rgba(0,43,127,0.15); }
.section-title { font-size: 38px; font-weight: 800; margin-bottom: 18px; color: #0d1b4b; }
.section-desc { font-size: 17px; color: var(--gray); max-width: 620px; margin: 0 auto; }
.section-pad { padding: 90px 0; }

/* ---- BUTTONS ---- */
.btn-primary-rb { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--gradient-1); color: #fff; border-radius: 50px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: var(--transition); }
.btn-primary-rb:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-outline-rb { display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px; background: transparent; color: var(--primary); border-radius: 50px; font-weight: 600; font-size: 15px; border: 2px solid var(--primary); transition: var(--transition); }
.btn-outline-rb:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-white { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: #fff; color: var(--primary); border-radius: 50px; font-weight: 700; font-size: 15px; transition: var(--transition); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
/* Homepage button aliases */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 35px; background: var(--gradient-1); color: #fff; border-radius: 50px; font-weight: 600; font-size: 15px; transition: var(--transition); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-primary i { transition: var(--transition); }
.btn-primary:hover i { transform: translateX(5px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 15px 35px; background: transparent; color: var(--primary); border-radius: 50px; font-weight: 600; border: 2px solid var(--primary); transition: var(--transition); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-large { padding: 18px 45px; font-size: 18px; }
.btn-small { display: inline-block; padding: 6px 15px; background: var(--primary); color: #fff; border-radius: 50px; font-size: 12px; font-weight: 600; transition: var(--transition); }
.btn-small:hover { background: var(--accent-2); color: #fff; }

/* ---- CARDS ---- */
.card-rb { background: #fff; border-radius: var(--radius-md); padding: 32px; border: 1px solid var(--gray-light); transition: var(--transition); }
.card-rb:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,43,127,0.2); }
.icon-box { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin-bottom: 20px; }
.feature-card { background: #fff; border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--gray-light); transition: var(--transition); height: 100%; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,43,127,0.2); }
.feature-card .fi { width: 52px; height: 52px; border-radius: 12px; background: rgba(0,43,127,0.08); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); margin-bottom: 16px; transition: var(--transition); }
.feature-card:hover .fi { background: var(--gradient-1); color: #fff; }
.feature-card h4 { font-size: 16px; color: #0d1b4b; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray); }

/* ---- HEADER (shared) ---- */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 18px 0; transition: var(--transition); }


.site-header.is-transparent { background: transparent;     position: absolute; }
.site-header.is-sticky { background: #fff; box-shadow: var(--shadow-md); padding: 10px 0; }
.site-header.is-sticky .nav-link-main { color: #0d1b4b !important; }
.site-header.is-sticky .logo-white { display: none; }
.site-header.is-sticky .logo-dark { display: block !important; }
.site-header .logo-white { display: block; }
.site-header .logo-dark { display: none; }
.logo img { max-height: 45px;
    margin-bottom: -5px; }
.canvas-menu { cursor: pointer; display: none; background: none; border: none; padding: 8px; }
@media (max-width: 991px) { .canvas-menu { display: flex !important; } }

/* Desktop Nav */
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-item-main { position: relative; }
.nav-link-main { display: flex; align-items: center; gap: 5px; padding: 8px 14px; font-size: 17px; font-weight: 500; color: #0d1b4b; border-radius: 8px; transition: var(--transition); white-space: nowrap; }
.nav-link-main:hover { background: rgba(0,43,127,0.07); color: var(--primary); }
.nav-link-main .arrow { font-size: 12px; transition: var(--transition); }
.nav-item-main:hover .arrow { transform: rotate(90deg); }

/* Mega dropdown */
.mega-dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); min-width: 680px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); padding: 28px; opacity: 0; visibility: hidden; transition: var(--transition); border: 1px solid var(--gray-light); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; z-index: 100; }
.nav-item-main:hover .mega-dropdown { opacity: 1; visibility: visible; top: calc(100% + 4px); }
.mega-col h6 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-light); }
.mega-col ul li a { display: block; font-size: 13.5px; color: #374151; padding: 6px 0; transition: var(--transition); }
.mega-col ul li a:hover { color: var(--primary); padding-left: 6px; }

/* Normal dropdown */
.normal-dropdown { position: absolute; top: calc(100% + 12px); left: 0; min-width: 220px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; visibility: hidden; transition: var(--transition); border: 1px solid var(--gray-light); z-index: 100; }
.nav-item-main:hover .normal-dropdown { opacity: 1; visibility: visible; top: calc(100% + 4px); }
.normal-dropdown a { display: block; font-size: 14px; color: #374151; padding: 9px 14px; border-radius: 6px; transition: var(--transition); }
.normal-dropdown a:hover { background: rgba(0,43,127,0.06); color: var(--primary); }

/* CTA button in header */
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; background: var(--gradient-1); color: #fff; border-radius: 50px; font-size: 14px; font-weight: 600; transition: var(--transition); }
.header-cta:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: #fff; }

/* Mobile menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 310px; height: 100vh; background: #fff; z-index: 1002; overflow-y: auto; transition: right 0.35s ease; padding: 24px; box-shadow: var(--shadow-xl); }
.mobile-menu.open { right: 0; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu-close { width: 36px; height: 36px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; margin-bottom: 24px; border: none; font-size: 18px; }
.mob-nav-btn { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--gray-light); font-weight: 600; color: #0d1b4b; font-size: 15px; width: 100%; background: none; border-left: none; border-right: none; border-top: none; cursor: pointer; font-family: inherit; }
.mob-sub { display: none; padding: 8px 0 8px 14px; }
.mob-sub.open { display: block; }
.mob-sub a { display: block; padding: 7px 0; font-size: 13.5px; color: var(--gray); }
.mob-sub a:hover { color: var(--primary); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { padding: 160px 0 80px; background: var(--gradient-hero); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -30%; right: -10%; width: 60%; height: 140%; background: radial-gradient(circle, rgba(0,43,127,0.1) 0%, transparent 70%); border-radius: 50%; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: 52px; color: #0d1b4b; margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: #4b5a7a; max-width: 580px; }
.breadcrumb-rb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); margin-bottom: 18px; }
.breadcrumb-rb a { color: var(--primary); font-weight: 600; }
.breadcrumb-rb .sep { opacity: 0.5; }

/* ---- HOMEPAGE HERO ---- */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #f5f9ff 0%, #e6f0ff 50%, #d4e6ff 100%); overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.gradient-orb { position: absolute; top: -30%; right: -10%; width: 70%; height: 70%; background: radial-gradient(circle, rgba(0,43,127,0.25) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); animation: orbFloat 20s ease-in-out infinite; }
.gradient-orb-2 { position: absolute; bottom: -30%; left: -10%; width: 70%; height: 70%; background: radial-gradient(circle, rgba(0,196,255,0.2) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); animation: orbFloat 25s ease-in-out infinite reverse; }
@keyframes orbFloat { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(5%,5%) scale(1.1); } 66% { transform: translate(-5%,-5%) scale(0.9); } }
.hero-section .container { position: relative; z-index: 2; }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 28px; color: #0d1b4b; }
@media (min-width: 992px) { .hero-title { font-size: 62px; } }
.hero-description { font-size: 18px; color: #2d4a7a; margin-bottom: 40px; font-weight: 500; max-width: 560px; line-height: 1.75; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Floating elements animation */
.hero-animation { position: relative; height: 420px; }
.floating-elements { position: relative; width: 100%; height: 100%; }
.element { position: absolute; width: 72px; height: 72px; background: var(--gradient-1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; animation: float 6s ease-in-out infinite; box-shadow: var(--shadow-lg); }
.element-1 { top: 10%; left: 10%; animation-delay: 0s; }
.element-2 { top: 30%; right: 10%; animation-delay: 2s; }
.element-3 { bottom: 20%; left: 20%; animation-delay: 1s; }
.element-4 { bottom: 40%; right: 20%; animation-delay: 3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ---- HOMEPAGE SECTIONS ---- */
/* Trusted */
.trusted-section { padding: 56px 0; background: var(--light); }
.trusted-wrapper { text-align: center; }
.trusted-title { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--gray); margin-bottom: 28px; font-weight: 600; }
.trusted-logos { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.logo-item { opacity: 1;  }
.logo-item:hover { opacity: 1; filter: grayscale(0); }
.logo-item img { max-height: 55px; }

/* Section header */
.section-header { max-width: 700px; margin: 0 auto 50px; }
.section-subtitle { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); background: rgba(0,43,127,0.08); padding: 7px 18px; border-radius: 50px; margin-bottom: 14px; border: 1px solid rgba(0,43,127,0.12); }
.section-description { font-size: 17px; color: var(--gray); }

/* Services */
.services-section { padding: 80px 0; background: #fff; }
.service-card { background: #fff; border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; border: 1px solid rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-icon { width: 68px; height: 68px; background: var(--gradient-1); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: #fff; font-size: 30px; transition: var(--transition); }
.service-card:hover .service-icon { transform: rotateY(180deg); }
.service-card h3 { font-size: 20px; margin-bottom: 14px; color: #0d1b4b; }
.service-card p { color: var(--gray); margin-bottom: 20px; font-size: 15px; }
.service-link { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.service-link i { transition: var(--transition); }
.service-link:hover i { transform: translateX(5px); }

/* Solutions grid */
.solutions-section { padding: 80px 0; background: var(--light); }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.solution-item { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); cursor: pointer; height: 250px; }
.solution-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.solution-item:hover img { transform: scale(1.1); }
.solution-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.82), transparent); color: #fff; }
.solution-content h4 { font-size: 19px; margin-bottom: 4px; }
.solution-content p { font-size: 13px; opacity: 0.9; margin-bottom: 10px; }

/* Tech stack */
.tech-stack-section { padding: 80px 0; background: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.tech-category { background: var(--light); border-radius: var(--radius-md); padding: 28px; transition: var(--transition); }
.tech-category:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tech-category h3 { font-size: 17px; margin-bottom: 16px; color: var(--primary); padding-bottom: 10px; border-bottom: 2px solid rgba(0,43,127,0.15); }
.tech-category ul li { margin-bottom: 10px; display: flex; align-items: center; font-size: 14px; color: #374151; }
.tech-category ul li i { width: 26px; font-size: 17px; color: var(--primary); }

/* Case studies (homepage) */
.case-studies-section { padding: 80px 0; background: var(--light); }
.case-studies-grid { display: grid; gap: 28px; }
.case-study-card { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.case-study-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .case-study-card { grid-template-columns: 1fr; } }
.case-study-image { height: 260px; overflow: hidden; }
.case-study-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.case-study-card:hover .case-study-image img { transform: scale(1.06); }
.case-study-content { padding: 32px; }
.case-category { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--primary); background: rgba(0,43,127,0.07); padding: 5px 12px; border-radius: 50px; margin-bottom: 12px; }
.case-study-content h3 { font-size: 22px; margin-bottom: 10px; color: #0d1b4b; }
.case-study-content p { color: var(--gray); margin-bottom: 20px; font-size: 14px; line-height: 1.75; }
.case-results { display: flex; gap: 22px; margin-bottom: 22px; }
.result { text-align: left; }
.result-number { display: block; font-size: 22px; font-weight: 800; color: var(--accent-2); }
.result-label { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.case-link { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.case-link i { transition: var(--transition); }
.case-link:hover i { transform: translateX(5px); }

/* Testimonials */
.testimonials-section { padding: 80px 0; background: #fff; }
.testimonials-slider { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .testimonials-slider { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--light); border-radius: var(--radius-md); padding: 32px; transition: var(--transition); border: 1px solid var(--gray-light); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-content i { font-size: 30px; color: var(--primary); opacity: 0.25; margin-bottom: 14px; display: block; }
.testimonial-content p { font-size: 15px; line-height: 1.8; font-style: italic; margin-bottom: 22px; color: #374151; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-size: 15px; margin-bottom: 2px; color: #0d1b4b; }
.testimonial-author p { font-size: 12px; color: var(--gray); margin: 0; }

/* Homepage CTA */
.cta-section { padding: 70px 0; background: var(--gradient-1); color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.cta-inner { position: relative; z-index: 1; }
.cta-wrapper { padding: 44px 36px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: var(--radius-lg); }
.cta-wrapper h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; color: #fff; }
@media (min-width: 992px) { .cta-wrapper h2 { font-size: 38px; } }
.cta-wrapper p { font-size: 17px; opacity: 0.9; color: #fff; margin-bottom: 0; }

/* ---- INNER PAGE ELEMENTS ---- */
/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent)); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-dot { position: absolute; left: -26px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(0,43,127,0.2); }
.timeline-year { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.timeline-item h4 { font-size: 17px; color: #0d1b4b; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--gray); }

/* Team card */
.team-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-light); transition: var(--transition); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-img { height: 330px; overflow: hidden; position: relative; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-social { position: absolute; inset: 0; background: rgba(0,43,127,0.82); display: flex; align-items: center; justify-content: center; gap: 12px; opacity: 0; transition: var(--transition); }
.team-card:hover .team-social { opacity: 1; }
.team-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.team-social a:hover { background: #fff; color: var(--primary); }
.team-body { padding: 22px; text-align: center; }
.team-body h4 { font-size: 17px; color: #0d1b4b; margin-bottom: 4px; }
.team-body span { font-size: 13px; color: var(--gray); }

/* About badge */
.about-img-wrap { position: relative; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--gradient-1); color: #fff; border-radius: var(--radius-md); padding: 22px 28px; text-align: center; box-shadow: var(--shadow-lg); }
.about-badge strong { display: block; font-size: 36px; font-weight: 800; }
.about-badge span { font-size: 13px; opacity: 0.9; }

/* Job cards */
.job-card { background: #fff; border-radius: var(--radius-md); padding: 24px 28px; border: 1px solid var(--gray-light); transition: var(--transition); display: flex; align-items: center; gap: 20px; }
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateX(6px); }
.job-dept { width: 54px; height: 54px; border-radius: 12px; background: rgba(0,43,127,0.08); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--primary); flex-shrink: 0; }
.job-info h4 { font-size: 17px; color: #0d1b4b; margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag { font-size: 12px; padding: 4px 12px; border-radius: 50px; background: var(--light); color: var(--gray); font-weight: 600; }
.job-tag.type { background: rgba(0,43,127,0.08); color: var(--primary); }

/* Blog cards */
.blog-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-light); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img { height: 210px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 26px; }
.blog-meta { display: flex; gap: 14px; margin-bottom: 12px; font-size: 12.5px; color: var(--gray); }
.blog-cat { color: var(--primary); font-weight: 700; }
.blog-body h3 { font-size: 18px; color: #0d1b4b; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { font-size: 14px; color: var(--gray); margin-bottom: 18px; }
.blog-footer { display: flex; align-items: center; justify-content: space-between; }
.blog-author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #374151; font-weight: 600; }
.blog-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* Case study card (inner page listing) */
.case-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-light); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-img { height: 220px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-body { padding: 28px; }
.case-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); background: rgba(0,43,127,0.07); padding: 5px 12px; border-radius: 50px; margin-bottom: 12px; }
.case-body h3 { font-size: 19px; margin-bottom: 10px; color: #0d1b4b; }
.case-body p { font-size: 14px; color: var(--gray); margin-bottom: 18px; }
.case-stats { display: flex; gap: 24px; margin-bottom: 18px; }
.case-stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--accent-2); }
.case-stat span { font-size: 11px; color: var(--gray); text-transform: uppercase; }

/* Contact */
.contact-info-card { background: var(--gradient-1); border-radius: var(--radius-lg); padding: 48px 36px; color: #fff; height: 100%; }
.ci-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 48px 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-light); }
.form-label-rb { font-size: 14px; font-weight: 600; color: #0d1b4b; margin-bottom: 8px; display: block; }
.form-control-rb { width: 100%; padding: 13px 18px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 15px; color: #374151; outline: none; transition: var(--transition); font-family: inherit; background: #fafbff; }
.form-control-rb:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,43,127,0.08); background: #fff; }
textarea.form-control-rb { resize: vertical; min-height: 130px; }

/* ---- FOOTER ---- */
.site-footer { background: #050d2a; color: #fff; }
.footer-main { padding: 72px 0 48px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 16px; max-width: 280px; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 15px; color: rgba(255,255,255,0.7); transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); display: inline-block; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-ci { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-ci i { color: var(--accent); font-size: 16px; margin-top: 2px; }
.footer-ci span, .footer-ci a { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-ci a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: #fff; }

/* ---- BACK TO TOP ---- */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: var(--gradient-1); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 99; box-shadow: var(--shadow-md); }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); color: #fff; }

/* ---- COOKIE CONSENT ---- */
.cookie-consent { position: fixed; bottom: 20px; left: 20px; max-width: 400px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); z-index: 1000; transform: translateY(200%); transition: transform 0.5s ease; border: 1px solid var(--gray-light); }
.cookie-consent.show { transform: translateY(0); }
.cookie-content { padding: 24px; }
.cookie-btns { display: flex; gap: 10px; margin-top: 16px; }
.btn-cookie-accept { padding: 9px 22px; background: var(--gradient-1); color: #fff; border: none; border-radius: 50px; font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.btn-cookie-accept:hover { transform: translateY(-2px); }
.btn-cookie-reject { padding: 9px 22px; background: var(--light); color: #374151; border: none; border-radius: 50px; font-size: 13px; font-weight: 700; cursor: pointer; }
/* Also support old class names from roots.css */
.btn-cookie { padding: 9px 22px; border: none; border-radius: 50px; font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.btn-cookie.accept { background: var(--gradient-1); color: #fff; }
.btn-cookie.accept:hover { transform: translateY(-2px); }
.btn-cookie.reject { background: var(--light); color: #374151; }
.cookie-buttons { display: flex; gap: 10px; margin-top: 16px; justify-content: center; }

/* ---- AOS SCROLL ANIMATIONS ---- */
[data-aos] { opacity: 1; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(0px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(0px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .desktop-nav { display: none !important; }
    .container-fluid { padding-left: 20px; padding-right: 20px; }
    .section-title { font-size: 28px; }
    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { font-size: 36px; }
    .cta-wrapper h2 { font-size: 26px; }
    .about-badge { right: 0; bottom: -10px; }
    .hero-animation { display: none; }
}
@media (max-width: 576px) {
    .page-hero h1 { font-size: 28px; }
    .section-title { font-size: 24px; }
    .hero-title { font-size: 34px; }
    .job-card { flex-wrap: wrap; }
    .job-card .btn-primary-rb { margin-top: 12px; width: 100%; justify-content: center; }
    .contact-info-card, .contact-form { padding: 28px 20px; }
}



    /* widget button */
    .enq-widget {
      position: fixed;
      right: 20px;
      bottom: 24px;
      z-index: 99999;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 12px;
      pointer-events: none; /* allow clicks only on interactive children */
    }

    .enq-toggle {
      pointer-events: auto;
      height: 56px;
      min-width: 56px;
      background: var(--primary);
      color: #fff;
      border-radius: 999px;
      box-shadow: var(--shadow);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: none;
      padding: 0 14px;
      transition: transform .18s ease, box-shadow .18s ease;
      font-weight: 600;
    }
    .enq-toggle:active{ transform: scale(.98); }

    .enq-toggle .label{ display: none; margin-left:8px }

    /* tooltip style for larger screens */
    @media(min-width:640px){
      .enq-toggle{ padding: 0 18px; }
      .enq-toggle .label{ display: inline-block }
    }

    /* the panel */
    .enq-panel {
      pointer-events: auto;
      width: 360px;
      max-width: calc(100vw - 40px);
      background: var(--glass);
      border-radius: 16px;
      box-shadow: var(--shadow);
      padding: 18px;
      transform-origin: 100% 100%;
      transition: opacity .22s ease, transform .22s cubic-bezier(.2,.9,.3,1);
      opacity: 0;
      transform: translateY(12px) scale(.98);
      backdrop-filter: blur(6px) saturate(120%);
      border: 1px solid rgba(16,89,150,0.06);
    }

    .enq-panel.open{ opacity: 1; transform: translateY(0) scale(1); }

    .enq-header{
      display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px;
    }
    .enq-title{ font-size: 16px; font-weight: 700; color: #0b2030; }
    .enq-sub{ font-size: 12px; color: var(--muted); }

    .close-btn{ background: transparent; border: none; cursor:pointer; padding:6px; border-radius:8px }
    .close-btn:hover{ background: rgba(0,0,0,0.04); }

    form.enq-form{ display:flex; flex-direction: column; gap:10px }

    .field{ display:flex; flex-direction: column; gap:6px }
    label{ font-size: 12px; color: var(--muted); }
    input[type="text"], input[type="email"], input[type="tel"], select, textarea{
      font-size: 14px;
      border-radius: 10px;
      border: 1px solid rgba(14,20,30,0.06);
      background: white;
      outline: none;
      box-sizing: border-box;
    }
	
    textarea{ resize: vertical; height: 124px; padding: 10px -10px!important;}

   
    .submit-btn{
      height:44px; border-radius: 10px; border:none; cursor:pointer; font-weight:700;
      background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(16,89,150,0.12);
    }

    .muted-small{ font-size:12px; color:var(--muted); }

    .status-msg{ padding:10px; border-radius:10px; font-size:14px }
    .status-success{ background: rgba(16,89,150,0.06); color: #08324a; }
    .status-error{ background: rgba(255,80,80,0.06); color: #7b1d1d; }

    /* small bell / badge */
    .badge{ position: absolute; right: -6px; top: -6px; background: #ff3b30; color:white; height:18px; min-width:18px; display:inline-flex; align-items:center; justify-content:center; border-radius: 999px; font-size:11px; padding:0 5px }

    /* accessibility focus */
    .enq-toggle:focus, .close-btn:focus, .submit-btn:focus{ outline: 3px solid rgba(16,89,150,0.18); }

  

/* Social Media Floating Center Bar */
.social-bar{
position:fixed;
top:50%;
right:0;
transform:translateY(-50%);
display:flex;
flex-direction:column;
gap:10px;
padding:8px 4px;
background:rgba(255,255,255,0.9);
backdrop-filter:blur(6px);
border-radius:14px 0 0 14px;
box-shadow:0 6px 20px rgba(0,0,0,0.12);
z-index:99999;
}


.social-icon{
width:32px;
height:32px;
display:flex;
align-items:center;
justify-content:center;
border-radius:10px;
background:white;
transition:transform .2s ease, background .2s ease;
}

.social-icon img{
width:18px;
filter:invert(0.4);
transition:filter .2s ease;
}

