/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #1565c0;
  --accent: #f5a800;
  --secondary: #0d47a1;
  --light-bg: #f4f7fc;
  --text-dark: #0d1b3e;
  --text-muted: #6c757d;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  --accent-gradient: linear-gradient(135deg, #f5a800 0%, #e69500 100%);
  --shadow: 0 10px 40px rgba(21, 101, 192, 0.12);
  --shadow-hover: 0 20px 60px rgba(21, 101, 192, 0.22);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

.section-padding {
  padding: 90px 0;
}

.bg-light-custom {
  background: var(--light-bg);
}

.text-accent {
  color: var(--accent);
}

.rounded-custom {
  border-radius: var(--radius);
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 0;
  letter-spacing: 0.3px;
}

.topbar span {
  font-weight: 700;
}

.topbar a {
  color: #ffffff;
  margin-left: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.topbar a:hover {
  color: var(--accent);
}

/* ===== NAVBAR ===== */
#mainNav {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
  transition: var(--transition);
  border-bottom: 3px solid var(--accent);
}

#mainNav.scrolled {
  padding: 4px 0;
  box-shadow: 0 4px 30px rgba(21, 101, 192, 0.18);
}

.logo-img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.brand-accent {
  color: var(--accent);
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 10px;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 28px);
}

.navbar-nav .nav-link:hover {
  color: var(--accent);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 16px 48px rgba(21, 101, 192, 0.18);
  border-radius: 16px;
  padding: 8px;
  animation: dropIn 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 260px;
  border-top: 3px solid var(--accent);
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.22s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-dark);
  overflow: hidden;
}

/* Left accent bar on hover */
.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.07) 0%, rgba(245, 168, 0, 0.06) 100%);
  color: var(--primary);
  padding-left: 20px;
}

/* Icon color on hover */
.dropdown-item:hover .text-accent,
.dropdown-item:hover i.text-accent {
  color: var(--accent) !important;
  transform: scale(1.15);
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Hover dropdown - no click needed */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Dark mode dropdown */
body.dark-mode .dropdown-menu,
html.dark-mode-early body .dropdown-menu {
  background: #1c2128;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border-top-color: var(--accent);
}

body.dark-mode .dropdown-item,
html.dark-mode-early body .dropdown-item {
  color: #e6edf3;
}

body.dark-mode .dropdown-item:hover,
html.dark-mode-early body .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(245, 168, 0, 0.1) 0%, rgba(21, 101, 192, 0.08) 100%);
  color: var(--accent);
}

/* Service card highlight when targeted via anchor */
.service-card.highlighted {
  animation: highlightCard 1.5s ease forwards;
  box-shadow: 0 0 0 3px var(--accent), var(--shadow-hover) !important;
}

@keyframes highlightCard {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 168, 0, 0.7), var(--shadow);
  }

  40% {
    box-shadow: 0 0 0 12px rgba(245, 168, 0, 0.15), var(--shadow-hover);
  }

  100% {
    box-shadow: 0 0 0 3px var(--accent), var(--shadow-hover);
  }
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background: var(--accent-gradient);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 168, 0, 0.45);
}

.btn-outline-custom {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-light-custom {
  background: var(--white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-light-custom:hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-outline-light-custom {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  background: transparent;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light-custom:hover {
  background: var(--white);
  color: var(--primary);
}

/* ===== SECTION TAGS & TITLES ===== */
.section-tag {
  display: inline-block;
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.93) 0%, rgba(13, 71, 161, 0.88) 60%, rgba(245, 168, 0, 0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 168, 0, 0.15);
  border: 1px solid rgba(245, 168, 0, 0.5);
  color: #ffd54f;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
}

.stat-item span:last-of-type {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

/* ===== ABOUT ===== */
.about-img-wrapper {
  position: relative;
  display: inline-block;
}

.about-badge-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-badge-box h4 {
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.about-badge-box p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.about-feature {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  height: 100%;
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.1), rgba(230, 57, 70, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  color: var(--text-dark);
}

.service-card h5 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary);
}

/* ===== SERVICE CATEGORY CARD SUB-LIST ===== */
.service-category-card {
  display: flex;
  flex-direction: column;
}

.service-sub-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0;
  flex: 1;
}

.service-sub-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
  transition: var(--transition);
  line-height: 1.4;
  list-style: none !important;
}

.service-sub-list li:last-child {
  border-bottom: none;
}

.service-sub-list li i {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(245, 168, 0, 0.45);
  transition: var(--transition);
}

.service-category-card:hover .service-sub-list li i {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(245, 168, 0, 0.65);
}

.service-category-card:hover .service-sub-list li {
  color: var(--text-dark);
}

/* ===== WHY SECTION ===== */
.why-section {
  background: var(--white);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.why-item:last-child {
  border-bottom: none;
}

.why-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(10, 36, 99, 0.12);
  min-width: 50px;
  line-height: 1;
}

.why-item h5 {
  font-weight: 700;
  margin-bottom: 4px;
}

/* ===== PORTFOLIO ===== */
.portfolio-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid rgba(10, 36, 99, 0.2);
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.portfolio-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.6);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 101, 192, 0.97) 0%, rgba(21, 101, 192, 0.6) 50%, rgba(0, 0, 0, 0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h5 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 4px;
  font-size: 1rem;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  margin: 0 0 14px;
}

.portfolio-overlay .go-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  transition: var(--transition);
  border: none;
}

.portfolio-overlay .go-live-btn:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.portfolio-item {
  transition: var(--transition);
}

.portfolio-item.hidden {
  display: none;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
  background: var(--gradient);
}

.testimonial-section .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-section .section-title {
  color: var(--white);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 48px 40px;
}

