/* ==========================================================================
   RT Systems — Main Stylesheet
   Palette: Primary #0F172A | Secondary #2563EB | Accent #06B6D4
            Success #22C55E | Background #F8FAFC | Text #1E293B
   Font: Poppins
   ========================================================================== */

:root {
  --primary: #0F172A;
  --secondary: #2563EB;
  --accent: #06B6D4;
  --success: #22C55E;
  --bg: #F8FAFC;
  --text: #1E293B;
  --muted: #64748B;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --grad-main: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-dark: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.15);
  --radius: 16px;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--primary); line-height: 1.3; }

a { text-decoration: none; transition: color 0.3s ease; }

img { max-width: 100%; }

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

/* Section headings */
.section-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title { font-size: 2.3rem; margin-bottom: 14px; }

.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }

.text-gradient {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  animation: pulse 1.2s ease-in-out infinite;
}

.loader-logo span { color: var(--accent); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.96); }
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 18px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

/* Over the dark hero (before scroll) the navbar is transparent,
   so brand and links start WHITE and switch to dark once .scrolled */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-brand { color: var(--primary) !important; }

.navbar-brand i { color: var(--accent); margin-right: 6px; }

.navbar-brand span { color: var(--accent); }

.navbar.scrolled .navbar-brand i,
.navbar.scrolled .navbar-brand span { color: var(--secondary); }

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  padding: 8px 4px !important;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover { color: var(--white) !important; }

.navbar.scrolled .nav-link { color: var(--text) !important; }

.navbar.scrolled .nav-link:hover { color: var(--secondary) !important; }

.navbar-toggler { color: var(--white); }

.navbar.scrolled .navbar-toggler { color: var(--primary); }

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 100%; }

.navbar .nav-link.active { color: var(--white) !important; }

.navbar.scrolled .nav-link.active { color: var(--secondary) !important; }

.navbar-toggler { border: none; box-shadow: none !important; }

/* ---------- Buttons ---------- */
.btn-main {
  background: var(--grad-main);
  color: var(--white);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.30);
}

.btn-main:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.40);
}

.btn-outline-main {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  border: 2px solid var(--secondary);
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-main:hover { background: var(--secondary); color: var(--white); transform: translateY(-3px); }

/* Ripple effect (added via JS) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  padding: 140px 0 90px;
}

/* Ambient glow orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.hero::before { width: 500px; height: 500px; background: var(--secondary); top: -150px; right: -100px; }
.hero::after { width: 400px; height: 400px; background: var(--accent); bottom: -120px; left: -80px; }

.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #BFDBFE;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p { color: #CBD5E1; font-size: 1.1rem; max-width: 540px; margin-bottom: 34px; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero .btn-outline-main { border-color: rgba(255,255,255,0.4); color: var(--white); }
.hero .btn-outline-main:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* Hero visual — CSS-built tech graphic */
.hero-visual { position: relative; min-height: 460px; }

.hero-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.hero-glass-card i { font-size: 1.6rem; margin-bottom: 10px; display: block; }

.hero-glass-card h6 { color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }

.hero-glass-card small { color: #94A3B8; font-size: 0.78rem; }

.hgc-1 { top: 8%; left: 6%; animation-delay: 0s; }
.hgc-1 i { color: var(--accent); }
.hgc-2 { top: 36%; right: 2%; animation-delay: 1.5s; }
.hgc-2 i { color: #60A5FA; }
.hgc-3 { bottom: 10%; left: 16%; animation-delay: 3s; }
.hgc-3 i { color: var(--success); }

.hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 90px rgba(6, 182, 212, 0.45);
}

.hero-core i { font-size: 2.6rem; margin-bottom: 8px; }
.hero-core strong { font-size: 1.05rem; letter-spacing: 1px; }
.hero-core small { font-size: 0.7rem; color: #DBEAFE; letter-spacing: 2px; }

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.hr-1 { width: 330px; height: 330px; animation: spin 28s linear infinite; }
.hr-2 { width: 430px; height: 430px; animation: spin 42s linear infinite reverse; }

.hero-ring .dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  top: -6px;
  left: 50%;
  box-shadow: 0 0 14px var(--accent);
}

@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ---------- Feature (Why Choose Us) cards ---------- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: transform 0.35s ease;
}

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }

