/* ==========================================================================
   style-two.css — Light / Indigo theme for index-two
   ========================================================================== */

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

:root {
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Colour palette */
  --indigo: #6C63FF;
  --indigo-dark: #4C45CC;
  --indigo-light: #EEF0FF;
  --sky: #4FC3F7;
  --text-dark: #0F172A;
  --text-mid: #334155;
  --text-soft: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --surface: #F8FAFC;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(108, 99, 255, 0.06);
  --shadow-md: 0 8px 32px rgba(108, 99, 255, 0.12);
  --shadow-lg: 0 20px 60px rgba(108, 99, 255, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ---------- Layout ---------- */
.t2-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.t2-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.t2-header.scrolled {
  box-shadow: 0 2px 20px rgba(108, 99, 255, 0.08);
}

.t2-nav-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.t2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.t2-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #EEF0FF, #E0F2FE);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.t2-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1;
}

.t2-brand-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-dark);
}

.t2-brand-sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--indigo);
  text-transform: uppercase;
}

.t2-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.t2-nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 16px;
  border-radius: 99px;
  transition: all 0.2s;
  position: relative;
}

.t2-nav-link:hover,
.t2-nav-link.active {
  color: var(--indigo);
  background: var(--indigo-light);
}

.t2-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--indigo);
  border-radius: 50%;
}

.t2-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.t2-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 99px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.3);
}

.t2-live-btn:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}

.t2-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.t2-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.t2-hero {
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  background: linear-gradient(150deg, #f5f4ff 0%, #ebe9ff 35%, #dde9ff 70%, #e8f4ff 100%);
}

.t2-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.t2-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.t2-blob-1 {
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.25), transparent 65%);
  top: -160px;
  right: -150px;
}

.t2-blob-2 {
  width: 500px;
  height: 450px;
  background: radial-gradient(circle, rgba(79,195,247,0.2), transparent 65%);
  bottom: 20px;
  left: -100px;
}

.t2-hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.t2-hero-left { display: flex; flex-direction: column; gap: 0; }

.t2-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}

.t2-section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}

.t2-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.t2-gradient-text {
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t2-hero-sub {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Tech chips */
.t2-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.t2-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.t2-chip:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  box-shadow: 0 2px 12px rgba(108, 99, 255, 0.12);
}

/* CTA buttons */
.t2-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.t2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 99px;
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.35);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}

.t2-btn-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(108, 99, 255, 0.45);
}

.t2-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 99px;
  background: var(--white);
  transition: all 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}

.t2-btn-outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

/* ---------- Mockup Illustration ---------- */
.t2-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.t2-mockup-wrap {
  position: relative;
  width: 440px;
  height: 380px;
}

.t2-mockup-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.t2-mockup-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 14px;
  overflow: hidden;
}

.t2-card-back {
  width: 280px;
  height: 200px;
  top: 20px;
  right: 0;
  transform: rotate(6deg);
  z-index: 1;
  opacity: 0.6;
}

.t2-card-mid {
  width: 260px;
  height: 180px;
  top: 60px;
  left: 0;
  transform: rotate(-4deg);
  z-index: 2;
  opacity: 0.75;
}

.t2-card-front {
  width: 300px;
  height: 220px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0;
  overflow: hidden;
}

.t2-mc-bar {
  height: 10px;
  background: linear-gradient(90deg, var(--indigo-light), var(--border));
  border-radius: 8px;
  margin-bottom: 10px;
  width: 60%;
}

