/* ============================================================
   Aharbal — Global Styles
   Color palette: teal #26CCC2 / #6AECE1
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --primary:       #26CCC2;
  --primary-dark:  #0E8A84;
  --primary-light: #6AECE1;
  --primary-hover: #20B5AB;
  --btn-text:      #0A2928;
  --bg:            #FFFFFF;
  --surface:       #F4FFFE;
  --surface-2:     #E8F9F8;
  --text:          #1A1A1A;
  --text-muted:    #6C757D;
  --border:        #D0EFED;
  --navbar-bg:     #FFFFFF;
  --shadow:        0 4px 24px rgba(38,204,194,0.10);
  --shadow-hover:  0 8px 32px rgba(38,204,194,0.22);
  --radius:        12px;
  --transition:    all 0.3s ease;
}

[data-bs-theme="dark"] {
  --primary:      #6AECE1;
  --primary-dark: #26CCC2;
  --primary-hover:#84F0E8;
  --btn-text:     #0A2928;
  --bg:           #0A1A19;
  --surface:      #0F2221;
  --surface-2:    #152E2D;
  --text:         #F0F0F0;
  --text-muted:   #8ABAB8;
  --border:       #1D3A38;
  --navbar-bg:    #0A1A19;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 32px rgba(106,236,225,0.20);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text);
}

a { transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ── Typography helpers ── */
.text-primary-custom { color: var(--primary) !important; }
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}
.accent-line {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.75rem 0 1.5rem;
}
.accent-line.center { margin: 0.75rem auto 1.5rem; }

/* ── Buttons ── */
.btn-primary-custom {
  background: var(--primary);
  color: var(--btn-text);
  border: 2px solid var(--primary);
  padding: 0.65rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-primary-custom:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.65rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 0.65rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Navbar ── */
.navbar {
  background-color: var(--navbar-bg) !important;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar-brand img { height: 56px; width: auto; }
.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: rgba(38,204,194,0.08);
}
.navbar-toggler { border-color: var(--border); }
.navbar-toggler:focus { box-shadow: none; }

/* ── Dropdown ── */
.dropdown-menu {
  background: var(--navbar-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 8px 32px rgba(38,204,194,0.15);
  min-width: 240px;
}
.dropdown-item {
  color: var(--text);
  border-radius: 7px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dropdown-item i { color: var(--primary); font-size: 1rem; }
.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(38,204,194,0.1);
  color: var(--primary);
}
.dropdown-item.active, .dropdown-item:active {
  background: rgba(38,204,194,0.15);
  color: var(--primary);
}
.dropdown-divider { border-color: var(--border); margin: 0.3rem 0; }
.nav-link.dropdown-toggle::after { transition: transform 0.2s ease; }
.nav-link.dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
[data-bs-theme="dark"] .dropdown-menu {
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Theme toggle button */
#themeToggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  line-height: 1;
}
#themeToggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  background: var(--primary-dark);
  color: #fff;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.25;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; margin-bottom: 0.5rem; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ── Cards ── */
.card-custom {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}
.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(38,204,194,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.card-custom:hover .card-icon {
  background: var(--primary);
  color: var(--btn-text);
}

/* ── Section Spacing ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background-color: var(--surface); }

/* ── Hero (Home) ── */
.hero-home {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #071615;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.6;
}
.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,138,132,0.65) 0%, rgba(7,22,21,0.88) 100%);
}
.hero-home .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(38,204,194,0.15);
  border: 1px solid rgba(38,204,194,0.4);
  color: #6AECE1;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--primary-light); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%       { transform: scaleY(1.3); opacity: 0.8; }
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ── Service Cards ── */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(38,204,194,0.4);
}
.service-card .card-icon { margin-bottom: 1.25rem; }
.service-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.service-card .learn-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card .learn-more:hover { gap: 0.6rem; }

