/* -------------------------------------------------------------
   DONTER MOBILE - Premium Apple Authorised Reseller & Mobile Store
   Custom Stylesheet (Bootstrap 5 Extended Design System with Light/Dark Mode)
------------------------------------------------------------- */

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

:root {
  --primary-dark: #090a0f;
  --secondary-dark: #12151e;
  --card-bg: rgba(22, 27, 38, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --accent-apple: #0071e3;
  --accent-glow: #2997ff;
  --accent-gold: #f5c518;
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --gradient-hero: linear-gradient(135deg, rgba(9, 10, 15, 0.92) 0%, rgba(18, 21, 30, 0.88) 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 36, 51, 0.6), rgba(15, 18, 26, 0.8));
  --gradient-brand: linear-gradient(90deg, #0071e3, #42a5f5);
  --box-shadow-glow: 0 10px 30px rgba(0, 113, 227, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Light Mode Theme Overrides --- */
body[data-theme="light"] {
  --primary-dark: #f8f9fa;
  --secondary-dark: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(0, 0, 0, 0.08);
  --accent-apple: #0071e3;
  --accent-glow: #0071e3;
  --accent-gold: #d97706;
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Top Announcement Bar --- */
.top-bar {
  background: linear-gradient(90deg, #0071e3, #1e293b, #0071e3);
  background-size: 200% 100%;
  animation: gradientShift 6s ease infinite;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  padding: 8px 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Navigation Bar --- */
.navbar-custom {
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  padding: 14px 0;
  transition: var(--transition-smooth);
}

body[data-theme="light"] .navbar-custom {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

body[data-theme="light"] .navbar-brand-title {
  color: #1d1d1f;
}

body[data-theme="light"] .navbar-brand-title i {
  color: #1d1d1f !important;
}

.navbar-brand-title span {
  color: var(--accent-glow);
}

.nav-link-custom {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 8px;
  padding: 8px 12px !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

body[data-theme="light"] .nav-link-custom {
  color: #424245 !important;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .nav-link-custom:hover, 
body[data-theme="light"] .nav-link-custom.active {
  color: #0071e3 !important;
  background: rgba(0, 113, 227, 0.08);
}

/* --- Theme Switcher Button --- */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #ffc107;
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.theme-toggle-btn:hover {
  transform: rotate(20deg) scale(1.1);
}

body[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  padding: 100px 0 60px;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: brightness(0.9) contrast(1.05);
  transition: opacity 0.4s ease, filter 0.4s ease;
}

body[data-theme="light"] .hero-bg-img {
  opacity: 1;
  filter: brightness(0.98) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(9, 10, 15, 0.96) 0%,
    rgba(9, 10, 15, 0.78) 28%,
    rgba(9, 10, 15, 0.42) 45%,
    rgba(9, 10, 15, 0.12) 62%,
    rgba(9, 10, 15, 0.00) 75%,
    rgba(9, 10, 15, 0.00) 100%
  );
  z-index: 2;
  transition: background 0.4s ease;
}

body[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(248, 249, 250, 0.96) 0%,
    rgba(248, 249, 250, 0.78) 28%,
    rgba(248, 249, 250, 0.42) 45%,
    rgba(248, 249, 250, 0.12) 62%,
    rgba(248, 249, 250, 0.00) 75%,
    rgba(248, 249, 250, 0.00) 100%
  );
}


.hero-content {
  position: relative;
  z-index: 3;
}

.badge-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 113, 227, 0.15);
  border: 1px solid rgba(0, 113, 227, 0.4);
  color: #2997ff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

body[data-theme="light"] .badge-apple {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="light"] .hero-title {
  background: linear-gradient(180deg, #1d1d1f 0%, #424245 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
}

.navbar-toggler {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--card-border) !important;
  background: rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .navbar-toggler {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15) !important;
}

body[data-theme="light"] .navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(0);
}

.hero-description {
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.6;
}

body[data-theme="light"] .hero-description {
  color: #1d1d1f !important;
  font-weight: 600;
}

.hero-description strong {
  color: #ffffff;
}

body[data-theme="light"] .hero-description strong {
  color: #000000 !important;
}

.hero-stats-badge {
  background: rgba(18, 21, 30, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
}

body[data-theme="light"] .hero-stats-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

body[data-theme="light"] .stat-num {
  color: #1d1d1f;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 4px;
}

body[data-theme="light"] .stat-label {
  color: #6e6e73;
}


/* --- Buttons --- */
.btn-apple-primary {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-apple-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 113, 227, 0.45);
  color: #fff;
}

.btn-apple-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--card-border);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
}

body[data-theme="light"] .btn-apple-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.12);
}

.btn-apple-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

body[data-theme="light"] .btn-apple-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0071e3;
}