.stars {
  color: #ffd700;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-weight: 700;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.carousel-prev-icon,
.carousel-next-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.carousel-prev-icon:hover,
.carousel-next-icon:hover {
  background: var(--accent);
}

.carousel-control-prev {
  left: -60px;
}

.carousel-control-next {
  right: -60px;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #f5a800 0%, #e69500 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--text-dark);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(13, 27, 62, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ===== CONTACT ===== */
.contact-info {
  padding: 10px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(10, 36, 99, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
  background: var(--gradient);
  color: var(--white);
}

.contact-info-item h6 {
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.contact-info-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(10, 36, 99, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-links a:hover {
  background: var(--gradient);
  color: var(--white);
  transform: translateY(-3px);
}

.custom-input {
  border: 2px solid rgba(10, 36, 99, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--white);
}

.custom-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 36, 99, 0.08);
  outline: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-logo {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Override Bootstrap text-muted inside footer */
.footer .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-heading {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 40px 0 20px;
}

.footer-bottom {
  padding-bottom: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  box-shadow: none;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 96px;
  left: 24px;
  right: auto;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(10, 36, 99, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-gradient);
  color: var(--text-dark);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .carousel-control-prev { left: 0; }
  .carousel-control-next { right: 0; }
  .about-badge-box { right: 0; bottom: -10px; }

  /* Topbar wraps on tablet */
  .topbar .container { flex-wrap: wrap; gap: 4px; }
  .topbar-right { gap: 8px; }
}

/* ===== TABLET (768px) ===== */
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }

  /* Topbar — hide phone number, keep email + socials */
  .topbar-left span:last-child { display: none; }
  .topbar-left span:first-child { font-size: 0.78rem; }
  .topbar-right a { margin-left: 8px; font-size: 0.85rem; }

  /* Navbar */
  .navbar-nav .nav-link { padding: 10px 14px; font-size: 0.85rem; }
  .navbar-nav .nav-link::after { display: none; }
  .dropdown-menu { min-width: 100%; border-radius: 10px; margin-top: 4px; }
  .navbar-collapse { background: #fff; border-radius: 0 0 16px 16px;
    padding: 10px 16px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  body.dark-mode .navbar-collapse,
  html.dark-mode-early body .navbar-collapse { background: #1c2128; }
  .navbar-nav .btn-primary-custom { width: 100%; text-align: center; margin: 8px 0 0; }
  .theme-toggle-btn { margin: 8px 0 0; }

  /* Hero */
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-badge { font-size: 0.75rem; padding: 5px 14px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero-stats-bar { padding: 12px 0; }
  .stat-num { font-size: 1.8rem; }

  /* About */
  .about-img-wrapper { display: block; width: 100%; }
  .about-img-wrapper img { width: 100%; }
  .about-badge-box { right: 10px; bottom: -10px; padding: 14px 18px; }

  /* Why section */
  .why-item { gap: 14px; }
  .why-num { font-size: 1.5rem; min-width: 36px; }

  /* Testimonial */
  .testimonial-card { padding: 28px 20px; }
  .testimonial-text { font-size: 0.95rem; }
  .carousel-control-prev { left: 0; }
  .carousel-control-next { right: 0; }

  /* CTA */
  .cta-section { padding: 50px 0; }
  .cta-section h2 { font-size: 1.6rem; }
  .cta-section p { font-size: 0.95rem; }
  .btn-light-custom, .btn-outline-light-custom { padding: 11px 22px; font-size: 0.88rem; }

  /* Contact */
  .contact-info-item { gap: 12px; }
  .social-links a { width: 36px; height: 36px; }

  /* Footer */
  .footer { padding: 50px 0 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Map */
  .map-info-card { position: static; max-width: 100%; margin-bottom: 16px; border-radius: 12px; }
  .map-wrapper iframe { height: 280px; }
}

/* ===== MOBILE (480px) ===== */
@media (max-width: 480px) {
  /* Topbar — hide entirely or show minimal */
  .topbar { padding: 6px 0; font-size: 0.75rem; }
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: center; display: flex; }
  .topbar .container { justify-content: center; }

  /* Navbar brand text smaller */
  .brand-text { font-size: 0.82rem; }
  .logo-img { height: 36px; width: 36px; }

  /* Hero */
  .hero-section { min-height: 100svh; }
  .hero-title { font-size: 1.65rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 24px; }
  .hero-badge { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 14px; }
  .hero-btns { display: flex; flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; width: 100%; padding: 11px 20px; font-size: 0.88rem; }
  .hero-scroll-indicator { bottom: 160px; }

  /* Hero stats bar */
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 1.4rem; }
  .stat-item p { font-size: 0.7rem; }
  .stat-item span:last-of-type { font-size: 1.1rem; }

  /* Section titles */
  .section-title { font-size: 1.5rem; }
  .section-tag { font-size: 0.72rem; padding: 5px 14px; }
  .section-padding { padding: 48px 0; }

  /* About */
  .about-badge-box { padding: 12px 14px; right: 0; }
  .about-badge-box h4 { font-size: 1rem; }
  .about-feature { font-size: 0.88rem; }

  /* Service cards */
  .service-card { padding: 24px 18px; }
  .service-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .service-sub-list li { font-size: 0.85rem; padding: 9px 0; }

  /* Why */
  .why-item { flex-direction: column; gap: 8px; }
  .why-num { font-size: 1.2rem; }

  /* Portfolio */
  .portfolio-card img { height: 200px; }
  .filter-btn { padding: 6px 16px; font-size: 0.8rem; }

  /* Testimonial */
  .testimonial-card { padding: 24px 16px; }
  .testimonial-text { font-size: 0.88rem; }
  .testimonial-author img { width: 44px; height: 44px; }

  /* CTA */
  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: 1.35rem; }
  .btn-light-custom, .btn-outline-light-custom { display: block; width: 100%; text-align: center; margin: 6px 0; }

  /* Contact form */
  .custom-input { padding: 10px 12px; font-size: 0.85rem; }

  /* Team cards */
  .team-img-wrap img { width: 100px; height: 100px; }
  .team-info h5 { font-size: 0.92rem; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer h5 { font-size: 0.95rem; }
  .footer p, .footer-links a { font-size: 0.82rem; }
  .footer-logo { height: 42px; width: 42px; }

  /* Floating widgets — smaller on mobile */
  .tg-fab { width: 46px; height: 46px; }
  .wa-support-fab { width: 50px; height: 50px; }
  .back-to-top { width: 40px; height: 40px; font-size: 0.85rem; bottom: 80px; }

  /* Stat num */
  .stat-num { font-size: 1.4rem; }
}

/* ===== SMALL PHONES (360px) ===== */
@media (max-width: 360px) {
  .hero-title { font-size: 1.45rem; }
  .hero-subtitle { font-size: 0.82rem; }
  .section-title { font-size: 1.3rem; }
  .navbar-brand .brand-text { font-size: 0.75rem; }
  .logo-img { height: 32px; width: 32px; }
  .service-card { padding: 18px 14px; }
  .testimonial-card { padding: 18px 12px; }
  .hero-btns a { font-size: 0.82rem; padding: 10px 16px; }
  .stat-num { font-size: 1.2rem; }
  .tg-fab { width: 42px; height: 42px; }
  .wa-support-fab { width: 44px; height: 44px; }
}

/* ===== ADMIN PANEL MOBILE ===== */
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-topbar { padding: 0 16px; }
  .admin-content { padding: 16px; }

  /* Admin tables scroll horizontally */
  .admin-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table table { min-width: 500px; }

  /* Stat cards stack */
  .stat-card { padding: 16px 18px; }
  .stat-num { font-size: 1.6rem; }

  /* Sidebar backdrop */
  .sidebar-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.45); z-index: 199;
  }
  .sidebar-backdrop.show { display: block; }
}

@media (max-width: 480px) {
  .admin-content { padding: 12px; }
  .admin-topbar h5 { font-size: 0.88rem; }
  .topbar-user { display: none; }
  .admin-table table { min-width: 420px; }
  .stat-card { padding: 14px 16px; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.75rem; }
  .stat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ===== SERVICE MODAL ===== */
.service-modal .modal-header {
  background: var(--gradient);
  color: var(--white);
  border-radius: 16px 16px 0 0;
  padding: 24px 28px;
  border: none;
}

.service-modal .modal-header .btn-close {
  filter: invert(1);
}

.service-modal .modal-title {
  font-weight: 800;
  font-size: 1.2rem;
}

.service-modal .modal-body {
  padding: 28px;
}

.service-modal .modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 28px;
}

.service-modal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(21, 101, 192, 0.2);
}

.svc-modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(245, 168, 0, 0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.svc-feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.svc-feature-list li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
  color: var(--text-dark);
}

.svc-feature-list li:last-child {
  border-bottom: none;
}

.svc-feature-list li i {
  color: var(--accent);
  margin-right: 10px;
}

/* ===== OUR TEAM ===== */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(21, 101, 192, 0.08);
  transition: var(--transition);
  text-align: center;
  padding-top: 30px;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.team-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.team-img-wrap img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.2);
  transition: var(--transition);
  display: block;
}

.team-card:hover .team-img-wrap img {
  border-color: var(--accent);
  box-shadow: 0 6px 28px rgba(245, 168, 0, 0.35);
  transform: scale(1.05);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 4px;
}

.team-social a {
  width: 34px;
  height: 34px;
  background: rgba(21, 101, 192, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(245, 168, 0, 0.4);
}

.team-info {
  padding: 10px 18px 24px;
  border-top: none;
  transition: var(--transition);
}

.team-card:hover .team-info {
  border-top-color: transparent;
}

.team-info h5 {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 1rem;
}

.team-info span {
  display: inline-block;
  background: rgba(21, 101, 192, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.team-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 80px 0 0;
  background: var(--light-bg);
}

.map-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  display: block;
  border-radius: var(--radius);
  filter: saturate(1.1) contrast(1.05);
}

.map-info-card {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.18);
  max-width: 260px;
}

.map-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.map-info-card h6 {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.map-info-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0 0 10px;
  line-height: 1.5;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
}

.map-directions-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .map-info-card {
    max-width: calc(100% - 40px);
  }

  .map-wrapper iframe {
    height: 320px;
  }
}

/* ===== SEO CARDS SECTION ===== */
.seo-cards-section {
  padding: 90px 0;
  background: linear-gradient(160deg, #f4f7fc 0%, #eaf0fb 100%);
}

.seo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px 28px;
  height: 100%;
  box-shadow: 0 4px 24px rgba(21, 101, 192, 0.07);
  border: 1px solid rgba(21, 101, 192, 0.08);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* top accent bar on hover */
.seo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

/* subtle glow bg on hover */
.seo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.03) 0%, rgba(245, 168, 0, 0.05) 100%);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius);
}

.seo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(21, 101, 192, 0.16);
  border-bottom-color: var(--accent);
}

.seo-card:hover::before {
  transform: scaleX(1);
}

.seo-card:hover::after {
  opacity: 1;
}

.seo-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(245, 168, 0, 0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 18px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.seo-card:hover .seo-card-icon {
  background: var(--accent-gradient);
  color: var(--text-dark);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(245, 168, 0, 0.35);
}

.seo-card h5 {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.seo-card:hover h5 {
  color: var(--primary);
}

.seo-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
  flex: 1;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.seo-card-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.seo-card-link:hover {
  color: var(--primary);
  gap: 8px;
}

/* ===== SERVICE PAGE HERO ===== */
.svc-hero {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.92) 0%, rgba(21, 101, 192, 0.82) 60%, rgba(245, 168, 0, 0.2) 100%);
}

.svc-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
  padding: 60px 0;
}

.svc-hero-content .section-tag {
  background: rgba(245, 168, 0, 0.18);
  border: 1px solid rgba(245, 168, 0, 0.5);
  color: #ffd54f;
}

.svc-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 14px 0 16px;
}

.svc-hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

/* ===== SERVICE IMAGE STACK ===== */
.svc-img-stack {
  position: relative;
  display: inline-block;
  width: 100%;
}

.svc-img-main {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.svc-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 130px;
}

.svc-img-badge h4 {
  font-weight: 900;
  color: var(--primary);
  margin: 0;
  font-size: 1.6rem;
}

.svc-img-badge p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ===== STATS BAR ===== */
.svc-stats-bar {
  background: var(--gradient);
  padding: 40px 0;
}

.svc-stat {
  padding: 10px;
}

.svc-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.svc-stat p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 500;
}

