/* ============================================================
   COLD SPHERE — PREMIUM STYLESHEET
   Design System: Industrial Tech × Luxury Corporate
   ============================================================ */

/* --- VARIABLES & RESET --- */
:root {
  --primary:       #0F172A;
  --secondary:     #1E293B;
  --accent:        #0EA5E9;
  --accent-light:  #38BDF8;
  --accent-glow:   rgba(14, 165, 233, 0.18);
  --bg:            #F8FAFC;
  --white:         #FFFFFF;
  --success:       #10B981;
  --text-muted:    #64748B;
  --text-light:    #94A3B8;
  --border:        rgba(14, 165, 233, 0.12);
  --border-light:  rgba(255,255,255,0.08);
  --glass:         rgba(255,255,255,0.06);
  --glass-border:  rgba(255,255,255,0.12);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-xl:     0 40px 80px rgba(0,0,0,0.14), 0 16px 40px rgba(0,0,0,0.08);
  --shadow-accent: 0 8px 32px rgba(14, 165, 233, 0.22);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-full:   999px;
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--primary);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}
h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; }
h3 { font-size: clamp(22px, 3vw, 36px); font-weight: 600; }
h4 { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; }
h5 { font-size: 20px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.75; }

.text-accent { color: var(--accent) !important; }
.text-white  { color: var(--white) !important; }
.text-muted-custom { color: var(--text-muted); }
.fw-800 { font-weight: 800; }

/* --- UTILITY CLASSES --- */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }
.section-pad-lg { padding: 140px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(14,165,233,0.22);
  margin-bottom: 20px;
}
.section-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.section-title-group { margin-bottom: 60px; }
.section-title-group h2 { margin-bottom: 18px; }
.section-title-group p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}
.section-title-group.centered { text-align: center; }
.section-title-group.centered p { margin: 0 auto; }

.divider-accent {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin-bottom: 24px;
}
.divider-accent.centered { margin: 0 auto 24px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0284C7);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(14,165,233,0.35);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.07);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-icon { width: 44px; height: 44px; padding: 0; justify-content: center; }

/* --- NAVBAR --- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#mainNav.nav-scrolled {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.24);
}
#mainNav.nav-transparent { background: transparent; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo-wrap {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), #0284C7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
}
.brand-logo-wrap svg { width: 22px; height: 22px; fill: white; }
.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.brand-name span { color: var(--accent); }

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.08);
}

/* Dropdown */
.navbar-nav .dropdown-menu {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 12px;
  margin-top: 8px;
  min-width: 260px;
}
.navbar-nav .dropdown-item {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-nav .dropdown-item:hover {
  background: rgba(14,165,233,0.12);
  color: var(--accent);
}
.dropdown-item-icon {
  width: 32px; height: 32px;
  background: rgba(14,165,233,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dropdown-item-icon svg { width: 16px; height: 16px; color: var(--accent); }

.navbar-toggler {
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { filter: invert(1); }

.nav-cta { margin-left: 8px; }

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--primary);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.98) 0%,
    rgba(15,23,42,0.85) 50%,
    rgba(15,23,42,0.60) 100%
  );
}

/* Animated mesh/grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,0.10) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: glowPulse 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.12); }
}

.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-title .accent-word {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.trust-item svg {
  width: 16px; height: 16px;
  color: var(--success);
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
  aspect-ratio: 4/3;
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.hero-img-wrap:hover img { transform: scale(1.03); }

/* Floating Glass Cards */
.glass-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: absolute;
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
}

.hero-card-1 {
  bottom: -20px;
  left: -30px;
  min-width: 200px;
  animation: floatY 4s ease-in-out infinite;
}
.hero-card-2 {
  top: 30px;
  right: -30px;
  min-width: 180px;
  animation: floatY 5s ease-in-out infinite 1s;
}
.hero-card-3 {
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
  min-width: 160px;
  animation: floatY 6s ease-in-out infinite 0.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.hero-card-3 {
  animation: floatY3 6s ease-in-out infinite 0.5s;
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(-50%) translateY(0px); }
  50%       { transform: translateY(-50%) translateY(-12px); }
}

.glass-card-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.glass-card-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.glass-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.glass-card-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), #0284C7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(14,165,233,0.35);
}
.glass-card-icon svg { width: 18px; height: 18px; color: white; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  animation: fadeInUp 1s 1.5s both;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 5px; }
  50%       { opacity: 0.2; top: 16px; }
}

