/* ==========================================================================
   Chirag Tech - Master Design System & Stylesheet
   Theme: Premium Crisp White with Vibrant Sky Blue, Royal Indigo & Sunset Amber
   ========================================================================== */

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

:root {
  /* Color Palette - Chirag Tech Brand Kit Theme */
  --bg-dark: #0b132b;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-section-alt: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  --primary-cyan: #0284c7;
  --primary-blue: #0284c7;
  --accent-violet: #8b5cf6;
  --accent-amber: #ffcc00;
  --accent-emerald: #0284c7;

  --text-main: #0b132b;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-glow: rgba(2, 132, 199, 0.3);
  --border-glass: #cbd5e1;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --grad-violet: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --grad-amber: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
  --grad-emerald: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --grad-hero: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);

  /* Clean Fonts */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glow: 0 8px 25px rgba(0, 210, 255, 0.25);
  --shadow-amber: 0 8px 25px rgba(0, 230, 118, 0.25);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #ffffff !important;
  background: #ffffff !important;
}

body {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Ambient Glow Background */
body::before {
  display: none !important;
}

a {
  color: #000000 !important;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: #000000 !important;
}

.gradient-text,
.gradient-amber {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #000000 !important;
  color: #000000 !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: #ffcc00 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: 1px solid #e6b800 !important;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.35);
}

.btn-primary:hover {
  background: #e6b800 !important;
  color: #000000 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}

.btn-secondary {
  background: #ffde59 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: 1px solid #e6b800 !important;
}

.btn-secondary:hover {
  background: #ffcc00 !important;
  color: #000000 !important;
  transform: translateY(-3px);
}

.btn-amber {
  background: #ffcc00 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: 1px solid #e6b800 !important;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.35);
}

.btn-amber:hover {
  background: #e6b800 !important;
  color: #000000 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
}

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Common */
.section, section {
  padding: 100px 0;
  position: relative;
  background-color: #ffffff !important;
  background: #ffffff !important;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #f1f5f9 !important;
  border: 1px solid #000000 !important;
  color: #000000 !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: #000000 !important;
}

.section-subtitle {
  color: #000000 !important;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.68rem;
  font-weight: 900;
  color: #0f172a !important;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.25));
  transition: transform 0.3s ease;
}

.logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.logo-text {
  font-family: var(--font-heading) !important;
  color: #0b132b !important;
  -webkit-text-fill-color: #0b132b !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  font-size: 1.68rem !important;
}

.logo-text span {
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  font-weight: 800 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 8px 4px;
  letter-spacing: 0.2px;
}

.nav-link:hover, 
.nav-link.active {
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  font-weight: 700 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: #0284c7;
  border-radius: 9999px;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Slider Section */
.hero-slider-section {
  position: relative;
  width: 100%;
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: #0f172a;
  color: #ffffff;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 520px;
  max-height: 900px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top !important;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.02);
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 1;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: #00D4FF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
  stroke: #00D4FF;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.slider-arrow:hover {
  background: #00D4FF;
  color: #0A1628;
  border-color: #00D4FF;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.slider-arrow:hover svg {
  stroke: #0A1628;
}

.prev-arrow { left: 30px; }
.next-arrow { right: 30px; }

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.dot-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot-indicator.active {
  background: #ffffff;
  width: 32px;
  border-radius: 6px;
}

/* Brand Ticker Bar */
.brand-ticker-bar {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  overflow: hidden;
}

.ticker-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.ticker-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-wrapper {
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 50px;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.brand-item {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.brand-item:hover {
  color: #ffffff;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Project Store Marketplace & Estimator (White Theme) */
.projects-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* Store Carousel Slider (Exactly 3 Cards per view) */
.store-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.projects-store-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 15px 0 25px 0;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.projects-store-slider.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}

.projects-store-slider::-webkit-scrollbar {
  display: none;
}

.projects-store-slider .store-card {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  min-width: calc((100% - 40px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.store-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100 !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffcc00 !important;
  border: 1px solid #e6b800 !important;
  color: #000000 !important;
  font-size: 1.3rem;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4);
  transition: all 0.3s ease;
  pointer-events: auto !important;
}

.store-slider-arrow i {
  pointer-events: none !important;
  color: #000000 !important;
}

.store-slider-arrow:hover {
  background: #e6b800 !important;
  color: #000000 !important;
  border-color: #e6b800 !important;
  transform: translateY(-50%) scale(1.15);
}

.store-slider-arrow.prev {
  left: -25px;
}

.store-slider-arrow.next {
  right: -25px;
}

@media (max-width: 992px) {
  .projects-store-slider .store-card {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 576px) {
  .store-slider-arrow.prev { left: -10px; }
  .store-slider-arrow.next { right: -10px; }
  .projects-store-slider .store-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
}

/* Portfolio Carousel Slider (Exactly 3 Cards per view) */
.portfolio-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.portfolio-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 15px 0 25px 0;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.portfolio-slider.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}

.portfolio-slider::-webkit-scrollbar {
  display: none;
}

.portfolio-slider .portfolio-card,
.portfolio-card {
  flex: 0 0 calc((100% - 40px) / 3) !important;
  width: calc((100% - 40px) / 3) !important;
  max-width: calc((100% - 40px) / 3) !important;
  min-width: calc((100% - 40px) / 3) !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.portfolio-card.is-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.portfolio-card:hover {
  transform: translateY(-8px) !important;
  border-color: #ffcc00 !important;
  box-shadow: 0 20px 40px rgba(255, 204, 0, 0.3) !important;
}

.portfolio-img-box {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  background-size: cover !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
}

.portfolio-overlay {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 19, 43, 0.45) !important;
  backdrop-filter: blur(2px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1 !important;
}

.portfolio-body {
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex-grow: 1 !important;
  background: #ffffff !important;
}

.portfolio-cat {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #475569 !important;
  margin-bottom: 8px !important;
}

.portfolio-title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}

.portfolio-tech {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.store-slider-arrow,
.portfolio-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100 !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffcc00 !important;
  border: 1px solid #e6b800 !important;
  color: #000000 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
  transition: all 0.3s ease;
  pointer-events: auto !important;
  outline: none;
}

.store-slider-arrow svg,
.portfolio-slider-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #000000 !important;
  pointer-events: none !important;
  transition: transform 0.3s ease;
}

.store-slider-arrow:hover,
.portfolio-slider-arrow:hover {
  background: #e6b800 !important;
  color: #000000 !important;
  border-color: #d6a800 !important;
  transform: translateY(-50%) scale(1.14);
  box-shadow: 0 12px 30px rgba(255, 204, 0, 0.6);
}

.store-slider-arrow.prev,
.portfolio-slider-arrow.prev {
  left: -25px;
}

.store-slider-arrow.next,
.portfolio-slider-arrow.next {
  right: -25px;
}

@media (max-width: 992px) {
  .portfolio-slider .portfolio-card {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 576px) {
  .portfolio-slider-arrow.prev { left: -10px; }
  .portfolio-slider-arrow.next { right: -10px; }
  .portfolio-slider .portfolio-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
}

.store-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-cyan);
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.12);
}

.store-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ffcc00 0%, #f59e0b 100%) !important;
  color: #000000 !important;
  font-family: var(--font-heading);
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px !important;
  border-radius: 9999px !important;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
  border: 1px solid #e6b800 !important;
}

.store-img-box {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.store-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.store-card:hover .store-img-overlay {
  opacity: 1;
}

.store-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.store-cat-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-rating {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.store-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text-main);
}

.store-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.store-tech-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tech-tag {
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.store-deliverables-list {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.store-deliverables-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
}

.store-deliverables-list ul li {
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.store-price-tag .currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.store-price-tag .amount {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--text-main);
}

.store-price-tag .original-amount {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 6px;
}

/* Custom Estimator Calculator */
.estimator-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.2);
}