/* ===== GALLERY CARDS ===== */
.svc-gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.svc-gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  display: block;
}

.svc-gallery-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.55);
}

.svc-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.svc-gallery-card:hover .svc-gallery-overlay {
  opacity: 1;
}

.svc-gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.svc-gallery-card:hover .svc-gallery-overlay span {
  transform: translateY(0);
}

/* Taller card for col-lg-6 */
.col-lg-6 .svc-gallery-card img {
  height: 280px;
}

/* ===== PROCESS CARDS ===== */
.svc-process-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.07);
  border: 1px solid rgba(21, 101, 192, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.svc-process-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.svc-process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.svc-process-card:hover::after {
  transform: scaleX(1);
}

.svc-process-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(21, 101, 192, 0.07);
  line-height: 1;
  margin-bottom: 12px;
  transition: var(--transition);
}

.svc-process-card:hover .svc-process-num {
  color: rgba(245, 168, 0, 0.18);
}

.svc-process-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(245, 168, 0, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 auto 16px;
  transition: var(--transition);
}

.svc-process-card:hover .svc-process-icon {
  background: var(--accent-gradient);
  color: var(--text-dark);
  transform: rotate(-6deg) scale(1.1);
}

.svc-process-card h5 {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1rem;
}

.svc-process-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== SERVICE CTA BANNER ===== */
.svc-cta-banner {
  background: linear-gradient(135deg, #f5a800 0%, #e69500 100%);
  padding: 80px 0;
}

.svc-cta-banner h2 {
  color: var(--text-dark);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.svc-cta-banner p {
  color: rgba(13, 27, 62, 0.8);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

@media (max-width: 991px) {
  .svc-img-badge {
    right: 0;
    bottom: -10px;
  }

  .svc-hero {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .svc-hero-content h1 {
    font-size: 1.8rem;
  }

  .svc-gallery-card img,
  .col-lg-6 .svc-gallery-card img {
    height: 200px;
  }

  .svc-img-main {
    height: 280px;
  }
}

/* ===== PREMIUM CONSULTANCY SECTION ===== */
.consultancy-section {
  background: var(--light-bg);
}

/* --- Card Base --- */
.consult-card {
  background: var(--white);
  border-radius: 20px;
  padding: 0 0 36px;
  box-shadow: 0 8px 40px rgba(21, 101, 192, 0.09);
  border: 1px solid rgba(21, 101, 192, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.consult-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transition: var(--transition);
}

.consult-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 64px rgba(21, 101, 192, 0.18);
}

/* --- Featured Card --- */
.consult-card-featured {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 16px 60px rgba(21, 101, 192, 0.3);
}

.consult-card-featured::before {
  background: var(--accent-gradient);
}

.consult-card-featured:hover {
  transform: scale(1.04) translateY(-12px);
  box-shadow: 0 28px 70px rgba(21, 101, 192, 0.38);
}

/* --- Dark Card --- */
.consult-card-dark {
  background: var(--text-dark);
  border-color: transparent;
}

.consult-card-dark::before {
  background: var(--accent-gradient);
}

.consult-card-dark:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 64px rgba(13, 27, 62, 0.4);
}

/* --- Most Popular Badge --- */
.consult-badge {
  position: absolute;
  top: 18px;
  right: -28px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 36px;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(245, 168, 0, 0.4);
}

/* --- Card Header --- */
.consult-card-header {
  padding: 36px 32px 20px;
  text-align: center;
}

.consult-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  transition: var(--transition);
  background: rgba(21, 101, 192, 0.08);
  color: var(--primary);
}

.consult-card-featured .consult-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.consult-card-dark .consult-icon {
  background: rgba(245, 168, 0, 0.12);
  color: var(--accent);
}

.consult-card:hover .consult-icon {
  transform: scale(1.1) rotate(-6deg);
}

.consult-card-header h5 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.consult-card-featured .consult-card-header h5,
.consult-card-dark .consult-card-header h5 {
  color: var(--white);
}

.consult-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.consult-card-featured .consult-card-header p {
  color: rgba(255, 255, 255, 0.7);
}

.consult-card-dark .consult-card-header p {
  color: rgba(255, 255, 255, 0.55);
}

/* --- Price --- */
.consult-price {
  text-align: center;
  padding: 20px 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 4px;
}

.consult-card-featured .consult-price,
.consult-card-dark .consult-price {
  border-color: rgba(255, 255, 255, 0.12);
}

.consult-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
}

.consult-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -1px;
}

.consult-card-featured .consult-amount,
.consult-card-dark .consult-amount {
  color: var(--white);
}

.consult-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.consult-card-featured .consult-period,
.consult-card-dark .consult-period {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Features List --- */
.consult-features {
  list-style: none;
  padding: 20px 32px;
  margin: 0;
  flex: 1;
}

.consult-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.consult-card-featured .consult-features li,
.consult-card-dark .consult-features li {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.consult-features li:last-child {
  border-bottom: none;
}

.consult-features li i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.consult-features li i.fa-check {
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
}

.consult-card-featured .consult-features li i.fa-check {
  background: rgba(255, 255, 255, 0.15);
  color: #7dffb3;
}

.consult-card-dark .consult-features li i.fa-check {
  background: rgba(245, 168, 0, 0.15);
  color: var(--accent);
}

.consult-features li.disabled {
  opacity: 0.4;
}

.consult-features li.disabled i.fa-times {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* --- CTA Button --- */
.consult-btn {
  display: block;
  margin: 0 32px;
  padding: 14px 24px;
  border-radius: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  background: rgba(21, 101, 192, 0.08);
  color: var(--primary);
  border: 2px solid rgba(21, 101, 192, 0.2);
}

.consult-btn:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.3);
}

.consult-btn-featured {
  background: var(--accent-gradient);
  color: var(--text-dark);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(245, 168, 0, 0.4);
}

.consult-btn-featured:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.consult-btn-dark {
  background: rgba(245, 168, 0, 0.12);
  color: var(--accent);
  border-color: rgba(245, 168, 0, 0.3);
}

.consult-btn-dark:hover {
  background: var(--accent-gradient);
  color: var(--text-dark);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(245, 168, 0, 0.4);
}

/* --- Trust Badges --- */
.consult-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(21, 101, 192, 0.1);
}

.consult-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(21, 101, 192, 0.1);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 2px 10px rgba(21, 101, 192, 0.06);
  transition: var(--transition);
}

.consult-trust-item i {
  color: var(--accent);
  font-size: 0.9rem;
}

.consult-trust-item:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.2);
}

.consult-trust-item:hover i {
  color: #ffd54f;
}

@media (max-width: 991px) {
  .consult-card-featured {
    transform: scale(1);
  }

  .consult-card-featured:hover {
    transform: translateY(-12px);
  }
}

/* ===== CONSULTANCY NAV LINK ===== */
.nav-link-consultancy {
  color: var(--accent) !important;
  font-weight: 900 !important;
  border: 2px solid rgba(245, 168, 0, 0.35);
  border-radius: 50px;
  padding: 5px 14px !important;
  transition: var(--transition);
}

.nav-link-consultancy i {
  font-size: 0.75rem;
}

.nav-link-consultancy:hover,
.nav-link-consultancy.active {
  background: var(--accent-gradient);
  color: var(--text-dark) !important;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(245, 168, 0, 0.35);
}

.nav-link-consultancy::after {
  display: none !important;
}

/* ===== CONSULTANCY PREVIEW ON INDEX ===== */
.consultancy-preview-section {
  background: var(--white);
}

.consultancy-preview-section .cp-card {
  font-family: inherit;
}

/* ===== FOOTER CONTACT LINKS ===== */
.footer-contact p {
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--accent);
}

/* ===== PAYMENT ICONS IN FOOTER ===== */
.payment-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  align-items: stretch;
}

.payment-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 6px 4px;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.58rem;
  font-weight: 700;
  flex: 1 1 18%;
  min-width: 42px;
  max-width: 60px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  pointer-events: all;
}