.feature-card h5 { font-size: 1.15rem; margin-bottom: 10px; }

.feature-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Service cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 32px;
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon { background: var(--grad-main); color: var(--white); }

.service-card h4 { font-size: 1.25rem; margin-bottom: 12px; }

.service-card p { color: var(--muted); font-size: 0.94rem; }

.link-more { color: var(--secondary); font-weight: 600; font-size: 0.92rem; }

.link-more i { transition: transform 0.3s ease; margin-left: 6px; }

.link-more:hover i { transform: translateX(6px); }

/* ---------- Process timeline ---------- */
.process-step {
  text-align: center;
  position: relative;
  z-index: 1; /* steps sit above the connector line, even with AOS transforms */
  padding: 0 12px;
}

.process-num {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  position: relative;
  z-index: 2;
  transition: all 0.35s ease;
}

.process-step:hover .process-num {
  background: var(--grad-main);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.process-step h5 { font-size: 1.05rem; margin-bottom: 8px; }

.process-step p { color: var(--muted); font-size: 0.88rem; }

.process-row { position: relative; }

/* connector line across steps (desktop only) */
.process-row::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
  z-index: 0; /* keep the dashed connector BEHIND the step circles */
}

/* ---------- Statistics ---------- */
.stats-section {
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--secondary);
  filter: blur(120px);
  opacity: 0.3;
  top: -180px;
  right: -100px;
}

.stat-box { text-align: center; color: var(--white); position: relative; z-index: 2; padding: 20px 10px; }

.stat-box i { font-size: 1.9rem; color: var(--accent); margin-bottom: 12px; }

.stat-num { font-size: 2.8rem; font-weight: 700; color: var(--white); }

.stat-num span { color: var(--accent); }

.stat-box p { color: #94A3B8; margin: 0; font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.testimonial-card .stars { color: #FACC15; margin-bottom: 16px; }

.testimonial-card p { color: var(--muted); font-size: 0.95rem; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 22px; }

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-main);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.testimonial-author h6 { margin: 0; font-size: 0.98rem; }

.testimonial-author small { color: var(--muted); }

/* ---------- Client strip ---------- */
.client-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 14px 34px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.client-pill:hover { color: var(--secondary); border-color: var(--secondary); transform: translateY(-4px); box-shadow: var(--shadow-sm); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--grad-main);
  border-radius: 24px;
  padding: 70px 50px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.cta-banner::before { width: 260px; height: 260px; top: -110px; left: -80px; }
.cta-banner::after { width: 340px; height: 340px; bottom: -170px; right: -110px; }

.cta-banner h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 14px; }

.cta-banner p { color: #DBEAFE; margin-bottom: 30px; }

.cta-banner .btn-main {
  background: var(--white);
  color: var(--secondary);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-dark);
  padding: 170px 0 90px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.3;
  bottom: -160px;
  right: -80px;
}

.page-hero h1 { color: var(--white); font-size: 2.7rem; position: relative; z-index: 2; }

.page-hero p { color: #CBD5E1; max-width: 640px; position: relative; z-index: 2; }

.breadcrumb-custom { position: relative; z-index: 2; margin-bottom: 14px; }

.breadcrumb-custom a { color: var(--accent); font-weight: 500; }

.breadcrumb-custom span { color: #94A3B8; }

/* ---------- About page ---------- */
.about-facts {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 34px;
}

.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.about-facts li:last-child { border-bottom: none; }

.about-facts li span:first-child { color: var(--muted); }

.about-facts li span:last-child { font-weight: 600; color: var(--primary); text-align: right; }

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px 34px;
  height: 100%;
  border-top: 5px solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.mv-card.accent-top { border-top-color: var(--accent); }

.mv-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 18px; }

.mv-card.accent-top i { color: var(--accent); }

/* Value chips */
.value-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  transition: all 0.3s ease;
}

.value-chip:hover { border-color: var(--secondary); box-shadow: var(--shadow-sm); transform: translateY(-4px); }

.value-chip i { color: var(--success); font-size: 1.2rem; margin-top: 4px; }

.value-chip h6 { margin-bottom: 4px; }