/* --- Branch Cards --- */
.branch-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

body[data-theme="light"] .branch-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.branch-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 113, 227, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 113, 227, 0.15);
}

body[data-theme="light"] .branch-card:hover {
  box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
}

.branch-img-container {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--secondary-dark);
}

.branch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.branch-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(9, 10, 15, 0.85);
  border: 1px solid var(--card-border);
  color: var(--accent-glow);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

body[data-theme="light"] .branch-badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0071e3;
}

.branch-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.branch-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

body[data-theme="light"] .branch-title {
  color: #1d1d1f;
}

.branch-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.branch-info-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.branch-info-list li i {
  color: var(--accent-glow);
  margin-top: 4px;
  font-size: 1rem;
}

.branch-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* --- Section Title --- */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.sub-title {
  color: var(--accent-glow);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  color: #fff;
}

body[data-theme="light"] .section-title {
  color: #1d1d1f;
}

/* --- Category Filter Buttons --- */
body[data-theme="light"] .filter-btn.btn-outline-light {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.2);
}

body[data-theme="light"] .filter-btn.btn-outline-light:hover {
  background: #0071e3;
  color: #ffffff;
  border-color: #0071e3;
}

/* --- Ultra Professional Product Cards --- */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 26px 22px 22px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body[data-theme="light"] .product-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent-apple);
  box-shadow: 0 20px 45px rgba(0, 113, 227, 0.22);
}

body[data-theme="light"] .product-card:hover {
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 18px 38px rgba(0, 113, 227, 0.12);
}

/* Professional Card Top Label */
.pro-card-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e35d00;
  margin-bottom: 6px;
  display: inline-block;
  text-align: left;
}

.pro-card-label.alt {
  color: #0071e3;
}

/* Image Container Frame (Apple Tile Display) */
.product-img-box {
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 18px;
  position: relative;
  border-radius: 16px;
  padding: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

body[data-theme="light"] .product-img-box {
  background: #f7f7f9;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
}

.product-img-box img,
.product-card-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 10px;
  display: block !important;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img,
.product-card:hover .product-card-img {
  transform: scale(1.08);
}

/* Card Text */
.product-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
  text-align: left;
}

body[data-theme="light"] .product-name {
  color: #1d1d1f;
}

.product-specs {
  font-size: 0.86rem;
  color: #a1a1a6;
  line-height: 1.4;
  margin-bottom: 18px;
  text-align: left;
  min-height: 42px;
}

body[data-theme="light"] .product-specs {
  color: #6e6e73;
}


/* Card Bottom Price & Action Row */
.product-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body[data-theme="light"] .product-card-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.product-price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 0;
  line-height: 1.1;
}

body[data-theme="light"] .product-price-val {
  color: #1d1d1f;
}

.product-store-status {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}

body[data-theme="light"] .product-store-status {
  color: #6e6e73;
}

.btn-pro-action {
  background: var(--accent-apple);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
}


.btn-pro-action:hover {
  background: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.45);
}

/* --- Happy Customer Videos Section --- */
.customer-videos-section {
  background-color: var(--primary-dark);
  position: relative;
  transition: background-color 0.4s ease;
}

.video-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body[data-theme="light"] .video-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 113, 227, 0.2);
  border-color: rgba(0, 113, 227, 0.4);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133%; /* 3:4 vertical reel video format */
  background: #000;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--card-border);
}

.video-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.video-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 6px;
}

body[data-theme="light"] .video-card-title {
  color: #1d1d1f;
}

.video-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
}

body[data-theme="light"] .video-card-desc {
  color: #6e6e73;
}

.video-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body[data-theme="light"] .video-card-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}