.payment-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pay-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Telebirr — blue icon, yellow/orange text (actual logo: blue + yellow) */
.pay-telebirr {
  background: linear-gradient(160deg, #1a7fd4 40%, #f5a800 100%);
  color: #fff;
}

/* CBE Birr — purple/magenta (CBE brand color from logo) */
.pay-cbebirr {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  color: #d4a017;
}

/* CBE — purple/magenta + gold (same CBE brand) */
.pay-cbe {
  background: linear-gradient(135deg, #7b1fa2, #6a1b9a);
  color: #d4a017;
}

/* Awash Bank — orange top + dark navy bottom (exact logo split) */
.pay-awash {
  background: linear-gradient(160deg, #f47920 50%, #1a237e 100%);
  color: #fff;
}

/* Bank of Abyssinia — amber/golden yellow (exact logo background) */
.pay-abyssinia {
  background: linear-gradient(135deg, #f5a623, #e09400);
  color: #1a1a1a;
}

/* ===== PAYMENT MODAL OVERLAY ===== */
.pay-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pay-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== PAYMENT MODAL BOX ===== */
.pay-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.pay-modal-overlay.active .pay-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.pay-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #fff;
  position: relative;
}

/* Telebirr — blue (actual logo color) */
.pay-header-telebirr {
  background: linear-gradient(135deg, #1a7fd4, #1565b8);
}

/* CBE Birr — purple/magenta (CBE brand) */
.pay-header-cbebirr {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

/* CBE — deep purple (CBE brand) */
.pay-header-cbe {
  background: linear-gradient(135deg, #7b1fa2, #6a1b9a);
}

/* Awash — orange to navy split (exact logo) */
.pay-header-awash {
  background: linear-gradient(160deg, #f47920 40%, #1a237e 100%);
}

/* Abyssinia — amber gold (exact logo background) */
.pay-header-abyssinia {
  background: linear-gradient(135deg, #f5a623, #e09400);
  color: #1a1a1a !important;
}

.pay-header-abyssinia h5,
.pay-header-abyssinia p {
  color: #1a1a1a !important;
}

.pay-header-abyssinia .pay-modal-close {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.1);
}

.pay-modal-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pay-modal-header h5 {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
}

.pay-modal-header p {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.85;
}

.pay-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-modal-close:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* Body */
.pay-modal-body {
  padding: 18px 20px;
}

.pay-modal-body>p {
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* Account box */
.pay-account-box {
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 13px;
  border: 1.5px solid;
}

.pay-box-telebirr {
  background: #f0f8ff;
  border-color: #1a7fd4;
}

.pay-box-cbebirr {
  background: #fdf0ff;
  border-color: #9c27b0;
}

.pay-box-cbe {
  background: #fdf0ff;
  border-color: #7b1fa2;
}

.pay-box-awash {
  background: #fff8f0;
  border-color: #f47920;
}

.pay-box-abyssinia {
  background: #fffbf0;
  border-color: #f5a623;
}

.pay-account-title {
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-box-telebirr .pay-account-title {
  color: #1a7fd4;
}

.pay-box-cbebirr .pay-account-title {
  color: #9c27b0;
}

.pay-box-cbe .pay-account-title {
  color: #7b1fa2;
}

.pay-box-awash .pay-account-title {
  color: #f47920;
}

.pay-box-abyssinia .pay-account-title {
  color: #c47d00;
}

.pay-account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.82rem;
  gap: 10px;
}

.pay-account-row:last-child {
  border-bottom: none;
}

.pay-account-row span {
  color: #666;
  font-weight: 500;
  white-space: nowrap;
}

.pay-account-row strong {
  color: #111;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.pay-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  font-size: 0.82rem;
  padding: 1px 3px;
  transition: color 0.2s;
}

.pay-copy-btn:hover {
  color: var(--accent);
}

.pay-copied {
  display: none;
  font-size: 0.68rem;
  font-weight: 700;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  padding: 1px 7px;
  border-radius: 50px;
}

/* Steps */
.pay-steps {
  background: #f8f9fc;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 12px;
}

.pay-steps-title {
  font-weight: 800;
  font-size: 0.82rem;
  color: #333;
  margin-bottom: 8px;
}

.pay-steps ol {
  margin: 0;
  padding-left: 16px;
}

.pay-steps ol li {
  font-size: 0.82rem;
  color: #444;
  margin-bottom: 5px;
  line-height: 1.5;
}

.pay-steps ol li:last-child {
  margin-bottom: 0;
}

/* Notice */
.pay-notice {
  background: #fffbf0;
  border: 1px solid #f5c400;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.pay-notice i {
  color: #f5a800;
  margin-top: 2px;
  flex-shrink: 0;
}

.pay-notice a {
  color: #003087;
  font-weight: 700;
  text-decoration: none;
}

.pay-notice a:hover {
  text-decoration: underline;
}

/* Footer */
.pay-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: #fafafa;
}

.pay-btn-close {
  background: #6c757d;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.pay-btn-close:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.pay-btn-pay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.pay-btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.pay-btn-telebirr {
  background: linear-gradient(135deg, #1a7fd4, #1565b8);
  color: #fff;
}

.pay-btn-cbebirr {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  color: #fff;
}

.pay-btn-cbe {
  background: linear-gradient(135deg, #7b1fa2, #6a1b9a);
  color: #fff;
}

.pay-btn-awash {
  background: linear-gradient(160deg, #f47920 40%, #1a237e 100%);
  color: #fff;
}

.pay-btn-abyssinia {
  background: linear-gradient(135deg, #f5a623, #e09400);
  color: #1a1a1a;
}

@media (max-width: 480px) {
  .pay-modal {
    border-radius: 14px;
  }

  .pay-modal-body {
    padding: 14px;
  }

  .pay-modal-footer {
    padding: 10px 14px;
  }

  .payment-icons {
    gap: 6px;
  }

  .payment-icon-btn {
    min-width: 48px;
    padding: 6px 8px;
  }
}

/* ===== PREMIUM CONSULTANCY BUTTON ON SERVICE PAGES ===== */
.btn-consultancy-svc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(13, 27, 62, 0.55);
  border: 2px solid rgba(13, 27, 62, 0.7);
  color: var(--text-dark);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-consultancy-svc i {
  color: var(--text-dark);
}

.btn-consultancy-svc:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.35);
}

.btn-consultancy-svc:hover i {
  color: var(--accent);
}

/* ===== WHATSAPP LIVE CHAT WIDGET ===== */
.wa-widget {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Floating Action Button */
.wa-fab {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.wa-fab-icon,
.wa-fab-close {
  position: absolute;
  font-size: 1.6rem;
  color: #fff;
  transition: all 0.3s ease;
}

.wa-fab-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.wa-fab-close {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
  font-size: 1.2rem;
}

.wa-fab.wa-active .wa-fab-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.wa-fab.wa-active .wa-fab-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Notification badge */
.wa-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: wa-badge-pulse 1.8s ease-in-out infinite;
}

@keyframes wa-badge-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* Chat Box */
.wa-chat-box {
  width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-chat-box.wa-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Header */
.wa-chat-header {
  background: linear-gradient(135deg, #075e54, #128c7e);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-header-avatar {
  position: relative;
  flex-shrink: 0;
}

.wa-header-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.wa-header-icon {
  position: absolute;
  bottom: -2px;
  right: -4px;
  background: #25d366;
  color: #fff;
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #075e54;
}

.wa-header-info {
  flex: 1;
}

.wa-header-info h6 {
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 0 2px;
}

.wa-header-info span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(37, 211, 102, 0);
  }
}

.wa-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
  flex-shrink: 0;
}

.wa-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Body */
.wa-chat-body {
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8bdb5' fill-opacity='0.25'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 16px;
  min-height: 140px;
}

.wa-message-wrap {
  display: flex;
  justify-content: flex-start;
}

.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 12px 14px;
  max-width: 85%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.wa-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border: 8px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
}

.wa-bubble p {
  font-size: 0.85rem;
  color: #111;
  margin: 0 0 6px;
  line-height: 1.5;
}

.wa-bubble p:last-of-type {
  margin-bottom: 4px;
}

.wa-time {
  font-size: 0.68rem;
  color: #999;
  display: block;
  text-align: right;
}

/* Footer */
.wa-chat-footer {
  padding: 12px 14px;
  background: #f0f0f0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.wa-start-btn:hover {
  background: linear-gradient(135deg, #20ba5a, #0e7a6e);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.wa-start-btn i {
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .wa-widget {
    bottom: 80px;
    right: 16px;
  }

  .wa-chat-box {
    width: calc(100vw - 32px);
  }

  .wa-fab {
    width: 52px;
    height: 52px;
  }
}

/* Ensure footer column doesn't clip payment buttons */
.footer .col-lg-3 {
  overflow: visible;
}

/* ===== TELEGRAM LIVE CHAT WIDGET ===== */
/* Positioned bottom-RIGHT, above WhatsApp */
.tg-widget {
  position: fixed;
  bottom: 96px;
  right: 24px;
  left: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.tg-widget>* {
  pointer-events: all;
}

/* children are clickable */

/* FAB Button */
.tg-fab {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #229ed9, #1a7fc1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(34, 158, 217, 0.45);
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.tg-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(34, 158, 217, 0.55);
}

.tg-fab-icon,
.tg-fab-close {
  position: absolute;
  color: #fff;
  transition: all 0.28s ease;
}

.tg-fab-icon {
  font-size: 1.5rem;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.tg-fab-close {
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}

.tg-fab.tg-active .tg-fab-icon {
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
}

.tg-fab.tg-active .tg-fab-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.tg-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: tg-pulse 1.8s ease-in-out infinite;
}

@keyframes tg-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.25);
  }
}

/* Chat Box — opens upward from bottom-left */
.tg-chat-box {
  width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  order: -1;
}

.tg-chat-box.tg-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Header */
/* ===== TELEGRAM HEADER ===== */
.tg-header {
  background: linear-gradient(135deg, #229ed9, #1a7fc1);
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tg-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tg-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  flex-shrink: 0;
}

.tg-header h6 {
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  margin: 0 0 1px;
}

.tg-header span {
  color: rgba(255,255,255,0.82);
  font-size: 0.58rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.tg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: tg-dot-pulse 2s ease-in-out infinite;
}

@keyframes tg-dot-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(74, 222, 128, 0);
  }
}

.tg-close {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
  transition: background 0.2s;
}

.tg-close:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* Body */
.tg-body {
  background: #f0f4f8;
  padding: 7px 8px;
  min-height: 50px;
}

.tg-bubble {
  background: #fff;
  border-radius: 0 8px 8px 8px;
  padding: 6px 8px;
  max-width: 94%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: relative;
}

.tg-bubble p {
  font-size: 0.68rem;
  color: #111;
  margin: 0 0 3px;
  line-height: 1.4;
}

.tg-bubble p:last-of-type { margin-bottom: 1px; }

.tg-time {
  font-size: 0.55rem;
  color: #aaa;
  display: block;
  text-align: right;
}

/* Footer */
.tg-footer {
  padding: 6px 8px;
  background: #f8f9fc;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.tg-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #229ed9, #1a7fc1);
  color: #fff;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 5px 10px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.tg-start-btn:hover {
  background: linear-gradient(135deg, #1a8fc5, #1570ad);
  color: #fff;
}

.tg-alt {
  text-align: center;
  font-size: 0.58rem;
  color: #888;
  margin: 4px 0 0;
}

.tg-alt a {
  color: #229ed9;
  font-weight: 700;
  text-decoration: none;
}

.tg-alt a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .tg-widget {
    bottom: 96px;
    right: 12px;
    left: auto;
  }

  .tg-chat-box {
    width: calc(100vw - 24px);
  }

  .tg-fab {
    width: 48px;
    height: 48px;
  }
}


/* ===== ABOUT PAGE ===== */

/* Hero */
.about-hero {
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

/* Bootstrap carousel fills the hero */
.about-hero .carousel,
.about-hero .carousel-inner,
.about-hero .carousel-item {
  min-height: 500px;
  height: 100%;
}

/* Ken Burns on active slide */
.about-hero .carousel-item.active .hero-slide-bg {
  -webkit-animation: kenBurns 8s ease-in-out infinite alternate;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

/* Content layer sits above the carousel */
.about-hero-body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(21, 101, 192, 0.88) 55%, rgba(245, 168, 0, 0.22) 100%);
  z-index: 1;
}

.about-hero-content {
  color: var(--white);
  padding: 110px 0 80px;
}

.about-hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  margin: 16px 0 14px;
  line-height: 1.15;
}

.about-hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-hero-content .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.about-hero-content .breadcrumb-item,
.about-hero-content .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.about-hero-content .breadcrumb-item a:hover {
  color: var(--accent);
}

.about-hero-content .breadcrumb-item.active {
  color: var(--accent);
}

.about-hero-content .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.35);
}

/* Stats Bar */
.about-stats-bar {
  background: var(--gradient);
  padding: 0;
}

.about-stat-item {
  padding: 36px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.about-stat-item:last-child {
  border-right: none;
}

.about-stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.about-stat-plus,
.about-stat-pct {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  vertical-align: top;
  margin-top: 4px;
  display: inline-block;
}

.about-stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 6px 0 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Mission & Vision Cards */
.mv-card {
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.06;
}

.mv-mission {
  background: var(--gradient);
  color: var(--white);
}

.mv-mission::before {
  background: var(--white);
}

.mv-vision {
  background: var(--white);
  border: 2px solid rgba(21, 101, 192, 0.1);
  box-shadow: var(--shadow);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.mv-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.mv-mission .mv-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

.mv-vision .mv-icon {
  background: rgba(21, 101, 192, 0.1);
  color: var(--primary);
}

.mv-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.mv-mission h3 {
  color: var(--white);
}

.mv-vision h3 {
  color: var(--text-dark);
}

.mv-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.mv-mission p {
  color: rgba(255, 255, 255, 0.85);
}

.mv-vision p {
  color: var(--text-muted);
}

.mv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mv-list li {
  padding: 7px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mv-vision .mv-list li {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

.mv-list li:last-child {
  border-bottom: none;
}

.mv-mission .mv-list li i {
  color: var(--accent);
}

.mv-vision .mv-list li i {
  color: var(--primary);
}

/* Values Cards */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.07);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--accent);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(245, 168, 0, 0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 auto 16px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--accent-gradient);
  color: var(--text-dark);
  transform: rotate(-6deg) scale(1.1);
}

.value-card h5 {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* Gallery Cards */
.about-gallery-section {
  background: var(--text-dark);
}

.about-gallery-section .section-tag {
  background: rgba(245, 168, 0, 0.15);
  color: var(--accent);
}

.about-gallery-section .section-title {
  color: var(--white);
}

.about-gallery-section .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.gallery-card-tall img {
  height: 460px;
}

.gallery-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.5);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 101, 192, 0.92) 0%, rgba(21, 101, 192, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay i {
  font-size: 2rem;
  color: var(--accent);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-card-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.05s;
}

.gallery-card:hover .gallery-card-overlay i,
.gallery-card:hover .gallery-card-overlay span {
  transform: translateY(0);
}

/* Partners Marquee */
.partners-track-wrapper {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 0;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.07);
}

.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: grayscale(1);
}

.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.08);
}

