/* ================================================================
   iHub Anubhuti — IIITD Foundation
   technology.css | Dedicated Technology Development Stylesheet
   Designed by: Expert UI/UX & Front-End System
   ================================================================ */

/* ── Dark Technology Hero Section ── */
.tech-dev-hero {
  position: relative !important;
  background-color: #020813 !important;
  min-height: 480px !important;
  padding-block: 150px 80px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.tech-dev-hero .hero-image-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll !important;
  opacity: 0.98 !important;
  filter: contrast(1.1) brightness(1.75) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.tech-dev-hero::after {
  display: none !important;
}

.tech-dev-hero .container {
  position: relative !important;
  z-index: 2 !important;
}

.tech-dev-hero .init-hero-title {
  color: var(--white) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
  line-height: 1.25 !important;
  margin-bottom: var(--space-4) !important;
  text-shadow: none !important;
  filter: none !important;
}

.tech-dev-hero .init-hero-title span {
  font-style: normal !important;
  color: var(--gold) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  display: inline !important;
}

.tech-dev-hero .init-hero-desc {
  color: rgba(255, 255, 255, 0.8) !important;
  font-family: var(--font-body) !important;
  font-size: clamp(var(--text-base), 2.2vw, var(--text-md)) !important;
  line-height: 1.7 !important;
  font-weight: 500 !important;
  max-width: 780px !important;
  text-shadow: none !important;
}

.tech-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-tech-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border: 2px solid var(--gold);
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(238, 185, 2, 0.2);
}

.btn-tech-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 185, 2, 0.35);
}

.btn-tech-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-tech-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ── Shortcuts Strip ── */
.hero-shortcuts-strip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  width: 100%;
  max-width: var(--container-max);
  margin: 4.5rem auto 0 auto;
  display: flex;
  overflow-x: auto;
  box-sizing: border-box;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.shortcut-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.shortcut-item:last-child {
  border-right: none;
}

.shortcut-item i {
  font-size: 0.95rem;
  color: #2e7eff;
  transition: transform 0.3s ease;
}

.shortcut-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
}

.shortcut-item:hover i {
  transform: translateY(-2px) scale(1.05);
  color: #60a5fa;
}

@media (max-width: 991px) {
  .tech-hero {
    min-height: auto;
    padding: 5rem 0 4rem 0;
  }
  .hero-shortcuts-strip {
    margin-top: 3.5rem;
  }
}

/* ── Bento Grid Section ── */
.bento-section {
  padding: 6rem 0 8rem 0;
  background: radial-gradient(circle at 50% 0%, #f4f8fd 0%, #ffffff 80%);
  overflow: hidden;
  position: relative;
}

.bento-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem auto;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bento-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.bento-title em {
  font-style: normal;
  color: var(--navy-light);
}

.bento-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.6;
}

/* ── Bento Grid Structure ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, minmax(240px, auto));
  gap: 1.5rem;
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Card Placements ── */
.card-ai-data {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: calc(480px + 1.5rem);
}

.card-cloud {
  grid-column: 2;
  grid-row: 1;
  min-height: 240px;
}

.card-cyber {
  grid-column: 3;
  grid-row: 1;
  min-height: 240px;
}

.card-analytics {
  grid-column: 4;
  grid-row: 1;
  min-height: 240px;
}

.card-digital {
  grid-column: 2 / span 2;
  grid-row: 2;
  min-height: 240px;
}

.card-iot {
  grid-column: 4;
  grid-row: 2 / span 2;
  min-height: calc(480px + 1.5rem);
}

.card-software {
  grid-column: 1 / span 2;
  grid-row: 3;
  min-height: 240px;
}

.card-collaboration {
  grid-column: 3;
  grid-row: 3;
  min-height: 240px;
}

