/* ============================================
   AtalCloud — Ultra Modern Theme
   Dark / Light Mode with CSS Variables
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand */
  --brand-primary: #6366f1;
  --brand-secondary: #8b5cf6;
  --brand-accent: #06b6d4;
  --brand-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);

  /* Light Mode (default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-card: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 30px rgba(99,102,241,0.15);
  --header-bg: rgba(255,255,255,0.95);
  --nav-text: #0f172a;
  --footer-bg: #0f172a;
  --card-glow: rgba(99,102,241,0.08);
  --topbar-bg: #0f172a;
  --topbar-text: #ffffff;
}

[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-tertiary: #141428;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e1e30;
  --border-card: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.25);
  --header-bg: rgba(10,10,15,0.95);
  --nav-text: #f1f5f9;
  --footer-bg: #07070f;
  --card-glow: rgba(99,102,241,0.12);
  --topbar-bg: #07070f;
  --topbar-text: #94a3b8;
}

/* ---------- Base Reset & Typography ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ---------- Top Bar ---------- */
.top-bar-wrapper {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  transition: background 0.3s ease;
}

.top-bar-wrapper a {
  color: var(--topbar-text);
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 20px;
  opacity: 1;
  transition: opacity 0.2s;
}

.top-bar-wrapper a:hover {
  opacity: 0.8;
}

/* Dark mode — force super white on top bar text */
[data-theme="dark"] .top-bar-wrapper {
  background: #07070f !important;
  background-color: #07070f !important;
}

[data-theme="dark"] .top-bar-wrapper::before {
  display: none !important;
}

[data-theme="dark"] .top-bar-wrapper a,
[data-theme="dark"] .top-left a,
[data-theme="dark"] .top-left a i {
  color: #ffffff !important;
  opacity: 1 !important;
}

[data-theme="dark"] .top-bar-wrapper a:hover,
[data-theme="dark"] .top-left a:hover {
  color: var(--brand-primary) !important;
}

/* Dark mode — nav menu items super white */
[data-theme="dark"] .main-menu ul li > a {
  color: #ffffff !important;
}

[data-theme="dark"] .main-menu ul li a:hover {
  color: var(--brand-primary) !important;
  background: rgba(99,102,241,0.12) !important;
}

[data-theme="dark"] #hamburger i {
  color: #ffffff !important;
}

.top-bar-wrapper i {
  margin-right: 6px;
  color: var(--brand-primary);
}

.top-bar-wrapper .social-pages a {
  margin-right: 0;
  margin-left: 12px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(99,102,241,0.15);
  color: var(--brand-primary);
}

.top-bar-wrapper .social-pages a:hover {
  background: var(--brand-primary);
  color: white;
  opacity: 1;
}

/* ---------- Header ---------- */
.header-1 {
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.header-1 .logo img {
  height: 40px;
  width: auto;
}

/* ---------- Navigation ---------- */
.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-menu ul li a {
  color: var(--nav-text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.main-menu ul li a:hover {
  color: var(--brand-primary);
  background: rgba(99,102,241,0.08);
}

.main-menu ul li .sub-menu {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 2px;
}

.main-menu ul li:hover .sub-menu {
  display: flex;
}

.main-menu ul li .sub-menu li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  margin-left: 12px;
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--brand-primary);
}

.theme-toggle .toggle-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* ---------- CTA Button ---------- */
.theme-btn {
  background: var(--brand-gradient);
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.45);
  color: white !important;
}

.theme-btn.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary) !important;
  box-shadow: none;
}

.theme-btn.btn-outline:hover {
  background: var(--brand-primary);
  color: white !important;
}

.theme-btn.btn-demo {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: white !important;
  box-shadow: none;
}

.theme-btn.btn-demo:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* ---------- Section Padding ---------- */
.section-padding {
  padding: 80px 0;
}

/* ---------- Section Title ---------- */
.section-title span {
  display: inline-block;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ---------- Service Cards ---------- */
.modern-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.modern-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--brand-primary);
}

.modern-service-card:hover::before {
  opacity: 1;
}

.modern-service-card .icon-bg {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(99,102,241,0.1);
  border-radius: 14px;
  border: 1px solid rgba(99,102,241,0.2);
}

.modern-service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.modern-service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.modern-service-card .modern-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.modern-service-card .modern-cta:hover {
  gap: 8px;
}

/* ---------- About Section ---------- */
.about-wrapper {
  background: var(--bg-secondary);
}

.about-img-funfact-content img {
  border-radius: 20px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.checked-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checked-list li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
  font-weight: 500;
}

.checked-list li:last-child {
  border-bottom: none;
}

/* ---------- FAQ Section ---------- */
.faq-wrapper {
  background: var(--bg-tertiary);
}

.faq-wrapper .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-wrapper .accordion-button {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 20px 24px;
  border: none;
  box-shadow: none;
}