.partner-logo-item img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Partner Cards */
.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.07);
  border-top: 3px solid transparent;
  transition: var(--transition);
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent);
}

.partner-card-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  transition: var(--transition);
}

.partner-card:hover .partner-card-icon {
  transform: scale(1.15);
}

.partner-card h5 {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .about-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 16px;
  }

  .about-stat-item:last-child {
    border-bottom: none;
  }

  .gallery-card-tall img {
    height: 300px;
  }

  .mv-card {
    padding: 28px 22px;
  }
}


/* ===== DARK / LIGHT MODE TOGGLE ===== */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(21, 101, 192, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.theme-toggle-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ===== DARK MODE — applied via body.dark-mode (JS) or html.dark-mode-early (early script, no flash) ===== */
body.dark-mode .theme-toggle-btn,
html.dark-mode-early body .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffd54f;
}

body.dark-mode .theme-toggle-btn:hover,
html.dark-mode-early body .theme-toggle-btn:hover {
  background: var(--accent);
  color: var(--text-dark);
}

body.dark-mode,
html.dark-mode-early body {
  background: #0d1117;
  color: #e6edf3;
}

body.dark-mode .topbar,
html.dark-mode-early body .topbar {
  background: #0a1628;
}

body.dark-mode #mainNav,
html.dark-mode-early body #mainNav {
  background: #161b22;
  border-bottom-color: var(--accent);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .navbar-nav .nav-link,
html.dark-mode-early body .navbar-nav .nav-link {
  color: #e6edf3;
}

body.dark-mode .navbar-nav .nav-link:hover,
html.dark-mode-early body .navbar-nav .nav-link:hover {
  color: var(--accent);
}

body.dark-mode .brand-text,
html.dark-mode-early body .brand-text {
  color: #e6edf3;
}

body.dark-mode .section-title,
html.dark-mode-early body .section-title {
  color: #e6edf3;
}

body.dark-mode .bg-light-custom,
html.dark-mode-early body .bg-light-custom {
  background: #161b22 !important;
}

