/*
Theme Name: Astra Child - Luxury Dark
Theme URI: https://dtechmarketing.in
Description: Custom Luxury Dark high-performance child theme with DTECH Blue branding, animations, and Bebas Neue typography.
Author: Antigravity AI
Template: astra
Version: 2.2.0
*/

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

:root {
  --bg-dark: #0A0A0A;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-light: rgba(255, 255, 255, 0.10);
  --accent-cyan: #00A3FF;
  --accent-blue-deep: #0066FF;
  --accent-metallic: #86D5EB;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-luxury: cubic-bezier(0.76, 0, 0.24, 1);
}

body, html {
  background-color: var(--bg-dark) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Subtle Film Grain Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Logo Sizing and High-Fidelity Rendering */
img[src*="dtech-user-logo.png"] {
  height: 44px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: screen !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (min-width: 768px) {
  img[src*="dtech-user-logo.png"] {
    height: 52px !important;
  }
}

/* Underline Animation in Brand Cyan Blue */
.link-underline::after {
  background: var(--accent-cyan) !important;
}

/* Primary Button in Brand Cyan Blue */
.btn-amber, .bg-\[\#00A3FF\] {
  background: linear-gradient(135deg, #00A3FF 0%, #0077FF 100%) !important;
  color: #0A0A0A !important;
}
.btn-amber:hover {
  background: #FFFFFF !important;
  color: #0A0A0A !important;
}

/* --- WhatsApp Realistic Floating Widget & Micro-Animations --- */
@keyframes whatsapp-wobble {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.08) rotate(-7deg); }
  40% { transform: scale(1.08) rotate(7deg); }
  60% { transform: scale(1.04) rotate(-3deg); }
  80% { transform: scale(1.04) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes whatsapp-sonar {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 10px 25px rgba(0, 0, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 10px 25px rgba(0, 0, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 25px rgba(0, 0, 0, 0.4);
  }
}

button[data-testid="whatsapp-toggle"] {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  animation: whatsapp-sonar 2.5s infinite ease-in-out !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
}

button[data-testid="whatsapp-toggle"]:hover {
  transform: scale(1.12) !important;
  animation: none !important;
}

button[data-testid="whatsapp-toggle"] svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  animation: whatsapp-wobble 4.5s infinite ease-in-out;
}

button[data-testid="whatsapp-toggle"]:hover svg {
  animation: none !important;
}

span[data-testid="whatsapp-badge"] {
  background: #FF3B30 !important;
  color: #FFFFFF !important;
  border-color: #0A0A0A !important;
  box-shadow: 0 2px 6px rgba(255, 59, 48, 0.5) !important;
}

/* Hide any remaining Instagram and Facebook anchors */
a[aria-label="Instagram"],
a[aria-label="Facebook"],
a[data-testid*="instagram"],
a[data-testid*="facebook"],
a[href*="instagram.com"],
a[href*="facebook.com"] {
  display: none !important;
}

/* --- Aesthetic Harmonization: Scroll To Top & WhatsApp Widget --- */
#ast-scroll-top {
  right: 28px !important;
  bottom: 96px !important; /* Stacked cleanly directly above the WhatsApp button */
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  background: rgba(15, 15, 15, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  z-index: 65 !important;
}

#ast-scroll-top .ast-icon.icon-arrow svg {
  transform: rotate(180deg) !important;
  fill: #FFFFFF !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  transition: transform 0.3s ease, fill 0.3s ease !important;
}

#ast-scroll-top:hover {
  background: #00A3FF !important;
  border-color: #00A3FF !important;
  transform: translateY(-4px) scale(1.06) !important;
  box-shadow: 0 12px 30px rgba(0, 163, 255, 0.35) !important;
}

#ast-scroll-top:hover .ast-icon.icon-arrow svg {
  fill: #0A0A0A !important;
}

div[data-testid="whatsapp-widget"] {
  bottom: 24px !important;
  right: 24px !important;
  z-index: 70 !important;
}

/* --- DTECH Ultra-Responsive Footer System --- */
.dtech-footer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2.5rem 1.5rem !important;
}

@media (min-width: 640px) {
  .dtech-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3rem 2.5rem !important;
  }
}

@media (min-width: 1024px) {
  .dtech-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2.5rem !important;
  }
}

.dtech-footer-col {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}

.dtech-footer-email {
  display: inline-block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
}

@media (min-width: 640px) {
  .dtech-footer-email {
    word-break: normal !important;
  }
}

/* --- DTECH Copyright Bar Centering & Precision Layout --- */
.dtech-footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 2rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

.dtech-footer-copyright p {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.5 !important;
}

/* --- DTECH Stats Single-Row 4-Column System --- */
.dtech-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem 1.25rem !important;
  align-items: start !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .dtech-stats-grid {
    gap: 1.5rem 2rem !important;
  }
}

@media (min-width: 1024px) {
  .dtech-stats-grid {
    gap: 2rem 2.5rem !important;
  }
}

.dtech-stats-item {
  min-width: 0 !important;
  text-align: left !important;
}

.dtech-stats-number {
  font-family: var(--font-display, 'Bebas Neue', sans-serif) !important;
  font-size: clamp(2rem, 4.4vw, 4.5rem) !important;
  line-height: 1 !important;
  color: #FFFFFF !important;
  white-space: nowrap !important;
  letter-spacing: -0.02em !important;
}

