html {
  scroll-behavior: smooth;
}


/* ===================================
   GLOBAL STYLES
=================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #ffffff;
  color: #222;
  line-height: 1.7;
}

a {
  text-decoration: none; /* Remove all underlines */
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===============================
   NAVBAR / HEADER
================================= */
.navbar {
  background-color: #fff;
  padding: 1.2rem 0;
  border-bottom: 1px solid #eee;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

.logo a img {
  display: block;
  height: 40px;
  width: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #13277E;
}

.btn-signup {
  background: linear-gradient(90deg, #fff9d9, #ffe78b);
  color: #13277E !important; /* visible dark blue text */
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.btn-signup:hover {
  background: linear-gradient(90deg, #fff2b0, #ffd46b);
  color: #000 !important;
}

/* Header Styling */
.main-header {
background-color: #ffffff;
padding: 15px 100px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
position: relative;
height: 94px;
z-index: 100;
}

.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo img {
height: 46px;
}

.main-nav ul {
list-style: none;
display: flex;
}

.main-nav ul li {
margin-left: 50px;
margin-top: 14px;
}

.main-nav ul li a {
text-decoration: none;
color:#6C6C6C;
transition: color 0.3s ease;
font-family: Arial, sans-serif;
font-weight: 400;
font-style: 'semi-bold';
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
}

/* Buttons */
.btn {
display: inline-block;
padding: 12px 25px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: background-color 0.3s ease;
cursor: pointer;
border: none;
height: 52px;
width: 150px;
}

.btn-primary {
background: linear-gradient(90deg, #13277E 41.42%, #FFB51E 105.22%),
linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
color: #ffff;
}

.main-nav .btn {
margin-left: 30px;
/* Space between last nav item and button */
}

.menu-toggle {
display: none;
/* Hide by default on desktop */
font-size: 2rem;
background: none;
border: none;
cursor: pointer;
color: #333;
}

/* Dropdown Styling */
.nav-links li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  min-width: 200px;
  z-index: 999;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #6C6C6C;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #13277E;
  color: #fff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ===================================
   CONTAINER
=================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================
   PAGE HERO
=================================== */
.page-hero {
  text-align: center;
  padding: 68px 0;
  background: linear-gradient(135deg, #13277E, #004C99);
  color: #fff;
}

.page-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #e6e6e6;
  max-width: 700px;
  margin: 0 auto;
}
.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-start; /* image goes to the left */
}

.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  
}

.hero-text {
  flex: 1;
}
@media screen and (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    justify-content: center;
  }
}
.hero-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px; /* soft rounded corners */
}


/* ===================================
   SECTION HEADERS
=================================== */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.section-title span {
  color: #005bbb;
}

.section-intro {
  text-align: center;
  color: #555;
  margin-bottom: 45px;
  font-size: 1rem;
}

/* ===================================
   TRAINING SECTION
=================================== */
/* ===================================
   TRAINING SECTION
=================================== */
/* ===================================
   SOLUTIONS & TRAINING – UNIFIED CARD DESIGN
   (Matches screenshot style)
=================================== */

/* SECTION CONTAINERS */
.tech-solutions-section {
  padding: 40px 0 80px 0;
  background: #f8f9fb;
}

.tech-training-section {
  padding-top: 40px;
  padding-bottom: 80px;
  background: #ffffff;
}

/* GRID LAYOUT */
.solutions-grid,
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* -------------------------
   CARD STYLE (Shared)
------------------------- */
.solution-card,
.training-card {
  position: relative;
  display: block;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 22px 32px;
  text-align: left;
  border: 1px solid rgba(230, 230, 255, 0.6);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  color: #111827;
}

/* 🔥 Permanent golden line under card */
.solution-card::after,
.training-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ffdd66, #ffb000);
  border-radius: 0 0 14px 14px;
}

/* Hover lift effect */
.solution-card:hover,
.training-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

/* -------------------------
   ICON STYLE
------------------------- */
.solutions-grid .icon-wrapper,
.training-grid .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #13277E;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.18);
}

/* -------------------------
   TEXT STYLE
------------------------- */
.solution-card h3,
.training-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #13277E;
  margin-bottom: 10px;
}

.solution-card p,
.training-card p {
  font-size: 0.93rem;
  color: #4a5568;
  line-height: 1.6;
}

/* ==================================================
   SECTION TITLE FIX (keep gradient effect)
================================================== */
.tech-solutions-section .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 15px;
  display: block;
  background: linear-gradient(45deg, #001f4d, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.solution-card p,
.training-card p {
  text-align: left;
}




/* ===================================
   CALL TO ACTION
=================================== */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: #005bbb;
  color: #fff;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1rem;
  color: #e9e9e9;
  margin-bottom: 25px;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: #005bbb;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0046a5;
  color: #fff;
}

/* ===== Newsletter Footer (Quantum Edge – scoped) ===== */
.qei-newsletter {
  position: relative;
  overflow: clip;
  padding: 56px 16px 64px;
  color: #eaf0ff;
  font-family: inherit; /* uses your Poppins */
  isolation: isolate;
}

/* Gradient + subtle shapes */
.qei-newsletter-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 600px at 85% 70%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(900px 500px at 15% 30%, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #4b465a 0%, #0a1d78 60%, #061e64 100%);
  /* soft vignette */
  box-shadow: inset 0 40px 60px rgba(0,0,0,.25);
}

