/* ==========================================================================
   Total Care Services - Global Styles & Design System
   ========================================================================== */

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

/* CSS Custom Properties */
:root {
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Premium Harmonious Color Palette */
  --color-primary: #0f172a;        /* Deep Slate / Trust Navy */
  --color-primary-light: #1e293b;  /* Slate Gray */
  --color-accent: #2563eb;         /* Corporate Active Blue */
  --color-accent-hover: #1d4ed8;   /* Deep Blue */
  --color-accent-light: #eff6ff;   /* Light Blue Accent */
  --color-secondary: #0d9488;      /* Safe Teal (represents cleaning & hygiene) */
  --color-secondary-hover: #0f766e;
  --color-highlight: #d97706;      /* Amber / Gold (represents premium care/quality) */
  --color-highlight-light: #fef3c7;
  --color-bg-light: #f8fafc;       /* Light neutral background */
  --color-bg-white: #ffffff;
  --color-text-dark: #1e293b;      /* High contrast text */
  --color-text-gray: #64748b;      /* Muted text */
  --color-text-light: #f1f5f9;
  --color-border: #e2e8f0;         /* Soft borders */
  --color-whatsapp: #25d366;       /* Official WhatsApp Green */

  /* Spacing & Layout */
  --max-width: 1280px;
  --header-height: 80px;
  --topbar-height: 40px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

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

/* ==========================================================================
   Base Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--color-bg-white);
}

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

.section-title-wrapper {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-gray);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-bg-white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.6);
}

.btn-highlight {
  background-color: var(--color-highlight);
  color: var(--color-bg-white);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.btn-highlight:hover {
  background-color: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.6);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-primary);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Info Bar */
.topbar {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  font-size: 0.85rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-primary-light);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-item svg {
  color: var(--color-secondary);
}

/* Sticky Main Header */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-normal);
}

.header.scrolled .logo img {
  height: 42px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  padding: 1.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

/* Services Dropdown / Mega Menu */
.nav-item-dropdown {
  position: static; /* Allows absolute positioning relative to header/container width */
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-bg-white);
  border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.5rem 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-normal);
  z-index: 999;
}

.nav-item-dropdown:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-column {
  padding: 0 1.5rem;
  border-right: 1px solid var(--color-border);
}

.mega-column:last-child {
  border-right: none;
}

.mega-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-title svg {
  color: var(--color-secondary);
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mega-item a {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mega-item a::before {
  content: '→';
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition-fast);
}

.mega-item a:hover {
  color: var(--color-accent);
  padding-left: 0.5rem;
}

.mega-item a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: center;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../banner/banner.png') no-repeat center center/cover;
  padding: 8rem 0;
  min-height: calc(85vh - var(--header-height));
  display: flex;
  align-items: center;
  color: var(--color-bg-white);
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 1.5rem;
  animation: slideInRight 0.8s ease;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-bg-white);
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s ease;
}

.hero-sub {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  animation: slideUp 1s ease;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUp 1.2s ease;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  color: var(--color-bg-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: pulse 2s infinite;
}

.about-experience-badge .num {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-experience-badge .txt {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-tabs {
  margin-top: 2rem;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-gray);
  padding: 0.8rem 1.5rem;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: var(--transition-fast);
}

.tab-btn.active {
  color: var(--color-accent);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}

.tab-panel p {
  color: var(--color-text-gray);
  margin-bottom: 1rem;
}

.core-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.value-item svg {
  color: var(--color-secondary);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--color-bg-white);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.service-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.learn-more-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.learn-more-link:hover {
  color: var(--color-accent-hover);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
}

.why-title {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--color-text-gray);
}

/* ==========================================================================
   Industries We Serve
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.industry-card:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.industry-card:hover h3 {
  color: var(--color-bg-white);
}

.industry-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem auto;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-card:hover .industry-icon {
  color: var(--color-highlight);
}

.industry-card h3 {
  font-size: 1rem;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Our Process Workflow
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 50px;
  right: 50px;
  height: 3px;
  background-color: var(--color-border);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-num {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-white);
  border: 4px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition-normal);
}

.process-step:hover .process-num {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.process-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--color-text-gray);
}

/* ==========================================================================
   Interactive Gallery (Filters & Lightbox)
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  border-color: var(--color-accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 280px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.gallery-overlay-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 700;
  letter-spacing: 1px;
}

.gallery-overlay-title {
  color: var(--color-bg-white);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn var(--transition-fast) forwards;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  color: var(--color-bg-white);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--color-bg-white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-bg-white);
  font-size: 2.5rem;
  background: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 2010;
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* ==========================================================================
   Testimonial Slider
   ========================================================================== */
.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.testimonial-slide {
  min-width: 100%;
  padding: 2rem 1rem;
  text-align: center;
}

.testimonial-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid var(--color-border);
}

