/* ========================================
   AI SOLUTIONS — MODERNIZED STYLESHEET
   Refined Precision Aesthetic
   ======================================== */

/* GOOGLE FONT IMPORT */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

/* CSS CUSTOM PROPERTIES */
:root {
  --green: #3cff6a;
  --teal: #47c2a7;
  --teal-light: rgba(71, 194, 167, 0.08);
  --teal-border: rgba(71, 194, 167, 0.15);
  --dark: #0a0a1a;
  --dark-mid: #1a1a2e;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --surface: #ffffff;
  --surface-raised: #f8fafb;
  --surface-subtle: #f1f5f4;
  --border: #e5e7eb;
  --border-light: #f0f0f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* BODY */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* SCROLL REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* STAGGERED CHILDREN */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) {
  transition-delay: 0s;
}
.reveal-stagger.visible > *:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-stagger.visible > *:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-stagger.visible > *:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-stagger.visible > *:nth-child(5) {
  transition-delay: 0.32s;
}
.reveal-stagger.visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  padding-bottom: 14px;
}

/* LOGO */
.logo img {
  height: 46px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.logo a {
  display: inline-flex;
}

.logo img:hover {
  opacity: 0.85;
}

/* NAV MENU */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  text-decoration: none;
  color: #3cff6a;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: opacity var(--transition-fast);
}

.nav-item > a:hover {
  opacity: 0.8;
}

/* NAV LINK */
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #3cff6a;
}