.product-icon-muted {
  color: #94a3b8;
}

body[data-theme="light"] .product-icon-muted {
  color: #475569;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

body[data-theme="light"] .product-name {
  color: #1d1d1f;
}

.product-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* --- Features Section --- */
.feature-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 30px 24px;
  transition: var(--transition-smooth);
  height: 100%;
}

body[data-theme="light"] .feature-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feature-box h4 {
  color: #ffffff;
}

.feature-box p,
.feature-box .text-muted {
  color: #a1a1a6 !important;
  line-height: 1.55;
}

body[data-theme="light"] .feature-box h4 {
  color: #1d1d1f;
}

body[data-theme="light"] .feature-box p,
body[data-theme="light"] .feature-box .text-muted {
  color: #6e6e73 !important;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 113, 227, 0.4);
}


.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 113, 227, 0.15);
  color: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* --- Reviews Section --- */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px;
  height: 100%;
}

body[data-theme="light"] .review-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.reviewer-name {
  color: #ffffff;
}

body[data-theme="light"] .reviewer-name {
  color: #1d1d1f !important;
}

.review-text {
  color: var(--text-main);
}

.star-rating {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 12px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Instagram Banner --- */
.insta-box {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.85), rgba(253, 29, 29, 0.85), rgba(252, 176, 69, 0.8));
  border: 1px solid rgba(253, 29, 29, 0.3);
  border-radius: 24px;
  padding: 40px;
  color: #ffffff;
}

.insta-box h2, .insta-box p {
  color: #ffffff !important;
}

/* --- Contact Section & Form Theme Overrides --- */
.contact-label {
  color: #ffffff;
}

body[data-theme="light"] .contact-label {
  color: #1d1d1f !important;
}

.inquiry-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
}

body[data-theme="light"] .inquiry-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-title {
  color: #ffffff;
}

body[data-theme="light"] .form-title {
  color: #1d1d1f !important;
}

.custom-form-label {
  color: #f5f5f7;
  font-weight: 500;
}

body[data-theme="light"] .custom-form-label {
  color: #1d1d1f !important;
}

.custom-form-input {
  background-color: rgba(9, 10, 15, 0.8);
  color: #ffffff;
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
}

.custom-form-input:focus {
  background-color: rgba(18, 21, 30, 0.95);
  color: #ffffff;
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 0.25rem rgba(0, 113, 227, 0.25);
}

body[data-theme="light"] .custom-form-input {
  background-color: #f5f5f7 !important;
  color: #1d1d1f !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

body[data-theme="light"] .custom-form-input:focus {
  background-color: #ffffff !important;
  color: #1d1d1f !important;
  border-color: #0071e3 !important;
}

/* --- Light Mode Utility Background Overrides --- */
body[data-theme="light"] .bg-dark {
  background-color: #f5f5f7 !important;
}

/* --- Footer --- */
footer {
  background: #050608;
  border-top: 1px solid var(--card-border);
  padding: 70px 0 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: background-color 0.4s ease;
}

body[data-theme="light"] footer {
  background: #eef0f4;
  border-top-color: rgba(0, 0, 0, 0.08);
  color: #6e6e73;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

body[data-theme="light"] .footer-title {
  color: #1d1d1f;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

body[data-theme="light"] .footer-links a {
  color: #6e6e73;
}

.footer-links a:hover {
  color: var(--accent-glow);
}

body[data-theme="light"] .footer-links a:hover {
  color: #0071e3;
}

.footer-icon {
  color: #f5f5f7;
  transition: var(--transition-smooth);
}

body[data-theme="light"] .footer-icon {
  color: #1d1d1f !important;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* --- DONTER Brand Logo Styles --- */
.nav-logo-img {
  height: 38px;
  width: 38px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--accent-apple);
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3);
  transition: var(--transition-smooth);
}

.nav-logo-img:hover {
  transform: scale(1.08);
}

.section-logo-badge {
  height: 28px;
  width: 28px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--card-border);
}

.section-reseller-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-apple);
}

.footer-logo-img {
  height: 32px;
  width: 32px;
  object-fit: cover;
  border-radius: 6px;
  vertical-align: middle;
}