.testimonial-stars {
  color: var(--color-highlight);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--color-accent-light);
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--color-text-gray);
  font-weight: 500;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--color-accent);
  width: 24px;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  background: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  color: var(--color-accent);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-accent);
  color: var(--color-bg-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--color-text-gray);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-inner {
  border-top-color: var(--color-border);
}

/* ==========================================================================
   Blog Section & Article Modals
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-gray);
  margin-bottom: 0.8rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-card-title {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-read-btn:hover {
  color: var(--color-accent-hover);
}

/* Inline blog post viewer modal */
.blog-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.blog-modal.active {
  display: flex;
  animation: fadeIn var(--transition-fast) forwards;
}

.blog-modal-content {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  max-width: 750px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.blog-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: var(--color-text-gray);
  cursor: pointer;
  background: none;
}

.blog-modal-header {
  margin-bottom: 1.5rem;
}

.blog-modal-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-gray);
  margin-bottom: 0.5rem;
}

.blog-modal-title {
  font-size: 2rem;
  line-height: 1.25;
}

.blog-modal-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.blog-modal-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.blog-modal-body p {
  margin-bottom: 1.2rem;
}

.blog-modal-body h3 {
  font-size: 1.3rem;
  margin: 1.8rem 0 0.8rem 0;
}

.blog-modal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.blog-modal-body li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Contact Page Elements
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

.contact-card-wrapper {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form Submit Messages */
.form-feedback {
  grid-column: span 2;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-box {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-info-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent-light);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem;
  color: var(--color-text-gray);
}

.contact-map {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 5rem 0 2rem 0;
  border-top: 5px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--color-bg-white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--color-secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-bg-white);
  padding-left: 0.3rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: #94a3b8;
}

.footer-contact-item a:hover {
  color: var(--color-bg-white);
}

.footer-areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.area-tag {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.area-tag::before {
  content: '•';
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--color-primary-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #94a3b8;
}

/* ==========================================================================
   Floating Widgets (WhatsApp & Call)
   ========================================================================== */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition-normal);
}

.float-whatsapp {
  background-color: var(--color-whatsapp);
}

.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background-color: var(--color-whatsapp);
  z-index: -1;
  animation: pulse 1.8s infinite;
}

.float-call {
  background-color: var(--color-accent);
  display: flex; /* Displayed on all screen sizes */
}

.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   Keyframes & Animations
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Adjust Pulsing specifically for whatsapp color */
.float-whatsapp::before {
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.mobile-call-btn {
  display: none;
}
.nav-menu .mobile-drawer-call {
  display: none !important;
}

/* ==========================================================================
   Media Queries & Mobile Responsiveness
   ========================================================================== */

/* Large screens and Laptops (up to 1200px) */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .process-timeline::before {
    display: none; /* Hide timeline line */
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablets (up to 992px) */
@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-img {
    height: 350px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hamburger Menu Toggle Display */
  .hamburger {
    display: flex;
  }

  /* Mobil Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 320px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 0;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-normal);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link {
    padding: 1rem 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Disable hover mega menu on mobile */
  .nav-item-dropdown:hover .mega-menu {
    visibility: hidden;
    opacity: 0;
    transform: none;
  }

  /* Mobile Mega Menu Accordion style */
  .mega-menu {
    position: static;
    grid-template-columns: 1fr;
    padding: 0 0 1rem 1rem;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none; /* Controlled via JS */
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--color-accent);
  }

  .mega-menu.active {
    display: block;
  }

  .mega-column {
    padding: 0;
    border-right: none;
    margin-top: 1rem;
  }

  .mega-title {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }

  /* Hide Desktop Buttons in Navigation Drawer */
  .header-actions {
    display: none;
  }

  /* Show mobile call button in sticky header */
  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    margin-right: 1rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
  }
  .mobile-call-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
  }
  .mobile-call-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Show call option in mobile navigation drawer list */
  .nav-menu .mobile-drawer-call {
    display: block !important;
    width: 100%;
    margin-top: 1.5rem;
    border-top: 2px solid var(--color-border);
    padding-top: 1.5rem;
  }

  /* Show floating call button on mobile */
  .float-call {
    display: flex;
  }
}

/* Mobile Devices (up to 768px) */
@media (max-width: 768px) {
  .topbar {
    display: none; /* Hide topbar on mobile to save space */
  }

  .hero {
    padding: 5rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-prev, .lightbox-next {
    display: none !important; /* Hide arrows on mobile overlays, users swipe/scroll */
  }

  .lightbox-content {
    max-width: 100%;
  }

  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Small Screens (up to 480px) */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .about-experience-badge {
    position: static;
    margin-top: 1.5rem;
    transform: none !important;
    box-shadow: var(--shadow-md);
  }
}