select.form-control option {
  background: #ffffff;
  color: var(--text-main);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: #f8fafc;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-label:hover {
  background: #ffffff;
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.estimator-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.summary-item span {
  color: var(--text-muted);
}

.summary-item strong {
  color: var(--text-main);
}

.total-price-box {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid var(--primary-cyan);
}

.total-price-box span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.total-price-box h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-cyan);
  font-family: var(--font-heading);
}

/* Portfolio & Services Grid */
.services-grid, .portfolio-grid, .testimonials-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card, .portfolio-card, .store-card, .testimonial-card, .pricing-card, .contact-form-box, .faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.service-card:hover, .portfolio-card:hover, .store-card:hover, .testimonial-card:hover, .pricing-card:hover {
  border-color: #ffcc00 !important;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 204, 0, 0.25);
}

.service-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0284c7 !important;
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #0284c7 !important;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
}

.pricing-card.featured {
  border-color: var(--accent-amber);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 20px !important;
  background: linear-gradient(135deg, #ffcc00 0%, #f59e0b 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
  border: 1px solid #e6b800 !important;
}

/* Portfolio Filters */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: #ffcc00 !important;
  color: #000000 !important;
  border-color: #e6b800 !important;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

/* Tech Stack Showcase Box */
.tech-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-card);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