/* ── Base Bento Card Style ── */
.bento-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(28, 82, 150, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(14, 40, 73, 0.03), 0 1px 3px rgba(14, 40, 73, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  box-sizing: border-box;
}

.bento-card > div:first-of-type {
  position: relative;
  z-index: 3;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(28, 82, 150, 0.18);
  box-shadow: 0 20px 40px rgba(14, 40, 73, 0.08), 0 0 25px rgba(28, 82, 150, 0.04);
}
/* ── Dark Theme Card Modifier ── */
.bento-card.dark-theme {
  background: linear-gradient(180deg, #061224 0%, #020612 100%);
  border: 1px solid rgba(46, 126, 255, 0.2);
  box-shadow: 0 20px 50px rgba(3, 10, 23, 0.35);
}

.bento-card.dark-theme:hover {
  border-color: rgba(46, 126, 255, 0.4);
  box-shadow: 0 30px 60px rgba(3, 10, 23, 0.5), 0 0 30px rgba(46, 126, 255, 0.25);
}

/* ── Colorful Light Bento Cards ── */
.card-cloud {
  background: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
  border-color: rgba(62, 139, 255, 0.18);
}
.card-cloud:hover {
  border-color: rgba(62, 139, 255, 0.35);
}

.card-cyber {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: rgba(16, 185, 129, 0.18);
}
.card-cyber:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.card-analytics {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border-color: rgba(139, 92, 246, 0.18);
}
.card-analytics:hover {
  border-color: rgba(139, 92, 246, 0.35);
}

.card-digital {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(245, 158, 11, 0.18);
}
.card-digital:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.card-iot {
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  border-color: rgba(6, 182, 212, 0.18);
}
.card-iot:hover {
  border-color: rgba(6, 182, 212, 0.35);
}

.card-software {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
  border-color: rgba(239, 68, 68, 0.18);
}
.card-software:hover {
  border-color: rgba(239, 68, 68, 0.35);
}

.card-collaboration {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-color: rgba(79, 70, 229, 0.18);
}
.card-collaboration:hover {
  border-color: rgba(79, 70, 229, 0.35);
}

/* ── Card Content Elements ── */
.card-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.bento-card:hover .card-header-icon {
  transform: scale(1.05);
}

/* Icon Color Variances */
.icon-blue { background: rgba(46, 126, 255, 0.08); color: #2e7eff; }
.icon-green { background: rgba(16, 185, 129, 0.08); color: #10b981; }
.icon-purple { background: rgba(139, 92, 246, 0.08); color: #8b5cf6; }
.icon-orange { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }
.icon-red { background: rgba(239, 68, 68, 0.08); color: #ef4444; }
.icon-cyan { background: rgba(6, 182, 212, 0.08); color: #06b6d4; }

.bento-card.dark-theme .card-header-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.bento-card.dark-theme .card-title-text {
  color: var(--white);
}

.card-body-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey-600);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.bento-card.dark-theme .card-body-text {
  color: rgba(255, 255, 255, 0.7);
}

.card-link-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
  z-index: 5;
}

.card-link-btn:hover {
  gap: 10px;
  color: var(--navy);
}

.bento-card.dark-theme .card-link-btn {
  color: var(--gold-light);
}

.bento-card.dark-theme .card-link-btn:hover {
  color: var(--white);
}

/* ── 3D Technology Illustrations (Background Watermark) ── */
.card-illustration {
  position: absolute;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.18;
  z-index: 1;
}

.bento-card:hover .card-illustration {
  opacity: 0.45;
  transform: scale(1.06);
}

.card-ai-data .card-illustration {
  opacity: 0.28;
}

.card-ai-data:hover .card-illustration {
  opacity: 0.58;
}

/* AI Brain Illustration (Card 1) */
.ill-brain {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brain-mesh {
  width: 90%;
  height: 90%;
  object-fit: contain;
  opacity: 0.85;
  animation: brainFloat 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 15px rgba(46, 126, 255, 0.25));
}

@keyframes brainFloat {
  0% { transform: translateY(5px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(2deg); }
}

/* Cloud Infrastructure (Card 2) */
.ill-cloud {
  bottom: -20px;
  right: -25px;
  width: 160px;
  height: 140px;
}

.cloud-svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.bento-card:hover .ill-cloud {
  transform: translateY(-5px);
}

/* Cyber Security Shield (Card 3) */
.ill-shield {
  bottom: -25px;
  right: -20px;
  width: 150px;
  height: 150px;
}

.shield-svg {
  width: 100%;
  height: 100%;
}

.shield-lock {
  transform-origin: 50% 50%;
  animation: shieldPulse 3s ease-in-out infinite alternate;
}

@keyframes shieldPulse {
  0% { opacity: 0.8; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1.02); }
}

/* Data Analytics 3D Charts (Card 4) */
.ill-chart {
  bottom: -10px;
  right: -10px;
  width: 150px;
  height: 150px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-bar-1, .chart-bar-2, .chart-bar-3 {
  transform-origin: bottom;
  animation: barGrow 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

.chart-bar-1 { animation-delay: 0s; }
.chart-bar-2 { animation-delay: 0.3s; }
.chart-bar-3 { animation-delay: 0.6s; }

@keyframes barGrow {
  0% { transform: scaleY(0.85); }
  100% { transform: scaleY(1.05); }
}

/* Digital Transformation Cubes (Card 5) */
.ill-cubes {
  bottom: -20px;
  right: 10px;
  width: 200px;
  height: 180px;
}

.cubes-svg {
  width: 100%;
  height: 100%;
}

.cube-group {
  animation: cubeFloat 4s ease-in-out infinite alternate;
}

@keyframes cubeFloat {
  0% { transform: translateY(3px); }
  100% { transform: translateY(-8px); }
}

/* IoT Skyline Mockup (Card 6) */
.ill-skyline {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

.skyline-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
}

.skyline-dots circle {
  animation: signalPulse 2s ease-in-out infinite alternate;
}

.skyline-dots circle:nth-child(2n) { animation-delay: 0.7s; }
.skyline-dots circle:nth-child(3n) { animation-delay: 1.2s; }

@keyframes signalPulse {
  0% { opacity: 0.3; r: 2px; }
  100% { opacity: 1; r: 4px; }
}

/* Software Development Laptop Mockup (Card 7) */
.ill-laptop {
  bottom: -20px;
  right: 15px;
  width: 250px;
  height: 170px;
}

.laptop-svg {
  width: 100%;
  height: 100%;
}

.laptop-code-line {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: codeType 5s linear infinite;
}

.laptop-code-line:nth-child(2) { animation-delay: 1s; }
.laptop-code-line:nth-child(3) { animation-delay: 2s; }

@keyframes codeType {
  0% { stroke-dashoffset: 80; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

/* Collaboration Platforms Blocks (Card 8) */
.ill-puzzle {
  bottom: -15px;
  right: -10px;
  width: 160px;
  height: 130px;
}

.puzzle-svg {
  width: 100%;
  height: 100%;
}

.puzzle-piece {
  animation: puzzleWiggle 3s ease-in-out infinite alternate;
}

@keyframes puzzleWiggle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(3deg) translate(2px, -2px); }
}

/* ── Stats Ribbon ── */
.tech-stats-ribbon {
  background: linear-gradient(135deg, #020813 0%, #0c1a30 100%);
  border-top: none;
  border-bottom: none;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.tech-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.tech-stat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.tech-stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.08);
}

.tech-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.tech-stat-card:hover .tech-stat-icon-wrap {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 196, 0, 0.1);
  border-color: rgba(255, 196, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 196, 0, 0.15);
}

.tech-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tech-stat-value {
  font-family: 'Space Grotesk', var(--font-body);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.tech-stat-card:hover .tech-stat-value {
  color: var(--white);
}

.tech-stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Responsive Layout Adaptations ── */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-rows: repeat(3, 260px);
    padding: 0 1.5rem;
  }
  .card-ai-data { height: calc(520px + 1.5rem); }
  .card-iot { height: calc(520px + 1.5rem); }
  .tech-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 0;
  }
  .tech-stat-card:nth-child(2n)::after { display: none; }
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
  }
  .card-ai-data, .card-cloud, .card-cyber, .card-analytics, 
  .card-digital, .card-iot, .card-software, .card-collaboration {
    grid-column: span 1;
    grid-row: auto;
    height: 250px;
  }
  .card-ai-data, .card-iot {
    grid-column: span 2;
    height: 280px;
  }
  .card-digital, .card-software {
    grid-column: span 2;
  }
  .ill-brain { height: 180px; }
  .ill-skyline { height: 180px; }
}

@media (max-width: 575px) {
  .bento-section { padding: 4rem 0 5rem 0; }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .card-ai-data, .card-cloud, .card-cyber, .card-analytics, 
  .card-digital, .card-iot, .card-software, .card-collaboration {
    grid-column: span 1 !important;
    height: auto !important;
    min-height: 240px;
    padding: 1.75rem 1.5rem;
  }
  .card-illustration {
    display: none; /* Hide illustrative shapes on small screens to prioritize clean typography */
  }
  .tech-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  .tech-stat-card {
    padding: 0.5rem 0;
  }
  .tech-stat-card::after { display: none !important; }
}

/* ── Focus Cards Custom Bullet Colors ── */
.focus-card--ai .card-features li::before { background-color: #2E5BFF !important; }
.focus-card--cloud .card-features li::before { background-color: #3b82f6 !important; }
.focus-card--cyber .card-features li::before { background-color: #10b981 !important; }
.focus-card--consulting .card-features li::before { background-color: #8b5cf6 !important; }
.focus-card--integration .card-features li::before { background-color: #fbbf24 !important; }
.focus-card--iot .card-features li::before { background-color: #06b6d4 !important; }
.focus-card--software .card-features li::before { background-color: #ef4444 !important; }
.focus-card--collaboration .card-features li::before { background-color: #4f46e5 !important; }

/* ── Services Section Title ── */
.services-section-title {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
  font-weight: 800 !important;
  color: var(--navy-deep) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: var(--space-4) !important;
  text-align: left !important;
}

.services-section-title span {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
}

.services-section-desc {
  font-family: var(--font-body) !important;
  font-size: var(--text-md) !important;
  color: var(--grey-600) !important;
  line-height: 1.65 !important;
  max-width: 800px !important;
  margin: 0 !important;
  text-align: left !important;
}

/* ── Section Spacing ── */
#services-grid-anchor {
  padding-top: var(--space-20) !important;
  padding-bottom: 8rem !important; /* generous padding before the footer */
}

/* ── Card Consistency overrides ── */
.focus-card .card-desc {
  flex-grow: 0 !important;
}