.value-chip p { color: var(--muted); font-size: 0.87rem; margin: 0; }

/* Team cards */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--grad-main);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
}

.team-card h5 { font-size: 1.05rem; margin-bottom: 4px; }

.team-card small { color: var(--secondary); font-weight: 500; display: block; margin-bottom: 10px; }

.team-card p { color: var(--muted); font-size: 0.86rem; margin: 0; }

/* Timeline (vertical) */
.timeline { position: relative; padding-left: 34px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  border-radius: 2px;
}

.timeline-item { position: relative; padding-bottom: 36px; }

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--secondary);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.timeline-year {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: #0891B2;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 3px 14px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.timeline-item h6 { margin-bottom: 6px; }

.timeline-item p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Engagement model cards */
.engage-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 30px;
  height: 100%;
  transition: all 0.35s ease;
}

.engage-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-8px); }

.engage-card i { font-size: 1.9rem; color: var(--accent); margin-bottom: 18px; display: block; }

.engage-card h5 { font-size: 1.1rem; margin-bottom: 10px; }

.engage-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Services page ---------- */
.service-block { scroll-margin-top: 100px; }

.service-block-alt { background: var(--white); }

.check-list { list-style: none; }

.check-list li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 0.96rem;
}

.check-list li i { color: var(--success); margin-top: 5px; }

.mini-feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.service-block-alt .mini-feature { background: var(--bg); }

.mini-feature:hover { border-color: var(--secondary); transform: translateY(-5px); box-shadow: var(--shadow-sm); }

.mini-feature i {
  font-size: 1.4rem;
  color: var(--secondary);
  background: rgba(37, 99, 235, 0.08);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mini-feature h6 { font-size: 0.98rem; margin-bottom: 6px; }

.mini-feature p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Offerings grid */
.offering-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  height: 100%;
  text-align: center;
  transition: all 0.35s ease;
}

.offering-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(6, 182, 212, 0.5); }

.offering-tile i { font-size: 1.6rem; color: var(--accent); margin-bottom: 14px; display: block; }

.offering-tile h6 { font-size: 0.95rem; margin: 0; }

/* ---------- Contact page ---------- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 38px 32px;
  height: 100%;
}

.contact-item { display: flex; gap: 18px; margin-bottom: 26px; }

.contact-item:last-of-type { margin-bottom: 0; }

.contact-item .ci-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact-item h6 { margin-bottom: 3px; font-size: 0.98rem; }

.contact-item p, .contact-item a { color: var(--muted); font-size: 0.92rem; margin: 0; }

.contact-item a:hover { color: var(--secondary); }

.map-placeholder {
  background: linear-gradient(135deg, #E0F2FE 0%, #E0E7FF 100%);
  border: 1px dashed #93C5FD;
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-top: 30px;
}

.map-placeholder i { font-size: 2.2rem; margin-bottom: 8px; }

/* Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 42px 36px;
}

.form-control-custom {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.94rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-control-custom:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: var(--white);
}

.form-control-custom.is-invalid { border-color: #EF4444; }

.form-label-custom { font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; display: block; }

.error-msg { color: #EF4444; font-size: 0.8rem; margin-top: 5px; display: none; }

.error-msg.show { display: block; }

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #15803D;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-top: 18px;
}

.form-success.show { display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: #94A3B8;
  padding: 70px 0 0;
}

.footer h5 { color: var(--white); font-size: 1.05rem; margin-bottom: 22px; }

.footer-brand { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 16px; display: inline-block; }

.footer-brand i, .footer-brand span { color: var(--accent); }

.footer p { font-size: 0.9rem; }

.footer ul { list-style: none; padding-left: 0; margin: 0; }

.footer ul li { margin-bottom: 12px; }

.footer ul li a { color: #94A3B8; font-size: 0.92rem; }

.footer ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer ul li i { color: var(--accent); margin-right: 10px; width: 16px; }

.social-icons { display: flex; gap: 12px; margin-top: 20px; }

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover { background: var(--grad-main); transform: translateY(-4px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Scroll-to-top ---------- */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-main);
  color: var(--white);
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s ease;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

#scrollTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }

#scrollTop:hover { transform: translateY(-4px); }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