/* --- INTRO SECTION --- */
.intro-section { background: var(--white); }
.intro-highlight {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--primary);
}
.intro-highlight .hl {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-stat-item {
  background: var(--primary);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}
.intro-stat-item:hover { background: var(--secondary); }
.intro-stat-item:first-child { border-radius: var(--radius-lg) 0 0 0; }
.intro-stat-item:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
.intro-stat-item:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
.intro-stat-item:last-child { border-radius: 0 0 var(--radius-lg) 0; }
.intro-stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.intro-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* --- SERVICE CARDS --- */
.services-section { background: var(--bg); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14,165,233,0.12);
}
.service-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.5), transparent);
}
.service-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card-icon svg { width: 24px; height: 24px; color: var(--accent); }
.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition-fast);
}
.service-card-link:hover { gap: 10px; }
.service-card-link svg { width: 16px; height: 16px; }

/* --- WHY CHOOSE US --- */
.why-section { background: var(--primary); }
.why-section .section-label {
  background: rgba(14,165,233,0.12);
  color: var(--accent-light);
}
.why-section h2 { color: var(--white); }
.why-section > div > div > p { color: rgba(255,255,255,0.55); }

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  background: rgba(14,165,233,0.07);
  border-color: rgba(14,165,233,0.18);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), #0284C7);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(14,165,233,0.28);
}
.feature-icon svg { width: 24px; height: 24px; color: white; }
.feature-card h5 { color: var(--white); margin-bottom: 10px; font-size: 17px; }
.feature-card p { color: rgba(255,255,255,0.45); font-size: 14px; line-height: 1.7; margin: 0; }

/* --- INDUSTRIES --- */
.industries-section { background: var(--white); }

.industry-card {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.industry-card:hover {
  background: var(--primary);
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.industry-card:hover .industry-icon { background: rgba(14,165,233,0.2); }
.industry-card:hover h5 { color: var(--white); }
.industry-card:hover p { color: rgba(255,255,255,0.5); }
.industry-icon {
  width: 64px; height: 64px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.industry-icon svg { width: 30px; height: 30px; color: var(--accent); }
.industry-card h5 { font-size: 15px; margin-bottom: 6px; transition: var(--transition); }
.industry-card p { font-size: 13px; line-height: 1.6; margin: 0; transition: var(--transition); }

/* --- PROJECTS --- */
.projects-section { background: var(--bg); }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  justify-content: center;
}
.filter-btn {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.08);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.07); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.4) 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h5 { color: var(--white); font-size: 17px; margin-bottom: 6px; }
.project-overlay span {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* --- COUNTER SECTION --- */
.counter-section {
  background: linear-gradient(135deg, #0284C7 0%, var(--accent) 50%, #0EA5E9 100%);
  position: relative;
  overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counter-item { text-align: center; padding: 20px; position: relative; z-index: 1; }
.counter-num {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.counter-label {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* --- TESTIMONIALS --- */
.testimonials-section { background: var(--white); }

.testimonial-card {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(14,165,233,0.12);
}
.stars { color: #F59E0B; font-size: 15px; margin-bottom: 18px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid rgba(14,165,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.author-name { font-size: 15px; font-weight: 700; color: var(--primary); }
.author-role { font-size: 12px; color: var(--text-muted); }

/* --- FAQ --- */
.faq-section { background: var(--bg); }

.accordion-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-button {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary) !important;
  background: var(--white) !important;
  padding: 20px 24px;
  border: none;
}
.accordion-button:not(.collapsed) {
  color: var(--accent) !important;
  background: rgba(14,165,233,0.03) !important;
  box-shadow: none !important;
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230EA5E9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 24px 20px;
  background: var(--white);
}

/* --- GALLERY --- */
.gallery-section { background: var(--primary); }
.gallery-section h2 { color: var(--white); }
.gallery-section .section-label {
  background: rgba(14,165,233,0.12);
  color: var(--accent-light);
}

.gallery-grid {
  columns: 4;
  column-gap: 14px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,165,233,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 32px; height: 32px; color: white; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* --- CTA BANNER --- */
.cta-section {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px;
}
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.55); font-size: 18px; max-width: 520px; margin: 0 auto 36px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --- CONTACT SECTION --- */
.contact-section { background: var(--white); }

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  height: 100%;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 10px; }
.contact-info-card > p { color: rgba(255,255,255,0.5); margin-bottom: 36px; font-size: 15px; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-info-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}

.hours-list { margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; }
.hours-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.5);
}
.hours-item span:last-child { color: var(--accent); font-weight: 600; }

/* Contact Form */
.contact-form-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.form-control, .form-select {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--primary);
  padding: 13px 16px;
  transition: var(--transition-fast);
}
.form-control:focus, .form-select:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { min-height: 130px; resize: vertical; }

/* --- FOOTER --- */
.footer {
  background: #080E1B;
  color: rgba(255,255,255,0.55);
}
.footer-main { padding: 80px 0 60px; }
.footer-brand { margin-bottom: 24px; }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 28px; color: rgba(255,255,255,0.4); }

