/* =============================================
   BLUECROCODILE — Technologies Page Styles
   Extends: style.css
   ============================================= */

/* ---- Page Hero ---- */
.tech-hero {
  padding: 0 0 56px; /* Azzerato padding top */
}
.tech-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.tech-hero p {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.7;
  max-width: 440px;
}

/* ---- Section heading ---- */
.tech-group {
  margin-bottom: 48px;
}
.tech-group:last-child {
  margin-bottom: 0;
}
.tech-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-accent);
  margin-bottom: 24px;
}

/* ---- Core Technologies grid ---- */
.core-tech-section {
  padding: 0 0 72px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tech-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1.5px solid rgba(30,91,188,0.10);
  cursor: default;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.tech-card:hover {
  border-color: var(--blue-accent);
  box-shadow: 0 6px 28px rgba(30,91,188,0.12);
  transform: translateY(-4px);
}
.tech-logo {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--blue-mid);
  transition: transform var(--transition), color var(--transition);
}
.tech-logo svg {
  width: 28px;
  height: 28px;
}
.tech-card:hover .tech-logo {
  transform: scale(1.18) rotate(-4deg);
  color: var(--blue-accent);
}
.tech-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ---- Specialty rows (AI & Data, Security, etc.) ---- */
.specialty-section {
  padding: 0 0 72px;
}
.specialty-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}
.specialty-row:last-child { margin-bottom: 0; }
.specialty-row.reverse { direction: rtl; }
.specialty-row.reverse > * { direction: ltr; }

.specialty-content {}
.specialty-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 22px;
}
.specialty-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.specialty-list li {
  font-size: 0.92rem;
  color: var(--gray-text);
  padding: 10px 16px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  background: var(--gray-light);
  transition: border-color var(--transition), color var(--transition), transform var(--transition), background var(--transition);
  cursor: default;
}
.specialty-list li:hover {
  border-left-color: var(--blue-accent);
  color: var(--blue-accent);
  background: var(--blue-light);
  transform: translateX(5px);
}

/* ---- SVG illustrations ---- */
.tech-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-illustration svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* Brain dots animation */
@keyframes brain-dot-pulse {
  0%, 100% { opacity: 0.3; r: 2px; }
  50%       { opacity: 0.9; r: 3.5px; }
}
.brain-dot {
  animation: brain-dot-pulse 2.5s ease-in-out infinite;
}
.brain-dot:nth-child(2n)   { animation-delay: 0.4s; }
.brain-dot:nth-child(3n)   { animation-delay: 0.8s; }
.brain-dot:nth-child(4n)   { animation-delay: 1.2s; }
.brain-dot:nth-child(5n)   { animation-delay: 1.6s; }

/* Shield pulse rings */
@keyframes shield-ring {
  0%   { opacity: 0.5; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.4); }
}
.shield-ring-1 { animation: shield-ring 2.8s ease-out infinite; transform-origin: 50% 50%; }
.shield-ring-2 { animation: shield-ring 2.8s ease-out infinite 0.7s; transform-origin: 50% 50%; }
.shield-ring-3 { animation: shield-ring 2.8s ease-out infinite 1.4s; transform-origin: 50% 50%; }

/* Cloud network animation */
@keyframes cloud-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.cloud-float { animation: cloud-float 3.5s ease-in-out infinite; }
.cloud-line  { stroke-dasharray: 4 4; animation: dash-move 1.5s linear infinite; }
@keyframes dash-move { to { stroke-dashoffset: -16; } }

/* DevOps spinning gear */
@keyframes spin-slow { to { transform: rotate(360deg); } }
.gear-spin { animation: spin-slow 8s linear infinite; transform-origin: 50% 50%; }
.gear-spin-rev { animation: spin-slow 6s linear infinite reverse; transform-origin: 50% 50%; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-row { grid-template-columns: 1fr; gap: 32px; }
  .specialty-row.reverse { direction: ltr; }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