@media (max-width: 1200px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-item:hover {
  background: #ffffff;
  border-color: var(--primary-cyan);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

.tech-item i {
  font-size: 2.5rem;
  color: var(--primary-cyan);
}

.tech-item span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Modal Content White Theme */
.modal-content {
  background: #ffffff !important;
  color: var(--text-main) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Form Toast Alerts */
.form-toast {
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: none;
  font-size: 0.95rem;
}

.form-toast.success {
  background: rgba(39, 201, 63, 0.15);
  border: 1px solid #27c93f;
  color: #15803d;
}

.form-toast.error {
  background: rgba(255, 95, 86, 0.15);
  border: 1px solid #ff5f56;
  color: #b91c1c;
}

/* Footer */
.footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 80px 0 30px 0;
  color: var(--text-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-muted);
  margin: 20px 0;
  max-width: 320px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-cyan);
  color: #ffffff;
  border-color: transparent;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid, .contact-grid, .footer-grid, .estimator-grid {
    grid-template-columns: 1fr;
  }

  .slide-title { font-size: 2.75rem; }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    padding: 40px 30px;
    transition: right 0.4s ease;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  }

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

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .slide-title { font-size: 2rem; }
  .btn-hero-white, .btn-hero-video { width: 100%; justify-content: center; }
  .checkbox-grid { grid-template-columns: 1fr; }
}



.section-tag {
  background: #f1f5f9 !important;
  border-color: #000000 !important;
  color: #000000 !important;
}

/* Ensure crisp black text inside yellow buttons */
.btn-primary, .btn-secondary, .btn-amber, .btn-hero-white, .btn *, .btn-primary *, .btn-amber * {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Force normal standard font stack across all elements */
*, *::before, *::after, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, a, span, p, label, .btn {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* Floating Back to Top / Front Page Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999 !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffcc00 !important;
  color: #000000 !important;
  border: 2px solid #e6b800 !important;
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto !important;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: #e6b800 !important;
  color: #000000 !important;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 30px rgba(255, 204, 0, 0.7);
}

.scroll-to-top-btn i {
  font-size: 1.1rem;
  margin-bottom: 1px;
  color: #000000 !important;
}

.scroll-to-top-btn span {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #000000 !important;
}

/* Floating WhatsApp Meta AI Button - Matching Circular Action Button Design */
.floating-whatsapp-btn {
  position: fixed;
  top: 100px;
  bottom: auto;
  right: 25px;
  z-index: 9999 !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: #ffffff !important;
  border: 2px solid #20ba5a !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto !important;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.7);
  background: linear-gradient(135deg, #20ba5a, #0e7064) !important;
  color: #ffffff !important;
}

.floating-whatsapp-btn i {
  font-size: 1.65rem;
  margin: 0;
  color: #ffffff !important;
}

.floating-whatsapp-btn span {
  display: none !important;
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    top: 80px;
    bottom: auto;
    right: 18px;
    width: 48px;
    height: 48px;
  }
}

/* Contact Info List Icons */
.info-item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}

.info-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  flex-shrink: 0 !important;
  border-radius: 12px !important;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  color: #0284c7;
}

.info-text h4 {
  font-size: 1rem !important;
  margin-bottom: 2px !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

.info-text p {
  font-size: 0.92rem !important;
  color: #475569 !important;
  margin: 0 !important;
}

/* Custom High-Contrast Pure White Theme for Portfolio Modal */
#portfolio-detail-modal .modal-content {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25) !important;
  color: #0b132b !important;
}

#portfolio-detail-modal h3,
#portfolio-detail-modal h4,
#portfolio-detail-modal label {
  color: #0b132b !important;
  -webkit-text-fill-color: #0b132b !important;
}