/* Content wrapper */
.qei-newsletter-wrap {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

/* Logo */
.qei-newsletter-logo {
  width: 190px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

/* Heading */
.qei-newsletter-heading {
  font-weight: 700;
  font-size: clamp(1.4rem, 1.4rem + 1.2vw, 2rem);
  margin: 8px 0 22px;
  letter-spacing: .2px;
}

/* Form row */
.qei-newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}

.qei-newsletter-form input {
  width: min(600px, 88vw);
  flex: 1 1 420px;
  background: transparent;
  color: #eaf0ff;
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 16px 22px;
  border-radius: 999px;
  font-size: 1rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.qei-newsletter-form input::placeholder { color: rgba(234,240,255,.8); }
.qei-newsletter-form input:focus {
  border-color: rgba(255,255,255,.65);
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.qei-newsletter-form button {
  border: 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: #ffbd66;           /* warm orange */
  color: #1a2a6b;
  box-shadow: 0 8px 20px rgba(255,189,102,.35);
  transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}
.qei-newsletter-form button:hover {
  box-shadow: 0 10px 28px rgba(255,189,102,.45);
  filter: brightness(1.05);
}
.qei-newsletter-form button:active { transform: translateY(1px); }

/* Footer links */
.qei-newsletter-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 6px 0 14px;
  flex-wrap: wrap;
  font-size: 1.02rem;
}
.qei-newsletter-links a {
  color: #eaf0ff;
  text-decoration: none;
  opacity: .95;
  transition: opacity .15s;
}
.qei-newsletter-links a:hover { opacity: 1; text-decoration: underline; }
.qei-newsletter-sep { opacity: .55; }

.qei-newsletter-copy {
  margin: 6px 0 0;
  font-size: 1.02rem;
  opacity: .9;
}

/* accessibility helper (screen-reader only) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Mobile tweaks */
@media (max-width: 560px) {
Success!
  .qei-newsletter-form { gap: 10px; }
  .qei-newsletter-form button { width: 100%; }
}

/* ===============================
   CHATBOT WIDGET STYLES
================================= */
/* ===============================
   RTECH CHATBOT
================================= */
/* ===============================
   RTECH FLOATING CHATBOT
================================= */
.rtech-chatbot {
  position: fixed;
  bottom: 25px;
  right: 25px; /* moved to right side */
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

/* Round Floating Button */
.chatbot-toggle {
  width: 65px;
  height: 65px;
  background: #ffd500;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.05);
}

.chatbot-toggle img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

/* Chat Window */
.chatbot-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  display: none;
  overflow: hidden;
  flex-direction: column;
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.chatbot-header {
  background-color: #ffd500;
  color: #000;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.chatbot-header .bot-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.chatbot-header button {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}

/* Chat Area */
.chatbot-content {
  padding: 15px;
  height: 250px;
  overflow-y: auto;
  background: #f9f9f9;
}

.bot-msg,
.user-msg {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.bot-msg {
  background: #f1f1f1;
  align-self: flex-start;
}

.user-msg {
  background: #ffd500;
  color: #000;
  align-self: flex-end;
  margin-left: auto;
}

/* Input Area */
.chatbot-input {
  display: flex;
  border-top: 1px solid #eee;
  padding: 10px;
  background: #fff;
}

.chatbot-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px;
  font-size: 14px;
}

.chatbot-input button {
  background: #ffd500;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

/* ===== What people say about us (R-Tech, namespaced) ===== */
.rti-testimonials{
  background:#fff;
  padding: 80px 0 90px;
  color:#0f172a;
}
.rti-container{ width:90%; max-width:1200px; margin:auto; }

.rti-title{
  text-align:center;
  font-weight:800;
  color:#13277E; /* brand blue */
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  line-height:1.15;
  margin: 0 0 34px;
}

.rti-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 760px){
  .rti-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.rti-card{
  text-align:center;
  padding: 22px 16px 18px;
  background:#fff;
  border-radius: 16px;
  border: 1px solid rgba(19,39,126,0.06);
  box-shadow: 0 10px 26px rgba(7,10,20,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.rti-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7,10,20,0.1);
}

/* Hex avatar */
.rti-hex{
  width: 180px;
  margin: 0 auto 14px;
  padding: 8px;                 /* border thickness */
  background:#fff;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  outline: 3px solid #1d2e7e;   /* inner border line */
  outline-offset: -6px;
  box-shadow: 0 0 0 3px #e7edff;/* faint outer stroke */
}
.rti-hex-in{
  width: 100%;
  aspect-ratio: 1;
  clip-path: inherit;
  overflow: hidden;
  background: #eaf2ff;
  display: grid; place-items: center;
}
.rti-hex-in img{
  width: 100%; height: 100%; object-fit: cover;
}

/* Text */
.rti-name{
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 6px;
  color:#13277E;
}
.rti-text{
  margin: 0 auto 12px;
  max-width: 320px;
  color:#6b7280;
  font-size: 15px;
  line-height: 1.6;
}

/* Social */
.rti-social{
  display: inline-flex;
  gap: 10px;
}
.rti-ico{
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 8px;
  align-items:center; justify-content:center;
  border: 1.5px solid #dbe3ff;
  color: #13277E;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
}
.rti-ico:hover{
  transform: translateY(-2px);
  border-color:#bfcaff;
  background:#f5f7ff;
  color:#0f1e7e;
}

/* Small screens */
@media (max-width: 480px){
  .rti-hex{ width:160px; }
  .rti-text{ font-size:14px; }
}