.t2-mc-img {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #EEF0FF, #E0F2FE);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

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

.t2-mc-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t2-mc-lines span {
  display: block;
  height: 6px;
  background: var(--border);
  border-radius: 4px;
}

.t2-mc-lines span:last-child { width: 60%; }

.t2-mc-topbar {
  height: 36px;
  background: var(--indigo);
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.t2-mc-dots {
  display: flex;
  gap: 5px;
}

.t2-mc-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.t2-mc-content {
  display: flex;
  height: calc(100% - 36px);
}

.t2-mc-sidebar {
  width: 44px;
  background: #f8f8ff;
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t2-mc-sidebar span {
  display: block;
  height: 8px;
  background: var(--indigo-light);
  border-radius: 4px;
}

.t2-mc-main {
  flex: 1;
  padding: 12px;
}

.t2-mc-header-block {
  height: 10px;
  background: linear-gradient(90deg, var(--indigo-light), var(--border));
  border-radius: 6px;
  width: 70%;
  margin-bottom: 10px;
}

.t2-mc-blocks {
  display: flex;
  gap: 6px;
}

.t2-mc-blocks div {
  flex: 1;
  height: 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Floating badges */
.t2-floating-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--indigo);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
  animation: float 3s ease-in-out infinite;
}

.t2-fb-1 { top: 10px; left: 60px; animation-delay: 0s; }
.t2-fb-2 { bottom: 30px; right: 20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Stats Bar ---------- */
.t2-stats-bar {
  background: #1E1B4B;
  border-radius: var(--radius-md);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(30, 27, 75, 0.3);
}

.t2-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.t2-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}

.t2-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 2px;
  font-weight: 500;
}

.t2-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.12);
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.t2-projects-section {
  padding: 48px 0 48px;
  background: var(--white);
}

.t2-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.t2-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.15;
}

.t2-section-sub {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.t2-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  padding: 10px 22px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  align-self: center;
  background: var(--white);
  transition: all 0.2s;
}

.t2-explore-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  box-shadow: var(--shadow-sm);
}

/* Project Cards */
.t2-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.t2-project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(108, 99, 255, 0.06), 0 1px 4px rgba(0,0,0,0.04);
}

.t2-project-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.t2-card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t2-card-thumb img {
  height: calc(100% - 64px);
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 0;
  border-radius: 20px;
  transition: transform 0.4s var(--ease);
}

.t2-project-card:hover .t2-card-thumb img {
  transform: scale(1.05);
}

/* Compensate for transparent padding inside the CSC Office image */
.t2-card-thumb img[src*="csc.webp"] {
  transform: scale(1.35);
}

.t2-project-card:hover .t2-card-thumb img[src*="csc.webp"] {
  transform: scale(1.4);
}

.t2-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto; /* push to bottom if flex column grows */
  padding-top: 8px;
}

.t2-card-domain {
  background: rgba(108, 99, 255, 0.05);
  border: 1px solid rgba(108, 99, 255, 0.1);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--indigo);
  padding: 4px 10px;
  letter-spacing: 0.04em;
}

.t2-card-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.t2-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.t2-card-desc {
  font-size: 0.83rem;
  color: var(--text-soft);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.t2-card-arrow {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.2s;
}

.t2-project-card:hover .t2-card-arrow {
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
}

/* ==========================================================================
   TECHNOLOGIES SECTION
   ========================================================================== */
.t2-tech-section {
  padding: 48px 0;
  background: var(--white);
}

.t2-tech-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.t2-tech-category {}

.t2-category-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--indigo);
}

.t2-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.t2-tech-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(108, 99, 255, 0.05), 0 1px 3px rgba(0,0,0,0.04);
}