/* ── Why Choose Us ── */
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text);
}
.check-list .check-icon {
  width: 22px; height: 22px;
  background: rgba(38,204,194,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Review Cards ── */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  height: 100%;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.review-stars { color: #F4A015; font-size: 0.95rem; letter-spacing: 2px; }
.review-quote { font-size: 0.95rem; color: var(--text); line-height: 1.65; margin: 0.75rem 0 1.25rem; }
.review-author-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.review-author-role { font-size: 0.8rem; color: var(--text-muted); }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.review-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  color: var(--primary-dark);
  background: rgba(38,204,194,0.12);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  margin-top: 0.5rem;
}
[data-bs-theme="dark"] .review-tag { color: var(--primary); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Services page detail sections ── */
.service-section { padding: 5rem 0; }
.service-section:nth-child(even) { background: var(--surface); }
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .bi-check-circle-fill { color: var(--primary); font-size: 1rem; }
.service-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--btn-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* ── Services overview cards ── */
.service-overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-overview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  text-decoration: none;
}
.service-overview-img { width: 100%; height: 200px; object-fit: cover; }
.service-overview-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.service-overview-body h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.service-overview-body p { font-size: 0.9rem; color: var(--text-muted); flex: 1; margin-bottom: 1.25rem; }
.service-overview-card .service-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(38,204,194,0.12);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.25rem;
}

/* ── Team Cards ── */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 2rem 1.5rem;
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto 1rem;
  display: block;
}
.team-name { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.2rem; }
.team-role { font-size: 0.83rem; color: var(--primary); font-weight: 600; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.87rem; color: var(--text-muted); }

/* ── Value Cards ── */
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.value-icon { font-size: 2.2rem; color: var(--primary); margin-bottom: 1rem; }

/* ── Contact Form ── */
.contact-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.form-label { font-weight: 500; font-size: 0.88rem; color: var(--text); margin-bottom: 0.4rem; }
.form-control, .form-select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(38,204,194,0.15);
  background: var(--bg);
  color: var(--text);
}
.form-control::placeholder { color: var(--text-muted); }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(38,204,194,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.1rem; }
.contact-item-text span { font-size: 0.95rem; color: var(--text); font-weight: 500; }

/* ── Rating Summary ── */
.rating-big { font-size: 4rem; font-weight: 800; font-family: 'Poppins', sans-serif; color: var(--primary); line-height: 1; }
.rating-stars-big { font-size: 1.4rem; color: #F4A015; letter-spacing: 3px; }

/* ── Coming Soon / Products ── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.coming-soon-hero {
  position: relative;
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}
.coming-soon-title {
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}
.notify-form .form-control { flex: 1; }
.product-card-teaser {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.product-card-teaser:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.product-teaser-icon {
  width: 60px; height: 60px;
  background: rgba(38,204,194,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--primary);
}
@media (max-width: 576px) {
  .notify-form { flex-direction: column; }
}

/* ── Footer ── */
footer {
  background: #071615;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--primary);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.45); max-width: 240px; }
.footer-heading {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0.6rem; }
.footer-contact-item i { color: var(--primary); margin-right: 0.5rem; }
.footer-divider { border-color: rgba(255,255,255,0.07); margin: 2rem 0 1.5rem; }
.footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  margin-right: 0.4rem;
}
.social-icons a:hover { background: var(--primary); color: var(--btn-text); transform: translateY(-2px); }

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── Toast ── */
.toast-container { z-index: 9999; }

/* ── Misc ── */
.img-rounded  { border-radius: var(--radius); box-shadow: var(--shadow); }
.img-rounded-lg { border-radius: 16px; box-shadow: var(--shadow); }
.bg-primary-custom { background: var(--primary) !important; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-home { min-height: 80vh; padding: 6rem 0 4rem; }
  .hero-ctas { justify-content: center; }
  .hero-title, .hero-subtitle, .hero-badge { text-align: center; }
  .hero-subtitle { margin: 0 auto 2.5rem; }
  .hero-badge { display: flex; justify-content: center; }
  .stats-bar .row > div + div { border-left: none; border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 1.5rem; }
  .notify-form { flex-direction: column; }
  .section { padding: 3.5rem 0; }
}
@media (min-width: 769px) {
  .stats-bar .row > div + div { border-left: 1px solid var(--border); }
}