body.dark-mode .service-card,
body.dark-mode .value-card,
body.dark-mode .partner-card,
body.dark-mode .team-card,
body.dark-mode .testimonial-card,
body.dark-mode .why-section,
body.dark-mode .mv-vision,
html.dark-mode-early body .service-card,
html.dark-mode-early body .value-card,
html.dark-mode-early body .partner-card,
html.dark-mode-early body .team-card,
html.dark-mode-early body .testimonial-card,
html.dark-mode-early body .why-section,
html.dark-mode-early body .mv-vision {
  background: #1c2128;
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .service-card h5,
body.dark-mode .value-card h5,
body.dark-mode .partner-card h5,
body.dark-mode .team-info h5,
body.dark-mode .why-item h5,
html.dark-mode-early body .service-card h5,
html.dark-mode-early body .value-card h5,
html.dark-mode-early body .partner-card h5,
html.dark-mode-early body .team-info h5,
html.dark-mode-early body .why-item h5 {
  color: #e6edf3;
}

body.dark-mode .text-muted,
body.dark-mode .service-card p,
body.dark-mode .service-sub-list li,
body.dark-mode .value-card p,
body.dark-mode .partner-card p,
body.dark-mode .team-info p,
body.dark-mode .why-item p,
html.dark-mode-early body .text-muted,
html.dark-mode-early body .service-card p,
html.dark-mode-early body .service-sub-list li,
html.dark-mode-early body .value-card p,
html.dark-mode-early body .partner-card p,
html.dark-mode-early body .team-info p,
html.dark-mode-early body .why-item p {
  color: #8b949e !important;
}

body.dark-mode .service-sub-list li {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .service-category-card:hover .service-sub-list li,
html.dark-mode-early body .service-category-card:hover .service-sub-list li {
  color: #e6edf3 !important;
}

body.dark-mode .service-sub-list li,
html.dark-mode-early body .service-sub-list li {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark-mode .about-feature,
html.dark-mode-early body .about-feature {
  color: #e6edf3;
}

body.dark-mode .about-badge-box,
html.dark-mode-early body .about-badge-box {
  background: #1c2128;
}

body.dark-mode .about-badge-box p,
html.dark-mode-early body .about-badge-box p {
  color: #8b949e;
}

body.dark-mode .mv-vision h3,
html.dark-mode-early body .mv-vision h3 {
  color: #e6edf3;
}

body.dark-mode .mv-vision .mv-list li,
html.dark-mode-early body .mv-vision .mv-list li {
  color: #e6edf3;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .partners-track-wrapper,
html.dark-mode-early body .partners-track-wrapper {
  background: #1c2128;
}

body.dark-mode .footer,
html.dark-mode-early body .footer {
  background: #010409;
}

body.dark-mode .footer-bottom,
html.dark-mode-early body .footer-bottom {
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .contact-icon,
html.dark-mode-early body .contact-icon {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-mode .custom-input,
html.dark-mode-early body .custom-input {
  background: #1c2128;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e6edf3;
}

body.dark-mode .custom-input:focus,
html.dark-mode-early body .custom-input:focus {
  border-color: var(--accent);
  background: #1c2128;
}

body.dark-mode .custom-input::placeholder,
html.dark-mode-early body .custom-input::placeholder {
  color: #8b949e;
}

body.dark-mode .why-item,
html.dark-mode-early body .why-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .portfolio-filter .filter-btn,
html.dark-mode-early body .portfolio-filter .filter-btn {
  border-color: rgba(255, 255, 255, 0.15);
  color: #e6edf3;
}

body.dark-mode .section-tag,
html.dark-mode-early body .section-tag {
  background: rgba(245, 168, 0, 0.15);
}

body.dark-mode .navbar-toggler,
html.dark-mode-early body .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .navbar-toggler-icon,
html.dark-mode-early body .navbar-toggler-icon {
  filter: invert(1);
}

body.dark-mode .svc-feature-list li,
html.dark-mode-early body .svc-feature-list li {
  color: #e6edf3;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .map-info-card,
html.dark-mode-early body .map-info-card {
  background: #1c2128;
}

body.dark-mode .map-info-card h6,
html.dark-mode-early body .map-info-card h6 {
  color: #e6edf3;
}

body.dark-mode .svc-hero-overlay,
html.dark-mode-early body .svc-hero-overlay {
  background: linear-gradient(135deg, rgba(5, 30, 80, 0.97) 0%, rgba(13, 71, 161, 0.92) 60%, rgba(245, 168, 0, 0.15) 100%);
}

body.dark-mode .seo-card,
body.dark-mode .svc-img-badge,
html.dark-mode-early body .seo-card,
html.dark-mode-early body .svc-img-badge {
  background: #1c2128;
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .seo-card h5,
html.dark-mode-early body .seo-card h5 {
  color: #e6edf3;
}

body.dark-mode .seo-card p,
html.dark-mode-early body .seo-card p {
  color: #8b949e;
}

body.dark-mode .svc-img-badge h4,
html.dark-mode-early body .svc-img-badge h4 {
  color: var(--accent);
}

body.dark-mode .svc-img-badge p,
html.dark-mode-early body .svc-img-badge p {
  color: #8b949e;
}

/* ===== PORTFOLIO CARDS (new style) ===== */
.pf-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.07);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.pf-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(21, 101, 192, 0.16);
  border-color: rgba(21, 101, 192, 0.15);
}

.pf-card-img {
  position: relative;
  overflow: hidden;
}

.pf-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-card:hover .pf-card-img img {
  transform: scale(1.06);
}

.pf-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pf-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pf-card-body h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.pf-card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf-card-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  margin-top: auto;
}

.pf-card-link:hover {
  color: var(--primary);
  gap: 8px;
}

/* Dark mode */
body.dark-mode .pf-card,
html.dark-mode-early body .pf-card {
  background: #1c2128;
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .pf-card-body h5,
html.dark-mode-early body .pf-card-body h5 {
  color: #e6edf3;
}

body.dark-mode .pf-card-body p,
html.dark-mode-early body .pf-card-body p {
  color: #8b949e;
}

/* ===== HERO CAROUSEL ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
}

/* Bootstrap carousel fills the section */
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
}

/* Background image layer */
.hero-slide-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Ken Burns on active slide */
.carousel-item.active .hero-slide-bg {
  -webkit-animation: kenBurns 8s ease-in-out infinite alternate;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@-webkit-keyframes kenBurns {
  0% {
    -webkit-transform: scale(1) translate(0%, 0%);
    transform: scale(1) translate(0%, 0%);
  }

  50% {
    -webkit-transform: scale(1.08) translate(-2%, -1%);
    transform: scale(1.08) translate(-2%, -1%);
  }

  100% {
    -webkit-transform: scale(1.05) translate(2%, 1%);
    transform: scale(1.05) translate(2%, 1%);
  }
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0%, 0%);
  }

  50% {
    transform: scale(1.08) translate(-2%, -1%);
  }

  100% {
    transform: scale(1.05) translate(2%, 1%);
  }
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: -webkit-linear-gradient(315deg, rgba(13, 71, 161, 0.93) 0%, rgba(21, 101, 192, 0.82) 55%, rgba(245, 168, 0, 0.18) 100%);
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.93) 0%, rgba(21, 101, 192, 0.82) 55%, rgba(245, 168, 0, 0.18) 100%);
  z-index: 1;
}

/* Content container */
.hero-slide-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Slide content */
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

/* Animate content in on active slide */
.carousel-item .hero-content {
  opacity: 0;
  -webkit-transform: translateX(-30px);
  transform: translateX(-30px);
}

.carousel-item.active .hero-content {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: opacity 0.8s ease 0.3s, -webkit-transform 0.8s ease 0.3s;
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

/* Override Bootstrap carousel controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  bottom: auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}

.hero-section .carousel-control-prev {
  left: 24px;
}

.hero-section .carousel-control-next {
  right: 24px;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-dark);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
  display: none;
}

.hero-section .carousel-control-prev i,
.hero-section .carousel-control-next i {
  font-size: 1rem;
  color: var(--white);
}

.hero-section .carousel-control-prev:hover i,
.hero-section .carousel-control-next:hover i {
  color: var(--text-dark);
}

/* Override Bootstrap indicators */
.hero-section .carousel-indicators {
  bottom: 110px;
  margin: 0;
  gap: 8px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.hero-section .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  opacity: 1;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  padding: 0;
  margin: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.hero-section .carousel-indicators button.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* Stats bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(13, 71, 161, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}

.hero-stats-bar .stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats-bar .stat-item:last-child {
  border-right: none;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll-indicator a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-section {
    height: 100svh;
    min-height: 560px;
  }

  .hero-section .carousel-control-prev {
    left: 12px;
  }

  .hero-section .carousel-control-next {
    right: 12px;
  }

  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .hero-section .carousel-indicators {
    bottom: 130px;
  }

  .hero-stats-bar .stat-item {
    padding: 0 8px;
    border-right: none;
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}

/* Background image div — Ken Burns animates this, not the slide itself */
.hero-slide-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  -webkit-transform: scale(1) translate(0, 0);
  transform: scale(1) translate(0, 0);
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide.active .hero-slide-bg {
  -webkit-animation: kenBurns 8s ease-in-out infinite alternate;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@-webkit-keyframes kenBurns {
  0% {
    -webkit-transform: scale(1) translate(0%, 0%);
    transform: scale(1) translate(0%, 0%);
  }

  50% {
    -webkit-transform: scale(1.08) translate(-2%, -1%);
    transform: scale(1.08) translate(-2%, -1%);
  }

  100% {
    -webkit-transform: scale(1.05) translate(2%, 1%);
    transform: scale(1.05) translate(2%, 1%);
  }
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0%, 0%);
  }

  50% {
    transform: scale(1.08) translate(-2%, -1%);
  }

  100% {
    transform: scale(1.05) translate(2%, 1%);
  }
}

.hero-slide .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: -webkit-linear-gradient(315deg, rgba(13, 71, 161, 0.93) 0%, rgba(21, 101, 192, 0.82) 55%, rgba(245, 168, 0, 0.18) 100%);
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.93) 0%, rgba(21, 101, 192, 0.82) 55%, rgba(245, 168, 0, 0.18) 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
}

/* Slide content animation */
.hero-slide .hero-content {
  opacity: 0;
  -webkit-transform: translateX(-40px);
  transform: translateX(-40px);
  -webkit-transition: opacity 0.8s ease 0.4s, -webkit-transform 0.8s ease 0.4s;
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
  max-width: 700px;
  color: var(--white);
}

.hero-slide.active .hero-content {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* Prev / Next buttons */
.hero-carousel-prev,
.hero-carousel-next {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.hero-carousel-prev {
  left: 24px;
}

.hero-carousel-next {
  right: 24px;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-dark);
  -webkit-transform: translateY(-50%) scale(1.1);
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* Stats bar pinned at bottom of carousel */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(13, 71, 161, 0.55);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}

.hero-stats-bar .stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats-bar .stat-item:last-child {
  border-right: none;
}

/* Scroll indicator above stats bar */
.hero-scroll-indicator {
  bottom: 80px;
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 100svh;
    min-height: 560px;
  }

  .hero-carousel-prev {
    left: 12px;
  }

  .hero-carousel-next {
    right: 12px;
  }

  .hero-carousel-prev,
  .hero-carousel-next {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .hero-dots {
    bottom: 130px;
  }

  .hero-stats-bar .hero-stats {
    gap: 8px !important;
  }

  .hero-stats-bar .stat-item {
    padding: 0 8px;
    border-right: none;
  }
}

/* ===== WHATSAPP CUSTOMER SUPPORT WIDGET ===== */
.wa-support-widget {
  position: fixed;
  bottom: 28px;
  right: 24px;
  left: auto;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  /* container never blocks clicks */
}

.wa-support-widget>* {
  pointer-events: all;
  /* only actual children are clickable */
}

/* FAB */
.wa-support-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  order: 2;
}

.wa-support-fab:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.wa-fab-close {
  display: none;
}

.wa-support-fab.wa-active .wa-fab-icon {
  display: none;
}

.wa-support-fab.wa-active .wa-fab-close {
  display: block;
  font-size: 1.2rem;
}

.wa-support-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e63946;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* Chat Box */
.wa-support-box {
  width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  overflow: hidden;
  margin-bottom: 8px;
  order: 1;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

.wa-support-widget.wa-open .wa-support-box {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

/* Header */
.wa-support-header {
  background: #25d366;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.wa-support-back,
.wa-support-menu {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  opacity: 0.9;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.wa-support-back:hover,
.wa-support-menu:hover {
  opacity: 1;
}

.wa-support-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.wa-support-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-support-avatar img { width: 100%; height: 100%; object-fit: cover; }

.wa-support-avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  font-size: 0.7rem;
  color: #fff;
}

.wa-support-header-info h6 {
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  margin: 0 0 1px;
}

.wa-support-header-info span {
  color: rgba(255,255,255,0.85);
  font-size: 0.58rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.wa-online-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: waPulse 2s infinite;
}

/* Body */
.wa-support-body {
  background: #ece5dd;
  padding: 8px 7px;
  min-height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8b8a2' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-support-agent-name {
  font-size: 0.58rem;
  color: #667781;
  font-weight: 600;
  margin-bottom: 2px;
  padding-left: 2px;
}

.wa-support-bubble {
  background: #25d366;
  color: #fff;
  border-radius: 0 8px 8px 8px;
  padding: 6px 8px;
  max-width: 94%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wa-support-bubble p {
  font-size: 0.68rem;
  line-height: 1.4;
  margin: 0 0 3px;
  color: #fff;
}

.wa-support-bubble p:last-of-type { margin-bottom: 0; }

.wa-support-time {
  display: block;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.75);
  text-align: right;
  margin-top: 3px;
}

/* Footer */
.wa-support-footer {
  padding: 6px 8px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.wa-support-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 6px 10px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}

.wa-support-send-btn:hover { background: #1ebe5d; color: #fff; }

.wa-support-alt {
  font-size: 0.58rem;
  color: #667781;
  margin: 4px 0 0;
}

.wa-support-alt a { color: #25d366; font-weight: 700; text-decoration: none; }
.wa-support-alt a:hover { text-decoration: underline; }

/* Dark mode */
body.dark-mode .wa-support-box,
html.dark-mode-early body .wa-support-box {
  background: #1c2128;
}

body.dark-mode .wa-support-footer,
html.dark-mode-early body .wa-support-footer {
  background: #1c2128;
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .wa-support-alt,
html.dark-mode-early body .wa-support-alt {
  color: #8b949e;
}

@media (max-width: 480px) {
  .wa-support-widget {
    right: 12px;
    left: auto;
    bottom: 28px;
  }

  .wa-support-box {
    width: calc(100vw - 24px);
  }
}

/* ===== TEAM CARDS  DIRECTOR STYLE ===== */
.team-card {
  position: relative;
}

.team-card-ceo {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(245, 168, 0, 0.2);
}

.team-ceo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.team-responsibilities {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  text-align: left;
}

.team-responsibilities li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}

.team-responsibilities li i {
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== ORG CHART ===== */
.org-chart {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.org-ceo {
  display: flex;
  justify-content: center;
}

.org-node {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.org-node small {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 2px;
}

.org-node-ceo {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.35);
  font-size: 1rem;
  padding: 16px 32px;
}

.org-node-dir {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid rgba(21, 101, 192, 0.15);
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.1);
  min-width: 150px;
  font-size: 0.82rem;
}

.org-node-dir:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(245, 168, 0, 0.2);
  transform: translateY(-4px);
}

.org-node-dir i {
  color: var(--primary);
  font-size: 1.1rem;
}

.org-line-down {
  width: 2px;
  height: 32px;
  background: rgba(21, 101, 192, 0.3);
  margin: 0 auto;
}

.org-line-across {
  height: 2px;
  background: rgba(21, 101, 192, 0.3);
  margin: 0 auto;
  width: 75%;
}

.org-directors {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-line-up {
  width: 2px;
  height: 32px;
  background: rgba(21, 101, 192, 0.3);
}

/* Dark mode */
body.dark-mode .team-responsibilities li,
html.dark-mode-early body .team-responsibilities li {
  color: #8b949e;
}

body.dark-mode .org-node-dir,
html.dark-mode-early body .org-node-dir {
  background: #1c2128;
  color: #e6edf3;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .org-line-down,
body.dark-mode .org-line-across,
body.dark-mode .org-line-up,
html.dark-mode-early body .org-line-down,
html.dark-mode-early body .org-line-across,
html.dark-mode-early body .org-line-up {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .org-line-across {
    width: 60%;
  }

  .org-directors {
    gap: 10px;
  }

  .org-node-dir {
    min-width: 120px;
    font-size: 0.75rem;
    padding: 10px 14px;
  }
}

/* ===== PARTNER LOGO CARDS ===== */
.partner-card-logo {
  background: #fff;
  border-radius: 16px;
  padding: 16px 12px 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.07);
  border: 1px solid rgba(21, 101, 192, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.partner-card-logo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(21, 101, 192, 0.15);
  border-color: var(--accent);
}

.partner-card-logo img {
  width: 100px !important;
  height: 70px !important;
  max-width: 100px !important;
  max-height: 70px !important;
  object-fit: contain !important;
  border-radius: 8px;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.partner-card-logo:hover img {
  transform: scale(1.05);
}

.partner-card-logo p {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
}

/* ===== PARTNER CARDS SLIDING MARQUEE ===== */
.partners-cards-wrapper {
  overflow: hidden;
  position: relative;
  padding: 12px 0 20px;
}

.partners-cards-wrapper::before,
.partners-cards-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners-cards-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg), transparent);
}

.partners-cards-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg), transparent);
}

.partners-cards-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: max-content;
  animation: marqueeCards 32s linear infinite;
}

.partners-cards-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeCards {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-card-slide {
  width: 170px;
  min-width: 170px;
  flex-shrink: 0;
  height: auto;
}

/* Fallback when image missing */
.partner-logo-fallback {
  width: 100%;
  max-width: 140px;
  height: 100px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.08), rgba(245, 168, 0, 0.08));
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary);
}

.partner-logo-fallback i {
  font-size: 2rem;
  color: var(--primary);
}

.partner-logo-fallback span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  padding: 0 8px;
}