/* CHEVRON */
.chevron {
  font-size: 11px;
  transition: transform var(--transition-fast);
  opacity: 0.7;
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: 100%;
  left: -12px;
  background: rgba(12, 16, 20, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(60, 255, 106, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.nav-item:hover .dropdown,
.dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: block;
}

.dropdown a:hover {
  color: #3cff6a;
  background: rgba(60, 255, 106, 0.06);
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #3cff6a;
  transition: opacity var(--transition-fast);
  user-select: none;
}

.hamburger:hover {
  opacity: 0.8;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Changed from center */
  padding: 0 48px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(10, 10, 26, 0.58) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  max-width: 840px;
  z-index: 2;
  margin: 0; /* Changed from '0 auto' */
  text-align: left; /* Changed from center */
}

.hero h1 {
  font-size: clamp(48px, 6.5vw, 80px);
  color: #3cff6a;
  line-height: 1.08;
  margin-bottom: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero p {
  font-size: 34px;
  line-height: 1.75;
  margin-bottom: 60px;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.85);
  max-width: 660px;
  font-weight: bolder;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 20px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.btn {
  padding: 15px 34px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-family: var(--font);
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn.primary {
  background: #3cff6a;
  color: #000;
  border: 1px solid #3cff6a;
}

.btn.primary:hover {
  background: #2de85b;
  box-shadow: 0 4px 20px rgba(60, 255, 106, 0.25);
  transform: translateY(-1px);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(0, 255, 60, 0.4);
  color: #3cff6a;
}

.btn.secondary:hover {
  /* background: rgba(60, 255, 106, 0.1); */
  background: #3cff6a;
  color: #000;
  border-color: #3cff6a;
  transform: translateY(-1px);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  padding: 110px 48px;
  background: var(--surface);
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 3.5vw, 38px);
  color: #47c2a7;
  margin-bottom: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-text {
  flex: 1;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.text-dark {
  color: var(--text-primary);
}

.text-accent {
  color: #47c2a7;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   FRONTIER SECTION
   ======================================== */
.frontier-section {
  color: var(--text-primary);
  padding-bottom: 100px;
  background: var(--surface);
}

.frontier-banner {
  position: relative;
  overflow: hidden;
}

.frontier-banner img {
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  object-fit: cover;
  display: block;
}

.frontier-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 0;
}

.frontier-title {
  font-size: clamp(34px, 4vw, 44px);
  color: #47c2a7;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.frontier-text h3 {
  font-size: 21px;
  color: #47c2a7;
  margin: 44px 0 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.frontier-text p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.frontier-text ul {
  margin-left: 20px;
  margin-bottom: 28px;
}

.frontier-text li {
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 16px;
}

.frontier-text strong {
  color: #47c2a7;
  font-weight: 600;
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision-section {
  padding: 110px 48px;
  color: var(--text-primary);
  background: var(--surface-raised);
}

.vision-content {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.vision-image {
  flex: 1;
}

.vision-image img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.vision-text {
  flex: 1;
}

.vision-title {
  font-size: clamp(30px, 3.5vw, 38px);
  color: #47c2a7;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.vision-highlight {
  font-size: 18px;
  font-weight: 500;
  color: #47c2a7;
  margin-bottom: 24px;
  line-height: 1.5;
}

.vision-text p {
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* ========================================
   MISSION SECTION
   ======================================== */
.mission-section {
  padding: 110px 48px;
  color: var(--text-primary);
  background: var(--surface);
}

.mission-content {
  display: flex;
  align-items: stretch;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.mission-text {
  flex: 1;
}

.mission-title {
  font-size: clamp(30px, 3.5vw, 38px);
  color: #47c2a7;
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mission-text li {
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 22px;
  color: var(--text-secondary);
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.mission-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.mission-image {
  flex: 1;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}

/* ========================================
   OFFICE SECTION
   ======================================== */
.office-section {
  position: relative;
  background: var(--dark-mid);
  padding: 90px 48px;
  min-height: 600px;
  overflow: hidden;
}

.office-circles {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  height: 480px;
  margin: 0 auto;
}

.circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.12);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base);
}

.circle:hover {
  transform: scale(1.05);
  border-color: rgba(60, 255, 106, 0.3);
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.circle:hover img {
  transform: scale(1.08);
}

.circle-1 {
  width: 220px;
  height: 220px;
  top: 10px;
  left: 4%;
}

.circle-2 {
  width: 250px;
  height: 250px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.circle-2:hover {
  transform: translateX(-50%) scale(1.05);
}

.circle-3 {
  width: 200px;
  height: 200px;
  top: 20px;
  right: 4%;
}

.circle-4 {
  width: 240px;
  height: 240px;
  bottom: 30px;
  left: 10%;
}

.circle-5 {
  width: 210px;
  height: 210px;
  bottom: 20px;
  right: 8%;
}

.office-info {
  text-align: center;
  position: relative;
  margin-top: -50px;
}

.office-title {
  font-size: clamp(34px, 4vw, 44px);
  color: #3cff6a;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.office-address {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-weight: 300;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  padding: 100px 48px 0;
  background: var(--surface);
  color: var(--text-primary);
}

.contact-wrapper {
  display: flex;
  gap: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info {
  flex: 0 0 35%;
}

.contact-title {
  font-size: clamp(36px, 4.5vw, 50px);
  color: #47c2a7;
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-detail {
  margin-bottom: 32px;
}

.contact-detail h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-detail a {
  color: var(--teal);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.contact-detail a:hover {
  border-bottom-color: var(--teal);
}

.contact-detail p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* FORM */
.contact-form-wrapper {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  background: var(--surface);
  color: var(--text-primary);
  outline: none;
  resize: vertical;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #c0c7ce;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(71, 194, 167, 0.1);
}

/* BOTTOM ROW */
.contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding-bottom: 56px;
}

.social-media p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  word-break: break-all;
  flex-wrap: wrap;
}

.linkedin-link:hover {
  color: var(--teal);
}

.linkedin-icon {
  flex-shrink: 0;
}

/* SUBMIT BUTTON */
.submit-btn {
  padding: 13px 36px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
}

.submit-btn:hover {
  background: #3ba892;
  box-shadow: 0 4px 16px rgba(71, 194, 167, 0.25);
  transform: translateY(-1px);
}

/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 28px 38px 0;
  font-family: var(--font);
}

.footer-main {
  display: flex;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 24px;
}

/* Left brand column */
.footer-brand {
  flex: 0 0 220px;
}

.footer-brand img {
  height: 42px;
  width: auto;
  margin-bottom: 24px;
}

.footer-tagline {
  font-size: 15px;
  font-style: italic;
  color: #3cff6a;
  line-height: 1.6;
  font-weight: 400;
}

/* Navigation columns */
.footer-nav {
  display: flex;
  flex: 1;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #3cff6a;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  line-height: 1.5;
  padding: 3px 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #3cff6a;
}

/* Single-link columns */
.footer-col-single a {
  font-size: 14px;
  font-weight: 600;
  color: #3cff6a;
  padding: 0;
}

.footer-col-single a:hover {
  opacity: 0.8;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2px 0;
}

.footer-social p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition-fast);
}

.footer-social a:hover {
  opacity: 0.75;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* RESPONSIVE — FOOTER */
@media (max-width: 900px) {
  .site-footer {
    padding: 48px 24px 0;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    flex: none;
  }

  .footer-nav {
    gap: 32px 24px;
  }

  .footer-col {
    min-width: 130px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0 32px;
  }
}

@media (max-width: 500px) {
  .footer-nav {
    flex-direction: column;
    gap: 28px;
  }
}

/* ========================================
   MOBILE STYLES — NAVIGATION
   ======================================== */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .navbar {
    padding: 16px 24px;
  }

  .navbar nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: rgba(10, 10, 26, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-overflow-scrolling: touch;
  }

  .navbar nav.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
  }

  .nav-item {
    padding: 14px 28px;
    width: 100%;
  }

  .dropdown {
    position: static;
    border: none;
    padding: 8px 0 4px 12px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }

  .dropdown a {
    padding: 7px 12px;
  }
}

/* ========================================
   RESPONSIVE — ABOUT
   ======================================== */
@media (max-width: 900px) {
  .about-section {
    padding: 80px 24px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .about-text {
    font-size: 26px;
  }
}

/* ========================================
   RESPONSIVE — FRONTIER
   ======================================== */
@media (max-width: 900px) {
  .frontier-content {
    padding: 56px 24px 0;
  }

  .frontier-title {
    font-size: 32px;
  }
}

/* ========================================
   RESPONSIVE — VISION
   ======================================== */
@media (max-width: 900px) {
  .vision-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .vision-section {
    padding: 80px 24px;
  }

  .vision-title {
    font-size: 32px;
  }
}

/* ========================================
   RESPONSIVE — MISSION
   ======================================== */
@media (max-width: 900px) {
  .mission-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .mission-section {
    padding: 80px 24px;
  }

  .mission-title {
    font-size: 32px;
  }

  .mission-text li {
    text-align: left;
  }
}

/* ========================================
   RESPONSIVE — OFFICE
   ======================================== */
@media (max-width: 900px) {
  .office-section {
    padding: 60px 24px;
  }

  .office-circles {
    height: 400px;
  }

  .circle-1 {
    width: 140px;
    height: 140px;
  }
  .circle-2 {
    width: 160px;
    height: 160px;
  }
  .circle-3 {
    width: 130px;
    height: 130px;
  }
  .circle-4 {
    width: 150px;
    height: 150px;
  }
  .circle-5 {
    width: 130px;
    height: 130px;
  }

  .office-info {
    margin-top: -40px;
  }
}

@media (max-width: 500px) {
  .office-circles {
    height: 340px;
  }

  .circle-1 {
    width: 110px;
    height: 110px;
  }
  .circle-2 {
    width: 130px;
    height: 130px;
  }
  .circle-3 {
    width: 100px;
    height: 100px;
  }
  .circle-4 {
    width: 120px;
    height: 120px;
  }
  .circle-5 {
    width: 100px;
    height: 100px;
  }
}

/* ========================================
   RESPONSIVE — CONTACT
   ======================================== */
@media (max-width: 900px) {
  .contact-section {
    padding: 60px 24px 0;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .contact-info {
    flex: none;
  }

  .contact-title {
    font-size: 36px;
  }

  .contact-bottom {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .form-row {
    flex-direction: column;
  }

  .contact-title {
    font-size: 30px;
  }
}

/* ========================================
   RESPONSIVE — HERO
   ======================================== */
@media (max-width: 900px) {
  .hero {
    padding: 0 24px;
    min-height: 500px;
  }
}

@media (max-width: 500px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================================
   DEEP LEARNING PAGE
   ======================================== */

/* HERO — Two-Column Grid with Alternating Layout */
.dl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Even child sections: flip image/text sides for zigzag rhythm */
.dl-hero:nth-child(even) .dl-hero-banner {
  order: 2;
}

/* Alternating background tone with subtle radial accent */
.dl-hero:nth-child(even) {
  background:
    radial-gradient(
      ellipse at 80% 20%,
      rgba(71, 194, 167, 0.04) 0%,
      transparent 50%
    ),
    #0d1220;
}

/* Thin divider between consecutive sections */
.dl-hero + .dl-hero {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dl-hero-banner {
  position: relative;
  width: 100%;
  height: 100%; /* Add this */
  min-height: 500px; /* Add this for minimum height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-hero-banner img {
  width: auto;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-hero:hover .dl-hero-banner img {
  transform: scale(1.04);
}

/* Teal accent line on the inner edge of each image */
.dl-hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 10%,
    rgba(71, 194, 167, 0.35) 50%,
    transparent 90%
  );
  z-index: 2;
}

.dl-hero:nth-child(even) .dl-hero-banner::after {
  right: auto;
  left: 0;
}

.dl-hero-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  font-weight: 300;
  z-index: 1;
}

.dl-hero-body {
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.dl-hero-title {
  font-size: clamp(28px, 3.2vw, 42px);
  color: #fff;
  margin-bottom: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  position: relative;
  padding-bottom: 22px;
}

/* Decorative teal underline accent on each title */
.dl-hero-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

.dl-hero-text p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 18px;
  font-weight: 300;
}

.dl-hero-text strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* TECHNOLOGY SECTIONS */
.dl-section {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.dl-section-image {
  width: 100%;
  overflow: hidden;
}

.dl-section-image img {
  width: 100%;
  max-height: clamp(260px, 32vw, 450px);
  object-fit: contain;
  display: block;
}

.dl-section-content {
  padding: 52px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.dl-section-title {
  font-size: clamp(26px, 3vw, 34px);
  color: #47c2a7;
  margin-bottom: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dl-section-list {
  list-style: none;
  padding: 0;
}

.dl-section-list li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.dl-section-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* RESPONSIVE — DL */
@media (max-width: 1100px) {
  .dl-hero-body {
    padding: 48px 36px;
  }
}

@media (max-width: 900px) {
  .dl-hero {
    grid-template-columns: 1fr;
  }

  .dl-hero:nth-child(even) .dl-hero-banner {
    order: 0;
  }

  .dl-hero-banner::after {
    display: none;
  }

  .dl-hero-body {
    padding: 36px 24px 48px;
  }

  .dl-hero-title {
    font-size: 28px;
  }

  .dl-hero-caption {
    font-size: 16px;
  }

  .dl-section-content {
    padding: 40px 24px;
  }
}

@media (max-width: 500px) {
  .dl-hero-title {
    font-size: 24px;
  }
}

/* ========================================
   MACHINE LEARNING PAGE
   ======================================== */

.ml-section {
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 48px;
  gap: 56px;
}

.ml-section-text {
  flex: 1;
}

.ml-section-image {
  flex: 1;
}

.ml-section-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-md);
}

.ml-section-title {
  font-size: clamp(24px, 2.8vw, 30px);
  color: #47c2a7;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ml-section-list {
  list-style: none;
  padding: 0;
}

.ml-section-list li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.ml-section-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.ml-section-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.ml-section-reversed {
  flex-direction: row;
}

/* RESPONSIVE — ML */
@media (max-width: 900px) {
  .ml-section {
    flex-direction: column;
    padding: 40px 24px;
    gap: 32px;
  }

  .ml-section-reversed {
    flex-direction: column;
  }

  .ml-section-title {
    font-size: 26px;
  }
}

@media (max-width: 500px) {
  .ml-section-title {
    font-size: 22px;
  }
}

/* ========================================
   CASES PAGE
   ======================================== */

.cases-section {
  padding: 100px 48px 96px;
  background: var(--surface-raised);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.case-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-border);
}

.case-image {
  width: 100%;
  height: clamp(160px, 15vw, 210px);
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-image img {
  transform: scale(1.06);
}

.case-content {
  padding: 26px;
}

.case-title {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.case-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.case-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
}

.case-btn:hover {
  background: #3ba892;
  box-shadow: 0 4px 12px rgba(71, 194, 167, 0.3);
  transform: translateY(-1px);
}

/* RESPONSIVE — CASES */
@media (max-width: 1000px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .cases-section {
    padding: 56px 24px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 500px) {
  .case-title {
    font-size: 16px;
  }

  .case-desc {
    font-size: 13px;
  }
}

/* ========================================
   CASE DETAIL PAGES
   ======================================== */

.case-details {
  padding: 64px 48px 88px;
  background: var(--surface);
}

.case-details-content {
  max-width: 860px;
  margin: 0 auto;
}

.case-details-content h2 {
  font-size: 25px;
  color: #47c2a7;
  margin: 44px 0 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-details-content h2:first-child {
  margin-top: 0;
}

.case-details-content h3 {
  font-size: 20px;
  color: #47c2a7;
  margin: 32px 0 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-details-content p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.case-details-content ul {
  margin: 16px 0 24px 20px;
}

.case-details-content li {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.case-details-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.case-details-content .case-btn {
  margin-top: 44px;
}

/* RESPONSIVE — CASE DETAILS */
@media (max-width: 900px) {
  .case-details {
    padding: 40px 24px 56px;
  }

  .case-details-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 500px) {
  .case-details-content h2 {
    font-size: 20px;
  }

  .case-details-content p,
  .case-details-content li {
    font-size: 14px;
  }
}

/* ========================================
   CAREER PAGE
   ======================================== */

.career-section {
  padding: 80px 48px 96px;
  background: var(--surface);
}

.career-content {
  max-width: 900px;
  margin: 0 auto;
}

.career-content .section-title {
  margin-bottom: 48px;
}

/* JOB CARD */
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.job-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
}

/* JOB HEADER — clickable toggle */
.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}

.job-header:hover {
  background: var(--surface-raised);
}

.job-header-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.job-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.job-tags {
  display: flex;
  gap: 8px;
}

.job-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.job-toggle {
  font-size: 24px;
  color: var(--teal);
  font-weight: 300;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.job-card.expanded .job-toggle {
  transform: rotate(45deg);
}

/* JOB BODY — hidden by default */
.job-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card.expanded .job-body {
  max-height: 2000px;
}

.job-body > *:first-child {
  padding-top: 0;
}

.job-body {
  padding: 0 32px;
}

.job-card.expanded .job-body {
  padding: 0 32px 32px;
}

/* JOB SECTIONS */
.job-section {
  margin-bottom: 24px;
}

.job-section h4 {
  font-size: 15px;
  font-weight: 600;
  color: #47c2a7;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.job-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.job-section ul {
  margin: 0 0 0 20px;
}

.job-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.job-body > .case-btn {
  margin-top: 8px;
}

/* RESPONSIVE — CAREER */
@media (max-width: 900px) {
  .career-section {
    padding: 56px 24px 64px;
  }

  .job-header {
    padding: 22px 24px;
  }

  .job-body {
    padding: 0 24px;
  }

  .job-card.expanded .job-body {
    padding: 0 24px 28px;
  }

  .job-header-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .job-title {
    font-size: 18px;
  }
}

@media (max-width: 500px) {
  .job-title {
    font-size: 16px;
  }

  .job-section h4 {
    font-size: 14px;
  }

  .job-section p,
  .job-section li {
    font-size: 14px;
  }
}