#portfolio-detail-modal p,
#portfolio-detail-modal span {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}

#portfolio-detail-modal #portfolio-modal-desc {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  font-weight: 400 !important;
}

#portfolio-detail-modal .tech-tag {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  border: 1px solid #cbd5e1 !important;
}

#portfolio-detail-modal #portfolio-modal-cat {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

#portfolio-detail-modal #portfolio-modal-features li {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}

#portfolio-detail-modal #portfolio-modal-order-btn,
#portfolio-detail-modal #portfolio-modal-order-btn * {
  background: #0b132b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#portfolio-detail-modal #portfolio-modal-demo-btn,
#portfolio-detail-modal #portfolio-modal-demo-btn * {
  background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%) !important;
  color: #0b132b !important;
  -webkit-text-fill-color: #0b132b !important;
}

/* ==========================================================================
   PREMIUM ULTRA-MODERN VISUAL STYLING FOR DYNAMIC CAREERS MODULE CARDS & SLIDER
   ========================================================================== */
.careers-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0 50px;
}

.careers-slider {
  display: flex !important;
  gap: 24px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  padding: 15px 5px 25px 5px !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE 10+ */
}

.careers-slider::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera */
}

.careers-slider .job-card {
  flex: 0 0 calc(33.333% - 16px) !important;
  min-width: 320px !important;
  scroll-snap-align: start !important;
}

.careers-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0b132b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.careers-slider-arrow:hover {
  background: #00d2ff;
  color: #ffffff;
  border-color: #00d2ff;
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.careers-slider-arrow.prev {
  left: 0;
}

.careers-slider-arrow.next {
  right: 0;
}

@media (max-width: 1024px) {
  .careers-slider .job-card {
    flex: 0 0 calc(50% - 12px) !important;
  }
}

@media (max-width: 640px) {
  .careers-carousel-wrapper {
    padding: 0 10px;
  }
  .careers-slider .job-card {
    flex: 0 0 100% !important;
    min-width: 280px !important;
  }
  .careers-slider-arrow {
    display: none;
  }
}

#careers {
  background: #ffffff !important;
}

#careers .job-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 4px solid #ffb703 !important;
  border-radius: 20px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
}

#careers .job-card:hover {
  transform: translateY(-6px) !important;
  border-color: #ffb703 !important;
  box-shadow: 0 16px 32px rgba(255, 183, 3, 0.2) !important;
}

#careers .job-card h3 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #0b132b !important;
  -webkit-text-fill-color: #0b132b !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.35 !important;
}

#careers .job-card p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
}

#careers .job-dept-tag,
#careers .job-type-tag {
  background: #f1f5f9 !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
}

#careers .job-meta-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
  margin-bottom: 16px !important;
}

#careers .job-meta-item,
#careers .job-meta-salary {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

#careers .job-meta-item i,
#careers .job-meta-salary i {
  color: #64748b !important;
}

#careers .job-req-badge {
  background: #f8fafc !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  border: 1px solid #e2e8f0 !important;
}

#careers .job-req-badge i {
  color: #64748b !important;
}

#careers .btn-job-apply, .btn-job-apply {
  background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%) !important;
  color: #0b132b !important;
  -webkit-text-fill-color: #0b132b !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  width: 100% !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

#careers .btn-job-apply:hover, .btn-job-apply:hover {
  background: linear-gradient(135deg, #ffdb4d 0%, #ffaa00 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(255, 204, 0, 0.65) !important;
  color: #0b132b !important;
  -webkit-text-fill-color: #0b132b !important;
}

/* Apply Modal Form Controls Styling */
#job-apply-modal input.form-control,
#job-apply-modal select.form-control,
#job-apply-modal textarea.form-control {
  background: #f8fafc !important;
  color: #0b132b !important;
  -webkit-text-fill-color: #0b132b !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
}

#job-apply-modal select.form-control option {
  background: #ffffff !important;
  color: #0b132b !important;
}

/* Unified Solid Black Text Theme for All Job Modal Badges & Tags */
#job-modal-dept,
#job-modal-type,
#job-modal-reqs span,
#job-modal-benefits span,
.job-req-badge,
.job-dept-tag,
.job-type-tag {
  background: #f1f5f9 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  display: inline-block !important;
}