/* --- 'The Latest' Apple Showcase Section --- */
.latest-section {
  padding: 80px 0;
  background-color: var(--primary-dark);
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.latest-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  flex-wrap: wrap;
  gap: 20px;
}

.latest-main-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0;
  line-height: 1.15;
}

.latest-main-title span {
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 6px;
}

.latest-scroll-controls {
  display: flex;
  gap: 12px;
}

.latest-scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.latest-scroll-btn:hover {
  background: var(--accent-apple);
  color: #fff;
  border-color: var(--accent-apple);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-glow);
}

/* Horizontal Scroll Container */
.latest-cards-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.latest-cards-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Card General Box */
.apple-card-item {
  flex: 0 0 360px;
  width: 360px;
  height: 500px;
  border-radius: 28px;
  padding: 32px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.apple-card-item:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* Dark Card Variant */
.apple-card-dark {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.apple-card-dark .apple-card-title {
  color: #ffffff;
}

.apple-card-dark .apple-card-sub {
  color: #a1a1a6;
}

.apple-card-dark .apple-card-price {
  color: #86868b;
}

/* Light Card Variant */
.apple-card-light {
  background: #ffffff;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.apple-card-light .apple-card-title {
  color: #1d1d1f;
}

.apple-card-light .apple-card-sub {
  color: #424245;
}

.apple-card-light .apple-card-price {
  color: #6e6e73;
}

/* Card Header Content */
.apple-card-header {
  z-index: 2;
}

.apple-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.apple-card-tag.orange {
  color: #e35d00;
}

.apple-card-tag.orange-bright {
  color: #f56300;
}

.apple-card-tag.blue {
  color: #0071e3;
}

.apple-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.apple-card-sub {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
}

.apple-card-price {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0;
}

.apple-card-price sup {
  font-size: 0.7em;
}

/* Image Wrapper */
.apple-card-img-wrap {
  width: 100%;
  height: 270px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.apple-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.apple-card-item:hover .apple-card-img-wrap img {
  transform: scale(1.06);
}

/* Hover Quick Inquire Overlay Button */
.apple-card-action {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.apple-card-item:hover .apple-card-action {
  opacity: 1;
  transform: translateY(0);
}

.apple-card-action-btn {
  background: var(--accent-apple);
  color: #fff;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.4);
  text-decoration: none;
}

.apple-card-action-btn:hover {
  background: #0077ed;
  color: #fff;
}

@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 10px 0;
  }
  .navbar-collapse {
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    margin-top: 12px;
    border: 1px solid var(--card-border);
  }
  body[data-theme="light"] .navbar-collapse {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(0, 0, 0, 0.08);
  }
  .nav-link-custom {
    margin: 4px 0;
    padding: 10px 14px !important;
  }
}

@media (max-width: 768px) {
  .latest-section {
    padding: 50px 0;
  }
  .latest-main-title {
    font-size: 2.1rem;
  }
  .latest-main-title span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
  .apple-card-item {
    flex: 0 0 290px;
    width: 290px;
    height: 450px;
    padding: 24px 20px 0;
    border-radius: 22px;
  }
  .apple-card-title {
    font-size: 1.55rem;
  }
  .apple-card-img-wrap {
    height: 230px;
  }
  /* Touch Devices: Keep card action button visible */
  .apple-card-action {
    opacity: 1;
    transform: translateY(0);
    bottom: 16px;
    right: 16px;
  }
  
  /* Product Inventory Card adjustments */
  .product-card {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .product-img-box {
    height: 180px;
  }
  .product-name {
    font-size: 1.15rem;
  }
  .product-specs {
    font-size: 0.82rem;
    min-height: auto;
  }
  
  /* Video section adjustments */
  .video-card-body {
    padding: 16px;
  }
  .video-card-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .top-bar {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
  .hero-title {
    font-size: 2.0rem;
    line-height: 1.15;
  }
  .hero-description {
    font-size: 0.92rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .filter-btn {
    padding: 6px 16px !important;
    font-size: 0.82rem;
  }
  .latest-scroll-controls {
    display: none; /* Mobile swipe gesture is natural */
  }
  .apple-card-item {
    flex: 0 0 84vw;
    width: 84vw;
    height: 430px;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 18px;
    right: 18px;
  }
}



