/* 
   Srija Infotech - Modern Corporate Website Stylesheet
   Design Ethos: Tech-Forward, Clean, Professional, & High-Performance
   Colors: Deep Blues, Slate Grays, Vibrant Sky/Teal & Accent Orange
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #0f172a;
  /* Deep Slate/Blue 900 */
  --secondary: #1e293b;
  /* Slate 800 */
  --accent-blue: #0ea5e9;
  /* Tech Sky Blue */
  --accent-teal: #06b6d4;
  /* Vibrant Teal */
  --accent-orange: #f97316;
  /* Accent orange */
  --accent-orange-hover: #ea580c;

  --text-dark: #0f172a;
  /* High contrast text */
  --text-body: #334155;
  /* Slate 700 */
  --text-muted: #64748b;
  /* Slate 500 */
  --bg-light: #f8fafc;
  /* Slate 50 */
  --bg-white: #ffffff;
  --bg-dark-gray: #0b0f19;
  /* Ultra dark for footer/hero overlays */

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  /* Slate 200 */
  --border-light: #f1f5f9;
  /* Slate 100 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.2);
  --shadow-glow-orange: 0 0 20px rgba(249, 115, 22, 0.2);

  /* Typography */
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1440px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  background: rgba(14, 165, 233, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: var(--bg-white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-orange {
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: var(--bg-white);
  box-shadow: var(--shadow-glow-orange);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
}

/* Sticky Header Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

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

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
  height: 40px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-body);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-blue);
}

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

.nav-link.active {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  padding: 0.5rem;
  outline: none;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--primary);
  transition: var(--transition-smooth);
  border-radius: 3px;
}

/* Hero Section Styles */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 45%),
    radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent 40%),
    var(--bg-white);
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 7.5rem;
  overflow: hidden;
}

.hero-content {
  max-width: 620px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--accent-blue);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  animation: float 6s ease-in-out infinite;
}

/* Background blob animations */
.tech-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(6, 182, 212, 0.2);
  top: -50px;
  right: -50px;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background-color: rgba(14, 165, 233, 0.15);
  bottom: 0px;
  left: -50px;
}

/* Float Animation */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Feature Grid / Cards */
.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.2);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-md);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  transition: var(--transition-smooth);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-blue);
}

.card-link svg {
  transition: var(--transition-smooth);
}

.card-link:hover {
  color: var(--accent-teal);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* About Short Overview on Home */
.about-teaser {
  background-color: var(--bg-light);
}

.about-teaser .grid-2 {
  gap: 4rem;
}

.about-teaser-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--accent-orange);
  max-width: 220px;
}

.experience-years {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-orange);
  margin-bottom: 0.25rem;
}

.experience-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* Stats Counter Section */
.stats-section {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
  z-index: -1;
}

.cta-banner-content {
  max-width: 750px;
}

.cta-banner .btn {
  margin-top: 1.5rem;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-title {
  font-size: 2.5rem;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.cta-desc {
  color: #cbd5e1;
  font-size: 1.1rem;
}

/* Sub-page Header Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--bg-white);
  padding: 9rem 0 5.5rem 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: var(--bg-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-banner-title {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  color: var(--bg-white);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--accent-blue);
}

.breadcrumbs a:hover {
  color: var(--accent-teal);
}

/* About Page Specific Styles */
.about-history-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.values-grid {
  margin-top: 3rem;
}

.value-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.value-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.15);
}