.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}
.social-btn svg { width: 16px; height: 16px; }

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a::before {
  content: '→';
  font-size: 11px;
  opacity: 0;
  transition: var(--transition-fast);
}
.footer-links a:hover::before { opacity: 1; }

.footer-newsletter-form .input-group .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-right: none;
  color: white;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.footer-newsletter-form .input-group .form-control:focus { border-color: var(--accent); }
.footer-newsletter-form .btn { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}
.footer-bottom-text { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* --- FLOATING BUTTONS --- */
.float-actions {
  position: fixed;
  bottom: 36px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.float-btn:hover { transform: scale(1.1) translateY(-3px); }
.float-whatsapp { background: #25D366; }
.float-call { background: var(--accent); }
.float-btn svg { width: 24px; height: 24px; color: white; }

.float-btn-label {
  position: absolute;
  right: 62px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}
.float-btn:hover .float-btn-label { opacity: 1; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: var(--primary);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 56px); position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.55); max-width: 600px; position: relative; z-index: 1; }

/* Breadcrumb */
.breadcrumb { position: relative; z-index: 1; }
.breadcrumb-item a { color: rgba(255,255,255,0.45); font-size: 13px; text-decoration: none; }
.breadcrumb-item.active { color: var(--accent); font-size: 13px; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.2); }

/* --- SERVICE DETAIL PAGES --- */
.service-overview { background: var(--white); }
.service-features-section { background: var(--bg); }
.process-section { background: var(--primary); }

.process-step {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}
.process-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), #0284C7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}
.process-content h5 { color: var(--white); margin-bottom: 6px; }
.process-content p { color: rgba(255,255,255,0.45); font-size: 14px; margin: 0; line-height: 1.7; }

/* --- SIDEBAR SERVICES --- */
.sidebar-services-card {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-services-header {
  background: var(--primary);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.sidebar-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}
.sidebar-service-link:last-child { border-bottom: none; }
.sidebar-service-link:hover {
  background: var(--accent-glow);
  color: var(--accent);
  padding-left: 24px;
}
.sidebar-service-link svg { width: 14px; height: 14px; }

.sidebar-cta-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(14,165,233,0.15);
}
.sidebar-cta-card h5 { color: var(--white); margin-bottom: 10px; }
.sidebar-cta-card p { color: rgba(255,255,255,0.45); font-size: 14px; margin-bottom: 20px; }

/* --- LOCATION PAGES --- */
.location-map-placeholder {
  background: var(--bg);
  border: 2px dashed rgba(0,0,0,0.1);
  border-radius: var(--radius-lg);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
}

/* --- ABOUT PAGE --- */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mv-card {
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  height: 100%;
}
.mv-card.mission { background: var(--primary); }
.mv-card.vision { background: linear-gradient(135deg, var(--accent), #0284C7); }
.mv-card h3 { color: var(--white); margin-bottom: 14px; }
.mv-card p { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.8; margin: 0; }

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.team-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 24px 22px; }
.team-card-body h5 { font-size: 18px; margin-bottom: 4px; }
.team-card-body .role { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.team-card-body p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-fade-up   { animation: fadeInUp 0.7s ease both; }
.anim-fade-left { animation: fadeInLeft 0.7s ease both; }
.anim-fade-right{ animation: fadeInRight 0.7s ease both; }
.anim-delay-1   { animation-delay: 0.1s; }
.anim-delay-2   { animation-delay: 0.2s; }
.anim-delay-3   { animation-delay: 0.3s; }
.anim-delay-4   { animation-delay: 0.4s; }
.anim-delay-5   { animation-delay: 0.5s; }

/* AOS custom */
[data-aos] { transition-property: transform, opacity; }

/* --- BACK TO TOP --- */
#backToTop {
  position: fixed;
  bottom: 36px;
  left: 28px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  text-decoration: none;
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--accent); transform: translateY(-3px); }
#backToTop svg { width: 18px; height: 18px; color: white; }