.t2-tech-item:hover {
  border-color: rgba(108, 99, 255, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.t2-tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t2-tech-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t2-tech-info strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.t2-tech-info span {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.t2-ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.t2-ai-pills span {
  background: var(--indigo-light);
  color: var(--indigo);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.t2-footer {
  background: #0F172A;
  color: rgba(255,255,255,0.7);
  padding-top: 48px;
}

.t2-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-top: 52px;
  padding-bottom: 36px;
}

.t2-footer-left {
  max-width: 380px;
}

.t2-footer-left .t2-brand {
  margin-bottom: 16px;
}

.t2-footer-left .t2-brand-name {
  color: rgba(255,255,255,0.9);
}

.t2-footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.t2-footer-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.t2-footer-nav {
  display: flex;
  gap: 24px;
}

.t2-footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.t2-footer-nav a:hover { color: rgba(255,255,255,0.9); }

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

.t2-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.t2-footer-social a:hover {
  border-color: rgba(108,99,255,0.5);
  background: rgba(108,99,255,0.15);
  color: #fff;
}

.t2-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.t2-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.t2-footer-bottom-inner p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.t2-footer-pills {
  display: flex;
  gap: 8px;
}

.t2-footer-pills span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.t2-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: t2FadeUp 0.6s var(--ease) forwards;
}

@keyframes t2FadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .t2-hero-grid {
    grid-template-columns: 1fr;
  }

  .t2-hero-right { display: none; }

  .t2-stats-bar {
    padding: 24px 32px;
  }
}

@media (max-width: 768px) {
  .t2-container { padding: 0 20px; }

  .t2-nav-inner { padding: 0 20px; gap: 16px; }

  .t2-nav-links { display: none; }
  .t2-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

  .t2-mobile-toggle { display: flex; }

  .t2-live-btn { display: none; }

  .t2-hero-title { font-size: 2.2rem; }

  .t2-stats-bar {
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
    transform: translateY(0);
    border-radius: var(--radius-sm);
    margin-top: 32px;
  }

  .t2-stat-divider { width: 100%; height: 1px; }

  .t2-section-head { flex-direction: column; gap: 16px; }

  .t2-projects-grid { grid-template-columns: 1fr 1fr; }

  .t2-footer-inner { flex-direction: column; gap: 32px; }
  .t2-footer-right { flex-direction: column; gap: 20px; align-items: flex-start; }

  .t2-footer-bottom-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}

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

/* ==========================================================================
   PROJECT DETAILS PAGE (project-details-two)
   ========================================================================== */
.t2-details-container {
  padding-top: 100px; /* space for fixed header */
  padding-bottom: 80px;
}

.t2-details-topbar {
  padding: 30px 0;
  display: flex;
  align-items: center;
}

.t2-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 99px;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.t2-back-link:hover {
  background: var(--indigo-light);
  color: var(--indigo);
  border-color: rgba(108, 99, 255, 0.2);
}

.t2-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.t2-details-main,
.t2-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Details Hero */
.t2-details-hero {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.t2-details-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,195,247,0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

.t2-details-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

/* Decorative visualization container */
.t2-dh-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Rings */
.t2-dh-ring-1, .t2-dh-ring-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.15);
}

.t2-dh-ring-1 {
  width: 300px;
  height: 300px;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
}

.t2-dh-ring-2 {
  width: 450px;
  height: 450px;
  top: 50%;
  right: -125px;
  transform: translateY(-50%);
}

/* Glowing dots */
.t2-dh-dot {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
  border: 2px solid rgba(108, 99, 255, 0.4);
}
.t2-dh-dot-1 {
  width: 10px;
  height: 10px;
  top: 25%;
  right: 150px;
  border-color: rgba(79, 195, 247, 0.5);
  box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}
.t2-dh-dot-2 {
  width: 8px;
  height: 8px;
  bottom: 25%;
  right: 80px;
}

.t2-dh-logo {
  width: 120px;
  height: 120px;
  background: transparent;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.t2-dh-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t2-dh-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.t2-dh-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin: 0;
}

.t2-dh-slogan {
  font-size: 1.1rem;
  color: var(--indigo);
  font-weight: 600;
}

.t2-dh-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 99, 255, 0.05);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo);
  border: 1px solid rgba(108, 99, 255, 0.1);
  margin-top: 12px;
  align-self: flex-start;
}

/* Details Cards */
.t2-details-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(108, 99, 255, 0.02);
}

.t2-dc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.t2-dc-icon {
  width: 36px;
  height: 36px;
  background: var(--indigo-light);
  color: var(--indigo);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t2-dc-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin: 0;
}

.t2-dc-body p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}
.t2-dc-body p:last-child { margin-bottom: 0; }

/* Gallery Grid */
.t2-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.t2-gallery-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.t2-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Sidebar Buttons */
.t2-btn-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--indigo) 0%, #8A84FF 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.t2-btn-visit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.t2-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.t2-btn-secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

/* Quote Card */
.t2-quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.t2-qc-icon { margin-bottom: 16px; }

.t2-quote-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}

.t2-qc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--indigo);
}

.t2-qc-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--indigo);
}

/* Info List */
.t2-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.t2-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.t2-info-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.t2-ir-label {
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 500;
}

.t2-ir-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

.t2-status-live {
  color: #10B981; /* Green */
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
}

/* Responsive Details Page */
@media (max-width: 992px) {
  .t2-details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .t2-details-hero {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }
  .t2-dh-tag { align-self: center; }
  .t2-gallery-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LIGHTBOX VIEWER
   ========================================================================== */
.t2-lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(9, 11, 14, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.t2-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.t2-lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.t2-lightbox.active .t2-lightbox-content {
  transform: scale(1);
}

.t2-lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.t2-lightbox-close:hover {
  color: var(--indigo);
}