.faq-wrapper .accordion-button:not(.collapsed) {
  background: var(--bg-card);
  color: var(--brand-primary);
  box-shadow: none;
}

.faq-wrapper .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-wrapper .accordion-body {
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 0 24px 20px;
  line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-banner-wrapper {
  background: var(--bg-primary);
  padding: 60px 0;
}

.cta-banner-box {
  background: var(--brand-gradient) !important;
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-box h2 {
  color: white !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
}

.cta-banner-box .section-title span {
  color: rgba(255,255,255,0.7);
  -webkit-text-fill-color: rgba(255,255,255,0.7);
}

/* ---------- Footer ---------- */
.footer-1 {
  background: var(--footer-bg);
}

.footer-widgets-wrapper {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-widgets-wrapper .about-AtalCloud img {
  height: 36px;
  margin-bottom: 16px;
}

.footer-widgets-wrapper p,
.footer-widgets-wrapper .wid-title h3,
.footer-widgets-wrapper ul li a,
.footer-widgets-wrapper .contact-info span {
  color: #94a3b8;
}

.footer-widgets-wrapper .wid-title h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.footer-widgets-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widgets-wrapper ul li {
  margin-bottom: 10px;
}

.footer-widgets-wrapper ul li a {
  font-size: 0.9rem;
  color: #64748b;
  transition: color 0.2s;
}

.footer-widgets-wrapper ul li a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}

.footer-bottom .copy-rights p {
  color: #475569;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom .social-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(99,102,241,0.1);
  color: var(--brand-primary);
  border: 1px solid rgba(99,102,241,0.2);
  margin-left: 8px;
  transition: all 0.2s ease;
}

.footer-bottom .social-links a:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

/* ---------- Page Banner ---------- */
.page-banner-wrap {
  padding: 80px 0 60px;
  background: var(--brand-gradient);
  position: relative;
  overflow: hidden;
}

.page-banner-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.page-banner-wrap .container {
  position: relative;
  z-index: 2;
}

.page-banner-wrap h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.page-banner-wrap p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

/* ---------- Team Cards ---------- */
.team-member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.team-member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--brand-primary);
}

.team-member-card .member-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.team-member-card .member-info {
  padding: 20px 20px 24px;
  text-align: center;
}

.team-member-card .member-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-member-card .member-info span {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 600;
}

.team-member-card .member-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.team-member-card .member-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(99,102,241,0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(99,102,241,0.15);
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.team-member-card .member-social a:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

/* ---------- Project Cards ---------- */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--brand-primary);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.project-card .project-info {
  padding: 24px;
}

.project-card .project-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.project-card .project-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.project-card .project-tag {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  color: var(--brand-primary);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* ---------- Contact Form Cards ---------- */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--brand-primary);
}

.contact-info-card .icon {
  width: 64px;
  height: 64px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-info-card .contact-detail {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* ---------- Consultation Form ---------- */
.consultation-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.consultation-form label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.01em;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
  background: var(--bg-card);
}

.consultation-form select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ---------- Why Choose Us ---------- */
.why-choose-section {
  background: var(--bg-secondary);
}

.why-choose-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.why-choose-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--brand-primary);
}

.why-choose-item .icon {
  width: 60px;
  height: 60px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--brand-primary);
}

.why-choose-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-choose-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Preloader ---------- */
#preloader {
  background: var(--bg-primary);
  transition: background 0.3s;
}

.letters-loading {
  color: var(--brand-primary) !important;
}

/* ---------- Scroll Up Button ---------- */
#scrollUp {
  background: var(--brand-gradient);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  box-shadow: var(--shadow-md);
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
}

.mobile-nav .metismenu li a {
  color: var(--text-primary);
  padding: 12px 20px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav .metismenu li a:hover {
  color: var(--brand-primary);
  background: rgba(99,102,241,0.05);
}

#hamburger i {
  color: var(--text-primary);
  font-size: 1.4rem;
}

/* ---------- Utility ---------- */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.1);
  color: var(--brand-primary);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.divider {
  height: 1px;
  background: var(--border-color);
  margin: 60px 0;
}

/* ---------- Hero Section ---------- */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-wrapper .hero-contents h6 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24 !important;
  margin-bottom: 16px;
}

.hero-wrapper .hero-contents h1 {
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
  color: white;
  margin-bottom: 20px;
}

.hero-wrapper .hero-contents p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 540px;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 40px;
  margin: -40px 0 60px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section-padding { padding: 60px 0; }
  .consultation-form-wrapper { padding: 32px 24px; }
  .stats-bar { margin: 0 0 40px; border-radius: 12px; }
}

@media (max-width: 767px) {
  .section-padding { padding: 48px 0; }
  .cta-banner-box { padding: 40px 24px; border-radius: 16px; }
  .modern-service-card { padding: 24px 20px; }
  .stats-bar { padding: 24px 20px; }
}

/* ---------- FAQ Accordion — Force Readable Text ---------- */
.faq-wrapper {
  background: var(--bg-tertiary);
}