/* --- RESPONSIVE --- */
@media (max-width: 1199px) {
  .hero-card-1 { left: -10px; }
  .hero-card-2 { right: -10px; }
  .hero-card-3 { display: none; }
  .gallery-grid { columns: 3; }
}

@media (max-width: 991px) {
  h1 { font-size: clamp(34px, 7vw, 52px); }
  h2 { font-size: clamp(26px, 5vw, 40px); }
  .section-pad { padding: 70px 0; }
  .section-pad-lg { padding: 90px 0; }
  .hero-visual { padding-top: 0; padding-bottom: 40px; }
  .hero-card-1, .hero-card-2, .hero-card-3 { display: none; }
  .intro-stat-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .navbar-collapse {
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 16px;
  }
  .footer-bottom-links { justify-content: flex-start; margin-top: 10px; }
}

@media (max-width: 767px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust { gap: 14px; }
  .contact-form-card { padding: 28px 20px; }
  .contact-info-card { padding: 28px 20px; }
  .gallery-grid { columns: 2; }
  .float-actions { bottom: 20px; right: 16px; }
  .service-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .intro-stat-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 6px; }
  .filter-btn { font-size: 12px; padding: 7px 14px; }
}

/* --- PRINT / PREFERS REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- MISC UTILITIES --- */
.overflow-hidden { overflow: hidden; }
.pos-relative { position: relative; }
.rounded-xl { border-radius: var(--radius-xl); }
.list-check { padding: 0; }
.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-muted);
}
.list-check li svg {
  width: 18px; height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}
.badge-accent {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(14,165,233,0.2);
}

/* Image placeholder for demo */
.img-placeholder {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-md);
  width: 100%;
}
.img-placeholder svg { width: 36px; height: 36px; opacity: 0.2; }

/* Specific page utility */
.max-w-text { max-width: 680px; }
.sticky-sidebar { position: sticky; top: 100px; }

/* ============================================================
   ADDITIONAL POLISH — appended
   ============================================================ */

/* Spinner in buttons */
.spinner-border-sm {
  width: 1rem; height: 1rem;
  border-width: 0.18em;
}

/* Invalid form field highlight */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12) !important;
}

/* Project card hover fix */
.project-card-full:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl) !important;
}
.project-card-full:hover img {
  transform: scale(1.05);
}
.project-card-full img {
  transition: transform 0.5s ease;
}

/* Contact quick cards hover */
.contact-quick-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Accordion open state border */
.accordion-item.show > .accordion-header .accordion-button {
  border-bottom: 1px solid rgba(14,165,233,0.1);
}

/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* Service detail page grid fix */
@media (max-width: 768px) {
  .sticky-sidebar {
    position: static;
  }
  .sidebar-cta-card {
    margin-top: 0;
  }
}

/* Testimonial card quote mark */
.testimonial-card::before {
  font-size: 90px;
  line-height: 1;
  top: 16px;
  right: 24px;
}

/* Gallery grid responsive */
@media (max-width: 576px) {
  .gallery-grid {
    columns: 1 !important;
  }
}

/* Hero visual overflow fix on tablet */
@media (max-width: 991px) {
  .hero-img-wrap {
    max-height: 340px;
  }
}

/* Floating buttons — extra gap from bottom on mobile */
@media (max-width: 480px) {
  .float-actions {
    bottom: 16px;
    right: 12px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
  #backToTop {
    bottom: 16px;
    left: 12px;
    width: 38px;
    height: 38px;
  }
}

/* Print styles */
@media print {
  .float-actions,
  #backToTop,
  #mainNav,
  .cta-section,
  .footer {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}

/* Lazy-load observer helper */
img.lazy-loaded { opacity: 1 !important; }

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Focus visible outlines for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: rgba(14,165,233,0.18);
  color: var(--primary);
}

/* Scrollbar styling — webkit */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(14,165,233,0.35);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