.value-icon {
  width: 50px;
  height: 50px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: 50%;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.value-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.leadership-highlight {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 4rem;
  border: 1px solid var(--border-color);
  margin-top: 5rem;
}

.leadership-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.leadership-text p {
  margin-bottom: 1.25rem;
  color: var(--text-body);
}

/* Services Page Detailed Sections */
.service-detail-section {
  padding: 6.5rem 0;
}

.service-detail-section:nth-child(even) {
  background-color: var(--bg-light);
}

.service-detail-section:nth-child(even) .grid-2>div:first-child {
  order: 2;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-tag {
  color: var(--accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.service-detail-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.service-detail-desc {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.service-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.service-feature-item svg {
  color: var(--accent-teal);
  flex-shrink: 0;
}

/* FAQs Accordion Styles */
.faq-section {
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--accent-blue);
  background-color: var(--bg-light);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(14, 165, 233, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-question:hover .faq-icon {
  background-color: var(--accent-blue);
  color: var(--bg-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 2rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Active FAQ states */
.faq-item.active {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Large enough to hold the text */
  padding: 0 2rem 1.5rem 2rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--accent-blue);
  color: var(--bg-white);
}

/* Contact Us Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-title {
  font-size: 1.8rem;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.contact-info-desc {
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--accent-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-detail-text h4 {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 1.05rem;
  color: var(--bg-white);
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--accent-blue);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--accent-teal);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-form-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-blue);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-glow);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

/* Validation styling */
.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-group.error .form-label {
  color: #ef4444;
}

.error-message {
  display: none;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.35rem;
  font-weight: 500;
}

.form-group.error .error-message {
  display: block;
}

.form-success-banner {
  display: none;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out forwards;
}

/* Mock Map Section */
.map-container {
  margin-top: 5rem;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-svg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.map-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 300px;
  border-left: 4px solid var(--accent-blue);
  z-index: 2;
}

.map-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.map-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.map-pin {
  width: 50px;
  height: 50px;
  background: var(--accent-blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  box-shadow: var(--shadow-glow);
  position: relative;
  animation: bounce 2s infinite;
}

.map-pin svg {
  transform: rotate(45deg);
}

.map-pin-pulse {
  position: absolute;
  width: 20px;
  height: 6px;
  background: rgba(15, 23, 42, 0.2);
  border-radius: 50%;
  bottom: -10px;
  left: calc(50% - 10px);
  animation: pulse 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }

  50% {
    transform: translateY(-10px) rotate(-45deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.1;
  }
}

/* Footer Styles */
.footer {
  background-color: var(--bg-dark-gray);
  color: #94a3b8;
  padding: 5.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-blue);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-newsletter-text {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  border-color: var(--accent-blue);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: var(--bg-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-copy span {
  color: var(--accent-orange);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--bg-white);
}

/* Animations Scroll Triggers */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 38px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Navigation */
  .hamburger {
    display: block;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 0;
    gap: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4.5rem;
    text-align: center;
  }

  .hero-subtitle {
    justify-content: center;
  }

  .hero-subtitle::before {
    display: none;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    margin-top: 3rem;
  }

  /* About Home Teaser */
  .about-teaser .grid-2 {
    gap: 3rem;
  }

  .about-teaser .grid-2>div:first-child {
    order: 2;
  }

  /* Stats Section */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 3.5rem 2.25rem;
  }

  .cta-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Leadership Highlights */
  .leadership-highlight {
    padding: 2.25rem;
  }

  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form-panel {
    padding: 2.25rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none !important;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }

  .service-features-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Blog Layout & Components
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-bottom: 4rem;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.blog-card-img-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-light);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.blog-card-title a:hover {
  color: var(--accent-blue);
}

.blog-card-excerpt {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-blue);
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.blog-card-readmore:hover {
  color: var(--primary);
}

.blog-card-readmore svg {
  transition: transform 0.3s ease;
}

.blog-card-readmore:hover svg {
  transform: translateX(4px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--bg-light);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Blog Single Page */
.blog-single-container {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.blog-post-title {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.blog-post-featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.blog-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1e293b;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin: 2.5rem 0 1rem 0;
  color: var(--text-dark);
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--accent-blue);
  background: var(--bg-light);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Responsive Overrides for Blog */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-post-title {
    font-size: 2.15rem;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-post-title {
    font-size: 1.75rem;
  }

  .blog-post-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

/* ----------------------------------------------------
   Core Services Tech Badges / Pills
   ---------------------------------------------------- */
.tech-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tech-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ----------------------------------------------------
   Why Choose Us Section
   ---------------------------------------------------- */
.why-us-grid {
  gap: 2rem;
}

.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, 0.3);
}

.why-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.why-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------
   Footer Contact Details
   ---------------------------------------------------- */
.footer-contact-details {
  margin-top: 1.25rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #0ea5e9;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-contact-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* ----------------------------------------------------
   Floating AI Chatbot Button & Pop-Up Window Widget
   ---------------------------------------------------- */
.floating-chat-trigger-group {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  z-index: 999998 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-family: var(--font-body);
}

.chat-floating-label {
  background: #0f172a;
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  animation: floatLabelBounce 3s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.chat-floating-label:hover {
  transform: translateY(-2px);
  background: #1e293b;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

@keyframes floatLabelBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Floating Trigger Button */
.floating-chat-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  flex-shrink: 0;
}

.floating-chat-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.55);
}

.chat-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Pop-Up Chat Window Container */
.floating-chat-window {
  position: fixed !important;
  bottom: 6rem !important;
  right: 2rem !important;
  width: 380px !important;
  max-width: calc(100vw - 2.5rem) !important;
  height: 530px !important;
  max-height: calc(100vh - 8rem) !important;
  background: #ffffff !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(20px) scale(0.92) !important;
  transform-origin: bottom right !important;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
  z-index: 999999 !important;
}

.floating-chat-window.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* Chat Window Header */
.chat-window-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.chat-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.chat-online-status {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.status-indicator {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.chat-close-btn:hover {
  color: #ffffff;
}

/* Scrollable Chat Window Body */
.chat-window-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background-color: #f8fafc;
}

/* Chat Messages */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: fadeInMsg 0.25s ease-out;
}

@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.bot-msg {
  align-self: flex-start;
}

.chat-msg.user-msg {
  align-self: flex-end;
}

.msg-content {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.bot-msg .msg-content {
  background: #ffffff;
  color: var(--text-dark);
  border-bottom-left-radius: 3px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.user-msg .msg-content {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: #ffffff;
  border-bottom-right-radius: 3px;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.25);
}

.msg-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  padding: 0 0.25rem;
}

.bot-msg .msg-time {
  align-self: flex-start;
}

.user-msg .msg-time {
  align-self: flex-end;
  color: rgba(255, 255, 255, 0.75);
}

/* Quick Action Chips */
.chat-quick-actions {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  overflow-x: auto;
  scrollbar-width: none;
}

.chat-quick-actions::-webkit-scrollbar {
  display: none;
}

.chat-chip {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.chat-chip:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

/* Chat Footer & Form */
.chat-window-footer {
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
}

.chat-input-row input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input-row input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chat-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.35);
}

/* Explicit Talk to Human / Email Us Button Option */
.chat-human-option {
  text-align: center;
}

.btn-human-support {
  background: transparent;
  border: 1px dashed var(--accent-blue);
  color: var(--accent-blue);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn-human-support:hover {
  background: rgba(14, 165, 233, 0.08);
  border-style: solid;
  color: var(--accent-teal);
}

/* Typing indicator animation */
.typing-dots span {
  animation: typingBlink 1.4s infinite both;
  font-size: 1.1rem;
  font-weight: 800;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBlink {
  0% {
    opacity: 0.2;
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0.2;
  }
}

/* Escalation Inline Form Container */
.escalation-box {
  background: #ffffff !important;
  border: 1.5px solid var(--accent-orange) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.85rem !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.12) !important;
}

.escalation-prompt-text {
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.inline-escalation-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.escalation-field input {
  width: 100%;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: var(--font-body);
}

.escalation-field input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.15);
}

.btn-submit-escalate {
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: #ffffff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.2rem;
  transition: var(--transition-smooth);
}

.btn-submit-escalate:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.escalation-success-box {
  background: #f0fdf4 !important;
  border: 1px solid #86efac !important;
  color: #166534 !important;
  padding: 0.75rem !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
}

/* ----------------------------------------------------
   Floating WhatsApp Button Widget
   ---------------------------------------------------- */
.floating-whatsapp-container {
  position: fixed !important;
  bottom: 2rem !important;
  right: 5rem !important;
  z-index: 999998 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-family: var(--font-body);
  pointer-events: none;
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  flex-shrink: 0;
  pointer-events: auto;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-tooltip {
  background: #0f172a;
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px) scale(0.95);
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s ease;
  pointer-events: auto;
}

.floating-whatsapp-container:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

/* Responsiveness for WhatsApp & Chatbot Widgets */
@media (max-width: 768px) {
  .floating-whatsapp-container {
    bottom: 1.5rem !important;
    left: 1.5rem !important;
  }

  .floating-whatsapp-btn {
    width: 52px !important;
    height: 52px !important;
  }

  .floating-whatsapp-btn svg {
    width: 28px !important;
    height: 28px !important;
  }

  .whatsapp-tooltip {
    display: none !important;
  }

  .floating-chat-trigger-group {
    bottom: 1.5rem !important;
    right: 1.5rem !important;
  }

  .floating-chat-btn {
    width: 52px !important;
    height: 52px !important;
  }

  .floating-chat-btn svg {
    width: 24px !important;
    height: 24px !important;
  }

  .chat-floating-label {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
  }
}