.dtech-stats-label {
  font-family: var(--font-body, 'DM Sans', sans-serif) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: clamp(0.72rem, 1.1vw, 0.875rem) !important;
  line-height: 1.35 !important;
  margin-top: 0.5rem !important;
  max-width: 220px !important;
}





/* STRATEGIC SECTOR SERVICES - EXACT SLIDE PRESENTATION STYLING */
.sss-canvas {
    background-color: #E8EFF2 !important;
    background-image: radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.28) 0%, transparent 45%),
                      radial-gradient(circle at 10% 90%, rgba(2, 132, 199, 0.22) 0%, transparent 45%),
                      radial-gradient(circle at 75% 65%, rgba(167, 139, 250, 0.18) 0%, transparent 40%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
    border-radius: 1.5rem !important;
    position: relative !important;
    overflow: hidden !important;
}
.sss-title {
    color: #0D2938 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    font-family: inherit !important;
}
.sss-underline {
    width: 4rem !important;
    height: 4px !important;
    background-color: #0284C7 !important;
    border-radius: 9999px !important;
    margin-top: 0.75rem !important;
}
.sss-card {
    background-color: #134B5F !important;
    background-image: linear-gradient(145deg, #16566D 0%, #104355 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 1rem !important;
    box-shadow: 0 10px 25px -5px rgba(2, 44, 57, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}
.sss-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 35px -5px rgba(2, 132, 199, 0.35) !important;
    background-color: #16566D !important;
}
.sss-icon-box {
    width: 2.125rem !important;
    height: 2.125rem !important;
    background-color: #246678 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}
.sss-icon-box svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
    stroke: #7DD3FC !important;
}
.sss-pill {
    align-self: flex-start !important;
    background-color: #BAE6FD !important;
    border: 1px solid #7DD3FC !important;
    border-radius: 0.375rem !important;
    padding: 0.35rem 0.85rem !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}
.sss-pill h3 {
    color: #082F49 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.sss-desc {
    color: #F0F9FF !important;
    font-size: 0.8125rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    opacity: 0.95 !important;
}

/* Mobile cleanup for floating buttons */
@media (max-width: 640px) {
  #ast-scroll-top {
    display: none !important;
  }
}

/* Hero Mobile Alignment & Full-Impact Scale (Exact Onenex Proportion) */
@media (max-width: 639px) {
  /* Top-align hero content on mobile so eyebrow sits cleanly below navbar */
  .hero-section-root,
  section:has(h1.hero-h1-responsive) {
    display: flex !important;
    align-items: flex-start !important;
    min-height: 100svh !important;
  }

  .hero-container-inner,
  section:has(h1.hero-h1-responsive) > div.relative.z-10 {
    padding-top: 92px !important; /* Positions eyebrow right below the 80px fixed header */
    padding-bottom: 36px !important;
  }

  .hero-eyebrow,
  [data-testid="hero-eyebrow"] {
    margin-bottom: 1.25rem !important;
    margin-top: 0.25rem !important;
  }

  .hero-h1-responsive {
    font-size: clamp(44px, 12.8vw, 56px) !important;
    line-height: 0.89 !important;
    letter-spacing: -0.02em !important;
  }

  .hero-h1-responsive span.block {
    display: block !important;
    white-space: normal !important;
  }

  [data-testid="hero-copy"] {
    margin-top: 1.25rem !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    max-width: 82% !important;
    padding-right: 1.75rem !important;
  }
}

/* Hero Headline Responsive Engine */
.hero-h1-responsive {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  line-height: 0.90 !important;
  letter-spacing: -0.02em !important;
}

/* Responsive Word Break for Mobile Onenex Scale vs Desktop 4-Line Scale */
.hero-word-break {
  display: block !important;
}

@media (min-width: 640px) {
  .hero-word-break {
    display: inline !important;
  }
}

@media (min-width: 640px) {
  .hero-h1-responsive {
    font-size: clamp(38px, 5.8vw, 52px) !important;
    line-height: 0.92 !important;
  }
  .hero-h1-responsive span.block {
    display: block !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1024px) {
  .hero-h1-responsive {
    font-size: clamp(46px, 4.2vw, 68px) !important;
    line-height: 0.92 !important;
  }
}

.hero-h1-responsive [data-testid="masked-lines"] > span {
  overflow-x: visible !important;
  overflow-y: hidden !important;
}

.hero-h1-responsive [data-testid="masked-lines"] {
  overflow: visible !important;
}

.hero-text-container,
div:has(> [data-testid="hero-eyebrow"]) {
  max-width: 100% !important;
}

@media (min-width: 640px) {
  .hero-text-container,
  div:has(> [data-testid="hero-eyebrow"]) {
    max-width: 680px !important;
  }
}

@media (min-width: 1024px) {
  .hero-text-container,
  div:has(> [data-testid="hero-eyebrow"]) {
    max-width: 880px !important;
  }
}

@media (min-width: 1280px) {
  .hero-text-container,
  div:has(> [data-testid="hero-eyebrow"]) {
    max-width: 980px !important;
  }
}

/* Mobile cleanup for floating buttons */
@media (max-width: 640px) {
  #ast-scroll-top {
    display: none !important;
  }
}