/* Marquee name items */
.partner-name-item {
  background: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  border: 1.5px solid rgba(21, 101, 192, 0.12);
  white-space: nowrap;
}

.partner-name-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.partner-name-item:hover {
  border-color: var(--accent);
  color: var(--primary);
}

/* Dark mode */
body.dark-mode .partner-card-logo,
html.dark-mode-early body .partner-card-logo {
  background: #1c2128;
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .partner-card-logo p,
html.dark-mode-early body .partner-card-logo p {
  color: #e6edf3;
}

body.dark-mode .partner-name-item,
html.dark-mode-early body .partner-name-item {
  background: #1c2128;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .partners-cards-wrapper::before,
html.dark-mode-early body .partners-cards-wrapper::before {
  background: linear-gradient(to right, #0d1117, transparent);
}

body.dark-mode .partners-cards-wrapper::after,
html.dark-mode-early body .partners-cards-wrapper::after {
  background: linear-gradient(to left, #0d1117, transparent);
}

body.dark-mode .partner-name-item span,
html.dark-mode-early body .partner-name-item span {
  color: #e6edf3;
}

/* ===== HERO TYPEWRITER ===== */
.hero-typed {
  display: inline;
  position: relative;
  white-space: nowrap;
}

.typed-text {
  color: #f5a800 !important;
  font-weight: 900;
}

.typed-cursor {
  display: inline-block;
  color: #f5a800 !important;
  font-weight: 300;
  font-size: 0.9em;
  line-height: 1;
  margin-left: 2px;
  vertical-align: baseline;
  animation: cursorBlink 1.05s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes cursorBlink {
  0%,  45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

/* Remove slot-machine styles */
.hw-track, .hw-item, .hw-word { display: none; }

/* ===== TAWK.TO AI AGENT — force bottom-left ===== */
#tawk-bubble-container,
.tawk-min-container,
[id^="tawk-"],
iframe[title*="chat" i],
iframe[src*="tawk"] {
  left: 24px !important;
  right: auto !important;
  bottom: 28px !important;
}


/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE — COMPLETE FIX
   ============================================================ */

/* ===== TABLET 768px ===== */
@media (max-width: 768px) {

  /* About page hero */
  .about-hero, .about-hero .carousel,
  .about-hero .carousel-inner,
  .about-hero .carousel-item { min-height: 340px; }
  .about-hero-content { padding: 80px 0 60px; }
  .about-hero-content h1 { font-size: 1.9rem; }
  .about-hero-content p  { font-size: 0.92rem; }

  /* About stats bar */
  .about-stat-num  { font-size: 2.2rem; }
  .about-stat-plus,
  .about-stat-pct  { font-size: 1.4rem; }
  .about-stat-item { padding: 24px 12px; }

  /* Mission/Vision cards */
  .mv-card { padding: 24px 20px; }

  /* Value cards */
  .value-card { padding: 20px 16px; }

  /* Partners marquee — slow down on mobile */
  .partners-cards-track { gap: 14px; }
  .partner-card-logo    { min-width: 110px; padding: 14px 12px; }

  /* Service page hero */
  .svc-hero { min-height: 320px; }
  .svc-hero-content h1 { font-size: 1.8rem; }

  /* SEO cards */
  .seo-card { padding: 24px 20px 20px; }

  /* Map */
  .map-section { padding: 50px 0 0; }
  .map-wrapper iframe { height: 260px; }
  .map-info-card { position: static; max-width: 100%; margin-bottom: 12px; }

  /* Floating chat boxes — narrower */
  .tg-chat-box    { width: calc(100vw - 48px); max-width: 300px; }
  .wa-support-box { width: calc(100vw - 48px); max-width: 320px; }
}

/* ===== MOBILE 480px ===== */
@media (max-width: 480px) {

  /* Topbar */
  .topbar { padding: 6px 0; }
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: center; display: flex; gap: 10px; }
  .topbar .container { justify-content: center; }

  /* Navbar */
  .brand-text { font-size: 0.82rem; }
  .logo-img   { height: 36px; width: 36px; }
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Hero */
  .hero-section { min-height: 100svh; }
  .hero-title    { font-size: 1.65rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 22px; }
  .hero-badge    { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 14px; }
  .hero-btns     { flex-direction: column; gap: 10px; }
  .hero-btns a   { text-align: center; width: 100%; padding: 11px 20px; font-size: 0.88rem; }
  .hero-scroll-indicator { bottom: 155px; }

  /* Hero stats */
  .hero-stats { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .stat-num   { font-size: 1.4rem; }
  .stat-item p { font-size: 0.68rem; }
  .stat-item span:last-of-type { font-size: 1rem; }

  /* Sections */
  .section-title   { font-size: 1.45rem; }
  .section-tag     { font-size: 0.72rem; padding: 5px 14px; }
  .section-padding { padding: 44px 0; }

  /* About */
  .about-hero, .about-hero .carousel,
  .about-hero .carousel-inner,
  .about-hero .carousel-item { min-height: 280px; }
  .about-hero-content { padding: 60px 0 40px; }
  .about-hero-content h1 { font-size: 1.5rem; }
  .about-stat-num  { font-size: 1.8rem; }
  .about-stat-item { padding: 18px 8px; }
  .about-badge-box { padding: 12px 14px; right: 0; }
  .about-badge-box h4 { font-size: 1rem; }
  .about-feature   { font-size: 0.88rem; }
  .mv-card         { padding: 20px 16px; }
  .mv-card h3      { font-size: 1.1rem; }
  .value-card      { padding: 18px 14px; }

  /* Services */
  .service-card    { padding: 22px 16px; }
  .service-icon    { width: 50px; height: 50px; font-size: 1.2rem; }
  .service-sub-list li { font-size: 0.83rem; padding: 8px 0; }

  /* Why */
  .why-item  { flex-direction: column; gap: 8px; }
  .why-num   { font-size: 1.2rem; }

  /* Portfolio */
  .portfolio-card img { height: 190px; }
  .filter-btn { padding: 6px 14px; font-size: 0.78rem; }

  /* Testimonial */
  .testimonial-card { padding: 22px 14px; }
  .testimonial-text { font-size: 0.88rem; }
  .testimonial-author img { width: 42px; height: 42px; }

  /* CTA */
  .cta-section { padding: 38px 0; }
  .cta-section h2 { font-size: 1.3rem; }
  .btn-light-custom,
  .btn-outline-light-custom { display: block; width: 100%; text-align: center; margin: 6px 0; padding: 11px 20px; }

  /* Contact */
  .custom-input { padding: 10px 12px; font-size: 0.85rem; }
  .contact-icon { width: 40px; height: 40px; min-width: 40px; }

  /* Team */
  .team-img-wrap img { width: 96px; height: 96px; }
  .team-info h5 { font-size: 0.9rem; }
  .team-info span { font-size: 0.72rem; }

  /* Footer */
  .footer { padding: 38px 0 0; }
  .footer h5 { font-size: 0.92rem; }
  .footer p, .footer-links a { font-size: 0.8rem; }
  .footer-logo { height: 40px; width: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; font-size: 0.78rem; }

  /* Partners */
  .partner-card-logo { min-width: 100px; padding: 12px 10px; }
  .partner-card-logo p { font-size: 0.72rem; }

  /* SEO cards */
  .seo-card { padding: 20px 16px 16px; }
  .seo-card-icon { width: 50px; height: 50px; font-size: 1.3rem; }

  /* Service page hero */
  .svc-hero { min-height: 260px; }
  .svc-hero-content h1 { font-size: 1.5rem; }

  /* Floating widgets */
  .tg-fab        { width: 46px; height: 46px; }
  .wa-support-fab { width: 48px; height: 48px; }
  .back-to-top   { width: 38px; height: 38px; font-size: 0.8rem; bottom: 80px; right: 16px; }
  .tg-chat-box   { width: calc(100vw - 32px); left: 8px; right: 8px; }
  .wa-support-box { width: calc(100vw - 32px); }
  .tg-widget     { right: 12px; left: auto; }
  .wa-support-widget { right: 12px; left: auto; }
}

/* ===== SMALL PHONES 360px ===== */
@media (max-width: 360px) {
  .hero-title    { font-size: 1.4rem; }
  .hero-subtitle { font-size: 0.82rem; }
  .section-title { font-size: 1.25rem; }
  .brand-text    { font-size: 0.72rem; }
  .logo-img      { height: 30px; width: 30px; }
  .service-card  { padding: 16px 12px; }
  .testimonial-card { padding: 16px 10px; }
  .hero-btns a   { font-size: 0.8rem; padding: 10px 14px; }
  .stat-num      { font-size: 1.2rem; }
  .about-hero-content h1 { font-size: 1.3rem; }
  .tg-fab        { width: 42px; height: 42px; }
  .wa-support-fab { width: 44px; height: 44px; }
  .back-to-top   { width: 36px; height: 36px; right: 12px; }
  .cta-section h2 { font-size: 1.15rem; }
  .section-padding { padding: 36px 0; }
}

/* ===== PREVENT HORIZONTAL SCROLL GLOBALLY ===== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
.container {
  padding-left: 16px;
  padding-right: 16px;
}
@media (max-width: 480px) {
  .container { padding-left: 14px; padding-right: 14px; }
  img { max-width: 100%; height: auto; }
  pre { overflow-x: auto; }
}

/* ===== MOBILE DROPDOWN — tap to open ===== */
@media (max-width: 991px) {
  /* Show dropdown inline inside collapsed menu (no absolute positioning) */
  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none;
    box-shadow: none;
    border: none;
    border-radius: 10px;
    background: rgba(21, 101, 192, 0.06);
    padding: 6px 0;
    margin: 4px 0 8px 12px;
    min-width: unset;
    border-top: 2px solid var(--accent);
    animation: none;
  }

  /* Show when Bootstrap adds .show class on tap */
  .navbar-nav .dropdown-menu.show {
    display: block;
  }

  .navbar-nav .dropdown-item {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .navbar-nav .dropdown-item:hover {
    background: rgba(21, 101, 192, 0.1);
    padding-left: 20px;
  }

  /* Rotate arrow when open */
  .navbar-nav .nav-item.dropdown .dropdown-toggle::after {
    transition: transform 0.25s ease;
  }
  .navbar-nav .nav-item.dropdown .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  /* Dark mode */
  body.dark-mode .navbar-nav .dropdown-menu,
  html.dark-mode-early body .navbar-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.06);
  }
  body.dark-mode .navbar-nav .dropdown-item,
  html.dark-mode-early body .navbar-nav .dropdown-item {
    color: #e6edf3;
  }
}