.faq-wrapper .accordion-item {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-wrapper .accordion-button {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 20px 24px !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-wrapper .accordion-button:not(.collapsed) {
  color: var(--brand-primary) !important;
  background: var(--bg-card) !important;
  box-shadow: none !important;
}

.faq-wrapper .accordion-body {
  color: var(--text-secondary) !important;
  font-size: 0.92rem !important;
  padding: 0 24px 20px !important;
  line-height: 1.7 !important;
  background: var(--bg-card) !important;
}

/* Light mode — super readable dark text */
[data-theme="light"] .faq-wrapper .accordion-button {
  color: #0f172a !important;
}

[data-theme="light"] .faq-wrapper .accordion-body {
  color: #334155 !important;
}

/* Dark mode — bright text */
[data-theme="dark"] .faq-wrapper .accordion-button {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .faq-wrapper .accordion-body {
  color: #94a3b8 !important;
}

/* Fix accordion arrow color */
.faq-wrapper .accordion-button::after {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* ============================================
   DARK MODE — Comprehensive overrides for
   original style.css hardcoded light colors
   ============================================ */

[data-theme="dark"] body,
[data-theme="dark"] .body-wrapper {
  background-color: #0a0a0f !important;
  color: #f1f5f9 !important;
}

/* All sections and common containers */
[data-theme="dark"] section,
[data-theme="dark"] .section-padding,
[data-theme="dark"] .our-service-wrapper,
[data-theme="dark"] .about-wrapper,
[data-theme="dark"] .faq-wrapper,
[data-theme="dark"] .why-choose-section,
[data-theme="dark"] .cta-banner-wrapper,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .team-section,
[data-theme="dark"] .projects-section,
[data-theme="dark"] .services-section,
[data-theme="dark"] .page-content-wrapper,
[data-theme="dark"] .content-wrapper {
  background-color: #0a0a0f !important;
}

/* Alternating section backgrounds */
[data-theme="dark"] .bg-gray,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-f8,
[data-theme="dark"] [style*="background: #f"],
[data-theme="dark"] [style*="background-color: #f"],
[data-theme="dark"] [style*="background:#f"] {
  background-color: #0f0f1a !important;
}

/* Cards, boxes, wrappers */
[data-theme="dark"] .single-service-item,
[data-theme="dark"] .service-item,
[data-theme="dark"] .info-icon-item,
[data-theme="dark"] .single-team-wrap,
[data-theme="dark"] .single-project-item,
[data-theme="dark"] .project-item,
[data-theme="dark"] .card,
[data-theme="dark"] .box,
[data-theme="dark"] .widget,
[data-theme="dark"] .single-footer-wid,
[data-theme="dark"] .about-AtalCloud,
[data-theme="dark"] .consultation-form-wrapper {
  background-color: #13131f !important;
  border-color: #1e293b !important;
  color: #f1f5f9 !important;
}

/* All headings */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #f1f5f9 !important;
}

/* All paragraph text */
[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span:not(.toggle-icon):not(.toggle-label):not(.letters-loading) {
  color: #94a3b8 !important;
}

/* Section title spans (gradient text) */
[data-theme="dark"] .section-title span,
[data-theme="dark"] .section-title > span {
  color: var(--brand-primary) !important;
  -webkit-text-fill-color: transparent !important;
  background: var(--brand-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Links */
[data-theme="dark"] a:not(.theme-btn):not(.modern-cta) {
  color: #94a3b8 !important;
}

[data-theme="dark"] a:not(.theme-btn):not(.modern-cta):hover {
  color: var(--brand-primary) !important;
}

/* Inputs */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: #1a1a2e !important;
  border-color: #1e293b !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #475569 !important;
}

/* Override any inline background styles on sections */
[data-theme="dark"] .our-service-wrapper,
[data-theme="dark"] .about-wrapper {
  background: #0a0a0f !important;
}

/* Footer */
[data-theme="dark"] .footer-1,
[data-theme="dark"] .footer-wrap,
[data-theme="dark"] .footer-widgets-wrapper,
[data-theme="dark"] .footer-bottom {
  background: #07070f !important;
  background-color: #07070f !important;
}

/* Preloader */
[data-theme="dark"] #preloader,
[data-theme="dark"] .preloader,
[data-theme="dark"] .loader-section .bg {
  background-color: #0a0a0f !important;
}

/* Header */
[data-theme="dark"] .header-1 {
  background: rgba(10,10,15,0.97) !important;
  border-bottom-color: #1e293b !important;
}

/* Scrollup */
[data-theme="dark"] #scrollUp {
  background: var(--brand-gradient) !important;
}

/* Modern service cards in dark */
[data-theme="dark"] .modern-service-card {
  background: #13131f !important;
  border-color: #1e293b !important;
}

[data-theme="dark"] .modern-service-card h4 {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .modern-service-card p {
  color: #94a3b8 !important;
}
