/* ==========================================
   DIGITAL MARKETING PORTFOLIO - MAIN STYLESHEET
   Design System: Zero Gradients, Modern, Clean, Minimal
   Colors: Primary (#0057D9), Secondary (#003B91)
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Kantumruuy+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Colors - Vibrant Bold Crimson Red */
  --primary-color: #CC0000;
  --primary-hover: #A60000;
  --secondary-color: #990000;
  --secondary-hover: #770000;
  --accent-color: #FF1A1A;
  
  /* Neutral Colors (Light Mode Default) */
  --bg-main: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --border-color: #E2E8F0;
  --border-focus: #CC0000;
  
  /* Text Colors */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-white: #FFFFFF;
  
  /* UI Elements */
  --card-radius: 16px;
  --button-radius: 12px;
  --badge-radius: 50px;
  
  /* Shadows - Soft & Modern */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(204, 0, 0, 0.15);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 35px -10px rgba(204, 0, 0, 0.25);

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

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Kantumruuy Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.text-muted {
  color: var(--text-muted) !important;
}

/* ==========================================
   PREMIUM KHMER TYPOGRAPHY
   ========================================== */
body[lang="km"],
body.lang-km {
  font-family: 'Kantumruuy Pro', 'Battambang', 'Siemreap', sans-serif !important;
  line-height: 1.8;
}

body[lang="km"] h1,
body[lang="km"] h2,
body[lang="km"] h3,
body[lang="km"] h4,
body[lang="km"] h5,
body[lang="km"] h6,
body[lang="km"] .section-title,
body[lang="km"] .hero-content h1,
body[lang="km"] .navbar-brand-logo,
body[lang="km"] .cta-banner h2,
body[lang="km"] .footer-title,
body[lang="km"] .stat-number,
body[lang="km"] .pricing-header h3,
body[lang="km"] .amount,
body.lang-km h1,
body.lang-km h2,
body.lang-km h3,
body.lang-km h4,
body.lang-km h5,
body.lang-km h6 {
  font-family: 'Kantumruuy Pro', 'Battambang', sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

body[lang="km"] p,
body[lang="km"] span,
body[lang="km"] a,
body[lang="km"] button,
body[lang="km"] input,
body[lang="km"] textarea,
body[lang="km"] select,
body[lang="km"] li,
body[lang="km"] label,
body[lang="km"] .section-subtitle,
body[lang="km"] .stat-label,
body[lang="km"] .btn-custom-primary,
body[lang="km"] .btn-custom-secondary,
body[lang="km"] .btn-cta,
body[lang="km"] .service-filter-btn,
body[lang="km"] .portfolio-filter-btn,
body[lang="km"] .pricing-features li,
body.lang-km p,
body.lang-km span,
body.lang-km a,
body.lang-km button,
body.lang-km li {
  font-family: 'Kantumruuy Pro', 'Battambang', sans-serif !important;
  line-height: 1.7;
}

body[lang="km"] .hero-content h1,
body.lang-km .hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 24px;
}

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

ul {
  list-style: none;
}

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

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-main);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 87, 217, 0.15);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================
   REUSABLE UTILITIES & TYPOGRAPHY
   ========================================== */
.section-padding {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  padding: 6px 18px;
  background-color: rgba(0, 87, 217, 0.08);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--badge-radius);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn-custom-primary {
  background-color: var(--primary-color);
  color: var(--text-white) !important;
  padding: 14px 32px;
  border-radius: var(--button-radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-custom-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-custom-secondary {
  background-color: transparent;
  color: var(--secondary-color) !important;
  padding: 14px 32px;
  border-radius: var(--button-radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--secondary-color);
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-custom-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--text-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Glass effect for navbar/badges only */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Card base */
.custom-card {
  background-color: var(--bg-card);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.custom-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 14px 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.navbar-brand-logo i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.brand-avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.brand-avatar-img:hover {
  transform: scale(1.08);
}

.nav-link-custom {
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--primary-color);
  background-color: rgba(0, 87, 217, 0.06);
}

/* Control Buttons (Lang & Dark) */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn, .lang-toggle-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--badge-radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover, .lang-toggle-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.lang-flag-icon {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 100px;
  background-color: var(--bg-main);
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-highlight {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-mini {
  display: flex;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.mini-stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
}

.mini-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-illustration-wrapper {
  position: relative;
  text-align: center;
}

.hero-illustration-wrapper svg, .hero-illustration-wrapper img {
  width: 100%;
  max-width: 550px;
  filter: drop-shadow(0 20px 30px rgba(0, 59, 145, 0.12));
}

/* Floating Badges on Hero Graphic */
.floating-badge {
  position: absolute;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--badge-radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge i {
  font-size: 1.2rem;
}

.badge-fb { top: 10%; left: -5%; color: #1877F2; animation-delay: 0s; }
.badge-tiktok { top: 70%; left: -2%; color: #000000; animation-delay: 1s; }
.badge-yt { top: 15%; right: -5%; color: #FF0000; animation-delay: 2s; }
.badge-ig { top: 75%; right: 0%; color: #E4405F; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================
   BANNER SLIDESHOW CAROUSEL STYLES
   ========================================== */
.banner-slideshow-container {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-card);
}

.banner-slide-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-radius: 18px;
}

.carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
  transition: var(--transition-fast);
}

.carousel-indicators .active {
  opacity: 1;
  width: 32px;
  border-radius: 10px;
  background-color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--secondary-color);
  padding: 22px;
  border-radius: 50%;
  background-size: 45%;
  box-shadow: var(--shadow-md);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--primary-color);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background-color: var(--bg-secondary);
}

.about-card {
  padding: 30px;
  height: 100%;
}

.about-icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 87, 217, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ==========================================
   SERVICES SECTION (20 Services)
   ========================================== */
.services-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.service-filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--badge-radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.service-filter-btn:hover, .service-filter-btn.active {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.service-card {
  padding: 32px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--secondary-color);
  color: var(--text-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-learn-more {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-learn-more:hover {
  color: var(--secondary-color);
  gap: 10px;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-section {
  background-color: var(--bg-secondary);
}

.pricing-card {
  padding: 40px 30px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 4px 16px;
  border-radius: var(--badge-radius);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  margin: 20px 0;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
}

.pricing-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.pricing-features li i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.portfolio-filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--badge-radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.portfolio-filter-btn:hover, .portfolio-filter-btn.active {
  background-color: var(--secondary-color);
  color: var(--text-white);
  border-color: var(--secondary-color);
}

.portfolio-item {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.portfolio-img-wrapper img,
.portfolio-img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-img-wrapper img,
.portfolio-item:hover .portfolio-img-wrapper video {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(153, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: var(--transition-normal);
  color: var(--text-white);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.btn-preview-modal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-preview-modal:hover {
  background-color: var(--text-white);
  color: var(--primary-color);
  transform: scale(1.1);
}

/* ==========================================
   STATISTICS SECTION
   ========================================== */
.stats-section {
  background-color: var(--secondary-color);
  color: var(--text-white);
  padding: 80px 0;
}

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

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFFFFF;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  background-color: var(--bg-main);
}

.testimonial-card {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.testimonial-info h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* ==========================================
   FAQ SECTION (ACCORDION)
   ========================================== */
.faq-section {
  background-color: var(--bg-secondary);
}

.accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius) !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 24px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(0, 87, 217, 0.05);
  color: var(--primary-color);
}

.accordion-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0 24px 24px 24px;
  line-height: 1.7;
}

/* ==========================================
   CALL TO ACTION (CTA) BANNER
   ========================================== */
.cta-banner {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn-cta {
  background-color: var(--text-white);
  color: var(--primary-color) !important;
  padding: 14px 36px;
  border-radius: var(--button-radius);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-normal);
}

.btn-cta:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 87, 217, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.contact-form-card {
  padding: 40px;
}

.form-control-custom, .form-select-custom {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.form-control-custom:focus, .form-select-custom:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.15);
  background-color: var(--bg-card);
}

.map-placeholder {
  width: 100%;
  height: 250px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-top: 30px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-custom {
  background-color: var(--secondary-color);
  color: var(--text-white);
  padding: 70px 0 30px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 320px;
}

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

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

.footer-links a {
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
  color: #60A5FA;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ==========================================
   FLOATING ACTION BUTTONS & SCROLL TO TOP
   ========================================== */
.floating-contact-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.12) translateY(-2px);
}

.float-telegram { background-color: #229ED9; }
.float-messenger { background-color: #0084FF; }
.float-whatsapp { background-color: #25D366; }
.float-phone { background-color: var(--primary-color); }

.float-btn .float-tooltip {
  position: absolute;
  right: 64px;
  background-color: var(--text-main);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  pointer-events: none;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Scroll To Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--text-white);
  border: none;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: var(--transition-normal);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* ==========================================
   ADVANCED MOTION & MICRO-ANIMATION SYSTEM
   ========================================== */

/* 1. Breathing Glow Pulse for Badges & Buttons */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(204, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}

.hero-badge, .btn-pricing-popular, .float-btn {
  animation: floatPulse 3.5s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* 2. Shimmer Light Sweep on Primary Buttons */
.btn-custom-primary, .btn-cta {
  position: relative;
  overflow: hidden;
}

.btn-custom-primary::after, .btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.8s ease-in-out;
}

.btn-custom-primary:hover::after, .btn-cta:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* 3. Cursor Spotlight Radial Glow */
.cursor-spotlight-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 30, 0.22) 0%, rgba(204, 0, 0, 0.10) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  filter: blur(4px);
  transition: opacity 0.2s ease;
}

body.dark-theme .cursor-spotlight-glow {
  background: radial-gradient(circle, rgba(255, 51, 51, 0.32) 0%, rgba(204, 0, 0, 0.16) 45%, transparent 75%);
}

/* 4. 3D Card Smooth Transitions */
.custom-card, .portfolio-item, .pricing-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  will-change: transform;
}

.custom-card:hover, .portfolio-item:hover, .pricing-card:hover {
  border-color: var(--primary-color) !important;
  box-shadow: 0 20px 40px -15px rgba(204, 0, 0, 0.25) !important;
}

/* ==========================================
   INSIGHTS / ANALYTICS CHART SECTION
   ========================================== */
.insights-section {
  background-color: var(--bg-secondary);
}

.insight-chart-card {
  padding: 28px;
  border-radius: var(--card-radius);
  height: 100%;
}

.insight-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.insight-chart-header h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.insight-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background-color: rgba(204, 0, 0, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.insight-chart-body {
  position: relative;
  width: 100%;
  min-height: 260px;
}

.insight-chart-body canvas {
  width: 100% !important;
  max-height: 320px;
}
