:root {
  --color-teal: #2d6b63;
  --color-yellow: #f5ff40;
  --color-pink: #ff5cd6;
  --color-mint: #e8ffe8;
  --color-white: #ffffff;
  --color-dark: #333333;
  --color-light-gray: #f5f5f5;
  --color-dark-gray: #444444;
  --color-black: #000000;

  --font-heading: "Fredericka the Great", fantasy;
  --font-body: "Azeret Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

.highlight {
  color: var(--color-pink);
}

.highlight-bg {
  background-color: var(--color-yellow);
  padding: 0 5px;
}

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

.hero {
  display: flex;
  min-height: 64vh;
  flex-wrap: wrap-reverse;
}

.hero-left {
  flex: 1;
  background-color: var(--color-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 128px;
  min-width: 720px;
  justify-content: center;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 46px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 24px;
}

.highlightBox {
  background-color: var(--color-yellow);
  color: var(--color-dark);
  padding: 0 8px;
}

.hero-right {
  flex: 2;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("./assets//images/bg_logo.webp");
  min-width: 720px;
  padding: 64px;
}

.logo {
  margin-top: 128px;
}

.logo-text {
  font-size: 80px;
  font-weight: normal;
  margin-bottom: 0;
}

.tagline {
  margin-top: -10px;
  text-align: right;
  padding-right: 20px;
}

.rebel {
  background-color: var(--color-mint);
  padding: 72px 0;
  text-align: center;
}

.rebel h2 {
  font-size: 60px;
}

.rebel-description {
  background-color: var(--color-yellow);
  padding: 60px 0;
}

.rebel-description p {
  font-size: 28px;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.signature {
  margin-top: 40px;
  text-align: center;
  display: flex;
}

.signature img {
  vertical-align: middle;
  max-height: 100px;
  margin-left: 10px;
}

.signature p {
  margin-top: 48px;
  font-weight: 600;
}

.knowledge {
  display: flex;
  min-height: 54vh;
}

.knowledge-left {
  flex: 1;
  background-color: var(--color-light-gray);
  overflow: hidden;
  background-image: url("./assets/images/dev1.webp");
  background-size: cover;
  background-position: center;
}

.knowledge-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-right {
  flex: 1;
  background-color: var(--color-pink);
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 40px;
}

.knowledge-text h2 {
  font-size: 52px;
  margin-bottom: 30px;
}

.knowledge-text p {
  margin-bottom: 32px;
  color: var(--color-dark);
  font-weight: 600;
}

.work-with-us {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.work-with-us .container {
  max-width: 640px;
}

.dream-team-container {
  display: flex;
  justify-content: flex-start;
  align-items: anchor-center;
  gap: 8px;
}

.dream-team-container p {
  margin-top: 32px;
  transform: rotate(-8deg);
  margin-bottom: 0;
}

.work-with-us h2 {
  font-size: 160px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  color: var(--color-pink);
}

.small-text {
  font-size: 14px;
  color: var(--color-light-gray);
}

.see-roles-link {
  color: var(--color-yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s ease;
}

.see-roles-link:hover {
  color: var(--color-white);
}

.culture {
  display: flex;
  min-height: 64vh;
}

.culture-left {
  flex: 1;
  background-color: var(--color-yellow);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture-points {
  max-width: 600px;
  display: flex;
  gap: 48px;
  flex-direction: column;
}

.culture-point {
  display: flex;
}

.culture-point strong {
  font-size: 24px;
  margin-right: 15px;
  line-height: 1;
  color: var(--color-pink);
}

.star {
  font-size: 24px;
  margin-right: 15px;
  line-height: 1;
}

.culture-point p {
  flex: 1;
  font-size: 24px;
}

.culture-right {
  flex: 1;
  overflow: hidden;
  background-image: url("./assets/images/co-work.webp");
  background-size: cover;
  background-position: center;
}

.culture-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expertise {
  background-color: var(--color-light-gray);
  padding: 60px 0;
  text-align: center;
  background-image: url("./assets/images/bg_logo.webp");
}

.expertise h2 {
  font-size: 42px;
}

.expertise-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.expertise-row {
  display: flex;
  flex-wrap: wrap;
}

.expertise-item {
  padding: 40px;
}

.expertise-item.full-width {
  width: 100%;
  text-align: center;
}

.expertise-row .expertise-item {
  flex: 1;
  min-width: 300px;
}

.expertise-item h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.expertise-item p {
  font-size: 16px;
}

.system {
  background-color: var(--color-mint);
  color: var(--color-dark);
}

.ai {
  background-color: var(--color-dark-gray);
  color: var(--color-white);
}

.cloud {
  background-color: var(--color-pink);
  color: var(--color-dark);
}

.cyber {
  background-color: var(--color-yellow);
}

.courses {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.sectors {
  background-color: var(--color-pink);
  padding: 60px 0;
  text-align: center;
}

.sectors h2 {
  font-size: 42px;
  color: var(--color-white);
  margin-bottom: 40px;
}

.sectors-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.sector-tag {
  padding: 12px 24px;
  border-radius: 25px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sector-tag.tag-neon-lime {
  background-color: #eef960;
  color: var(--color-dark);
}

.sector-tag.tag-neon-lime:hover {
  background-color: var(--color-dark);
  color: #eef960;
}

.sector-tag.tag-emerald {
  background-color: #4fb25a;
  color: var(--color-dark);
}

.sector-tag.tag-emerald:hover {
  background-color: var(--color-white);
  color: #4fb25a;
}

.sector-tag.tag-hot-pink {
  background-color: #f5a5f7;
  color: var(--color-dark);
}

.sector-tag.tag-hot-pink:hover {
  background-color: var(--color-dark);
  color: #f5a5f7;
}

.sector-tag.tag-sky-blue {
  background-color: #54b0f2;
  color: var(--color-dark);
}

.sector-tag.tag-sky-blue:hover {
  background-color: var(--color-white);
  color: #54b0f2;
}

.sector-tag.tag-dusty-mauve {
  background-color: #c38a94;
  color: var(--color-dark);
}

.sector-tag.tag-dusty-mauve:hover {
  background-color: var(--color-white);
  color: #c38a94;
}

.sector-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.packaged-services {
  background-color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}

.packaged-services h2 {
  font-size: 42px;
  color: var(--color-dark);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-row {
  display: flex;
  flex-wrap: wrap;
}

.service-item {
  flex: 1;
  min-width: 250px;
  padding: 40px;
}

.service-item h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.service-item p {
  font-size: 16px;
  line-height: 1.6;
}

.technical-due-diligence {
  background-color: var(--color-yellow);
  color: var(--color-dark);
}

.technical-review {
  background-color: var(--color-mint);
  color: var(--color-dark);
}

.accessibility-review {
  background-color: var(--color-pink);
  color: var(--color-white);
}

.measure-what-matters {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.client-logos {
  background: linear-gradient(135deg,
      var(--color-light-gray) 0%,
      var(--color-white) 50%,
      var(--color-mint) 100%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.client-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%,
      rgba(245, 255, 64, 0.1) 0%,
      transparent 50%),
    radial-gradient(circle at 80% 20%,
      rgba(255, 92, 214, 0.1) 0%,
      transparent 50%);
  pointer-events: none;
}

.client-logos h2 {
  font-size: 42px;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 60px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.client-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.client-item:nth-child(1) {
  animation-delay: 0.1s;
}

.client-item:nth-child(2) {
  animation-delay: 0.2s;
}

.client-item:nth-child(3) {
  animation-delay: 0.3s;
}

.client-item:nth-child(4) {
  animation-delay: 0.4s;
}

.client-item:nth-child(5) {
  animation-delay: 0.5s;
}

.client-item:nth-child(6) {
  animation-delay: 0.6s;
}

.client-item:nth-child(7) {
  animation-delay: 0.7s;
}

.client-item:nth-child(8) {
  animation-delay: 0.8s;
}

.client-logo {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.client-logo img {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo:hover {
  transform: scale(1.1) rotateY(5deg);
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.client-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--color-yellow), var(--color-pink));
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.client-logo:hover::before {
  opacity: 0.1;
}

.client-item:nth-child(odd) .client-logo {
  animation: float 6s ease-in-out infinite;
}

.client-item:nth-child(even) .client-logo {
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.client-logos.in-view .client-logo {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .client-item {
    height: 100px;
  }

  .client-logo img {
    max-width: 120px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .client-logos {
    padding: 60px 0;
  }

  .client-logos h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

.our-values {
  background-color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}

.our-values h2 {
  font-size: 42px;
  color: var(--color-dark);
}

.values-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
}

.value-item {
  flex: 1;
  min-width: 250px;
  padding: 40px;
}

.value-item h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.value-item p {
  font-size: 16px;
  line-height: 1.6;
}

.empowerment {
  background-color: var(--color-yellow);
  color: var(--color-dark);
}

.boldness {
  background-color: var(--color-pink);
  color: var(--color-white);
}

.community {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.learning {
  background-color: var(--color-mint);
  color: var(--color-dark);
}

.purpose-meaning {
  background-color: var(--color-light-gray);
  padding: 80px 0;
  text-align: center;
}

.purpose-meaning h2 {
  font-size: 42px;
  color: var(--color-dark);
  margin-bottom: 30px;
}

.purpose-meaning p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-dark-gray);
  max-width: 800px;
  margin: 0 auto;
}

.get-in-touch {
  background-color: var(--color-teal);
  padding: 80px 0;
  color: var(--color-white);
}

.get-in-touch h2 {
  font-size: 42px;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 50px;
}

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

.contact-section {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--color-yellow);
}

.contact-section h3 {
  font-size: 24px;
  color: var(--color-yellow);
  margin-bottom: 15px;
}

.contact-section p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-section a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section a:hover {
  color: var(--color-yellow);
}

.contact-section strong {
  font-weight: 600;
}

/* Contact Person with Image Styles */
.contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.person-image {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.person-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-yellow);
}

.person-info {
  flex: 1;
}

.person-info h3 {
  margin-bottom: 8px;
  color: var(--color-yellow);
}

.person-info p {
  margin-bottom: 5px;
}

/* Mobile adjustments for contact person */
@media (max-width: 768px) {
  .person-image img {
    width: 70px;
    height: 70px;
  }
}

.news-teaser {
  background-color: var(--color-dark-gray);
  padding: 80px 0;
  color: var(--color-white);
}

.news-teaser-content {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 300px;
}

.news-teaser-left {
  flex: 2;
  max-width: 600px;
}

.news-teaser-left h2 {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--color-white);
}

.news-teaser-left p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--color-light-gray);
}

.news-cta-button {
  display: inline-block;
  background-color: var(--color-pink);
  color: var(--color-white);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid var(--color-pink);
}

.news-cta-button:hover {
  background-color: transparent;
  color: var(--color-pink);
  transform: translateY(-2px);
}

.news-teaser-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-badge-small {
  text-align: center;
  background-color: var(--color-yellow);
  color: var(--color-dark);
  padding: 40px;
  border-radius: 20px;
  transform: rotate(-5deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.news-badge-small h3 {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--color-teal);
}

.news-badge-small p {
  font-size: 16px;
  margin: 0;
  font-style: italic;
}

footer {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 60px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 36px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact,
.address,
.social {
  margin-bottom: 20px;
}

.contact p,
.address p,
.social p {
  margin-bottom: 5px;
}

.iphone-island {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: slideDownFadeIn 1.5s ease-out forwards;
}

.iphone-island .nav-link.highlight {
  color: var(--color-yellow);
  font-weight: bold;
  border-bottom: 2px solid var(--color-yellow);
}

@keyframes slideDownFadeIn {
  0% {
    top: -100px;
    opacity: 0;
  }

  50% {
    top: 10px;
    opacity: 0.5;
  }

  100% {
    top: 20px;
    opacity: 1;
  }
}

.iphone-island .nav-link {
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.iphone-island .nav-link:hover {
  color: var(--color-yellow);
}

.news {
  background-color: var(--color-light-gray);
  padding: 80px 20px;
  text-align: center;
}

.news h1 {
  font-size: 48px;
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin-bottom: 40px;
}

.news p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-dark-gray);
  max-width: 800px;
  margin: 0 auto 20px;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  background-color: var(--news-bg, var(--color-white));
  color: var(--news-text, var(--color-dark));
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.news-item.featured {
  background-color: var(--news-bg, var(--color-teal));
  color: var(--news-text, var(--color-white));
}

.news-item:nth-child(2) {
  background-color: var(--news-bg, var(--color-light-gray));
}

.news-item:nth-child(3) {
  background-color: var(--news-bg, var(--color-mint));
}

.news-item:nth-child(4) {
  background-color: var(--news-bg, var(--color-yellow));
}

.news-summary {
  list-style: none;
  cursor: pointer;
  outline: none;
}

.news-summary::-webkit-details-marker {
  display: none;
}

.news-content {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.news-title-section {
  flex: 1;
  min-width: 300px;
}

.news-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.news-date {
  font-size: 14px;
  color: var(--color-yellow);
  font-weight: 600;
  text-transform: uppercase;
}

.news-item.featured .news-date {
  color: var(--color-yellow);
}

.news-item:nth-child(2) .news-date {
  color: var(--color-teal);
}

.news-item:nth-child(3) .news-date {
  color: var(--color-dark);
}

.news-item:nth-child(4) .news-date {
  color: var(--color-pink);
}

.news-item h3 {
  font-size: 32px;
  margin: 0;
  line-height: 1.2;
}

.news-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.news-summary p {
  font-size: 18px;
  line-height: 1.6;
  margin: 20px 0 0;
}

.news-full {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  animation: slideDown 0.4s ease-out;
}

.news-item:nth-child(2) .news-full {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.news-item:nth-child(3) .news-full {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.news-item:nth-child(4) .news-full {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.news-full p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.news-full ul {
  margin: 20px 0;
  padding-left: 20px;
}

.news-full li {
  margin-bottom: 10px;
  line-height: 1.6;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

.quote {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-left: 4px solid var(--color-yellow);
  margin: 25px 0;
  font-style: italic;
  border-radius: 8px;
}

.news-item:nth-child(2) .quote {
  background-color: rgba(0, 0, 0, 0.05);
  border-left-color: var(--color-teal);
}

.news-item:nth-child(3) .quote {
  background-color: rgba(0, 0, 0, 0.05);
  border-left-color: var(--color-pink);
}

.news-item:nth-child(4) .quote {
  background-color: rgba(0, 0, 0, 0.05);
  border-left-color: var(--color-teal);
}

.quote-author {
  margin-top: 15px;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
}

.tag {
  background-color: var(--news-tag-bg, rgba(0, 0, 0, 0.1));
  color: var(--news-tag-text, inherit);
  padding: 6px 14px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.news-item.featured .tag {
  background-color: var(--news-tag-bg, var(--color-pink));
  color: var(--news-tag-text, var(--color-white));
}

.news-item:nth-child(2) .tag {
  background-color: var(--news-tag-bg, var(--color-teal));
  color: var(--news-tag-text, var(--color-white));
}

.news-item:nth-child(3) .tag {
  background-color: var(--news-tag-bg, var(--color-pink));
  color: var(--news-tag-text, var(--color-white));
}

.news-item:nth-child(4) .tag {
  background-color: var(--news-tag-bg, var(--color-teal));
  color: var(--news-tag-text, var(--color-white));
}

.read-more-indicator {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.read-more-indicator span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--news-accent, rgba(255, 255, 255, 0.2));
  color: var(--news-text, inherit);
  border: 2px solid var(--news-accent, currentColor);
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.news-item.featured .read-more-indicator span {
  background-color: var(--news-accent, var(--color-pink));
  color: var(--news-tag-text, var(--color-white));
  border-color: var(--news-accent, var(--color-pink));
}

.news-item:nth-child(2) .read-more-indicator span {
  background-color: var(--news-accent, var(--color-teal));
  color: var(--news-tag-text, var(--color-white));
  border-color: var(--news-accent, var(--color-teal));
}

.news-item:nth-child(3) .read-more-indicator span {
  background-color: var(--news-accent, var(--color-pink));
  color: var(--news-tag-text, var(--color-white));
  border-color: var(--news-accent, var(--color-pink));
}

.news-item:nth-child(4) .read-more-indicator span {
  background-color: var(--news-accent, var(--color-teal));
  color: var(--news-tag-text, var(--color-white));
  border-color: var(--news-accent, var(--color-teal));
}

.news-summary:hover .read-more-indicator span {
  transform: translateX(5px);
}

.news-hero {
  display: flex;
  min-height: 64vh;
  flex-wrap: wrap-reverse;
}

.news-hero-left {
  flex: 1;
  background-color: var(--color-pink);
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 128px;
  min-width: 720px;
  justify-content: center;
}

.news-hero-text {
  max-width: 500px;
}

.news-hero-text h1 {
  font-size: 46px;
  margin-bottom: 20px;
}

.news-hero-text p {
  font-size: 24px;
}

.news-hero-right {
  flex: 2;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 720px;
  padding: 64px;
}

.news-badge {
  text-align: center;
  color: var(--color-dark);
}

.news-badge h2 {
  font-size: 120px;
  margin-bottom: 10px;
  color: var(--color-teal);
}

.news-badge p {
  font-size: 18px;
  transform: rotate(-5deg);
  margin-top: -20px;
}

.featured-news {
  background-color: var(--color-mint);
  padding: 72px 0;
  text-align: center;
}

.featured-news h2 {
  font-size: 60px;
}

.newsletter {
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.newsletter-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--color-yellow);
}

.newsletter-content p {
  font-size: 18px;
  margin-bottom: 40px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 25px;
  font-family: var(--font-body);
  font-size: 16px;
}

.newsletter-form button {
  padding: 15px 30px;
  background-color: var(--color-pink);
  color: var(--color-white);
  border: none;
  border-radius: 25px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--color-teal);
}

.careers-hero {
  display: flex;
  min-height: 64vh;
  flex-wrap: wrap-reverse;
}

.careers-hero-left {
  flex: 1;
  background-color: var(--color-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 128px;
  min-width: 720px;
  justify-content: center;
}

.careers-hero-text {
  max-width: 500px;
}

.careers-hero-text h1 {
  font-size: 46px;
  margin-bottom: 20px;
}

.careers-hero-text p {
  font-size: 24px;
}

.careers-hero-text .hero-subtext {
  font-size: 18px;
  margin-top: 20px;
  opacity: 0.9;
  font-style: italic;
}

.careers-hero-right {
  flex: 2;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 720px;
  padding: 64px;
}

.careers-badge {
  text-align: center;
  color: var(--color-dark);
}

.careers-badge h2 {
  font-size: 100px;
  margin-bottom: 20px;
  color: var(--color-pink);
  line-height: 0.9;
}

.arrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.arrow-container p {
  font-size: 18px;
  transform: rotate(-8deg);
  margin: 0;
}

.arrow {
  font-size: 24px;
  color: var(--color-teal);
}

.why-join {
  background-color: var(--color-mint);
  padding: 72px 0;
  text-align: center;
}

.why-join h2 {
  font-size: 60px;
}

.why-join-content {
  margin-top: 40px;
}

.main-value-prop {
  text-align: center;
  margin-bottom: 60px;
}

.lead-text {
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-dark);
  max-width: 800px;
  margin: 0 auto;
}

.value-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.pillar {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-teal);
}

.pillar p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark-gray);
}

.our-purpose {
  background-color: var(--color-mint);
  padding: 80px 0;
}

.purpose-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 40px;
}

.purpose-main {
  text-align: center;
}

.purpose-tagline {
  font-size: 28px;
  color: var(--color-teal);
  margin-bottom: 30px;
  line-height: 1.4;
}

.purpose-main p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-dark);
}

.purpose-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.purpose-values .value-item {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--color-yellow);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.purpose-values .value-item:hover {
  transform: translateY(-3px);
}

.purpose-values .value-item h4 {
  font-size: 18px;
  color: var(--color-teal);
  margin-bottom: 15px;
  font-family: var(--font-body);
  font-weight: 700;
}

.purpose-values .value-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark-gray);
}

.benefits {
  display: flex;
  min-height: 64vh;
}

.benefits-left {
  flex: 1;
  background-color: var(--color-yellow);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-content {
  max-width: 600px;
  display: flex;
  gap: 30px;
  flex-direction: column;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.benefit-item .star {
  font-size: 24px;
  color: var(--color-pink);
  margin-top: 5px;
  flex-shrink: 0;
}

.benefit-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-teal);
}

.benefit-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
}

.benefits-right {
  flex: 1;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perks-list {
  max-width: 500px;
}

.perks-list h3 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--color-yellow);
}

.perks-list ul {
  list-style: none;
  padding: 0;
}

.perks-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  line-height: 1.5;
}

.perks-list li:before {
  content: "✓ ";
  color: var(--color-yellow);
  font-weight: bold;
  margin-right: 10px;
}

.career-growth {
  background-color: var(--color-white);
  padding: 80px 0;
}

.growth-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 60px;
  margin: 40px 0 60px 0;
}

.growth-track {
  background-color: var(--color-light-gray);
  padding: 40px;
  border-radius: 20px;
  position: relative;
}

.growth-track h3 {
  font-size: 24px;
  color: var(--color-teal);
  margin-bottom: 30px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
}

.track-levels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.level {
  background-color: var(--color-white);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--color-yellow);
  transition: all 0.3s ease;
  position: relative;
}

.level:hover {
  border-left-color: var(--color-teal);
  transform: translateX(5px);
}

.level-title {
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 8px;
  font-size: 16px;
}

.level p {
  font-size: 14px;
  color: var(--color-dark-gray);
  line-height: 1.5;
}

.growth-support h3 {
  font-size: 28px;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 40px;
}

.support-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.support-item {
  background-color: var(--color-mint);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.support-item:hover {
  transform: translateY(-5px);
}

.support-item h4 {
  font-size: 18px;
  color: var(--color-teal);
  margin-bottom: 15px;
  font-family: var(--font-body);
  font-weight: 700;
}

.support-item p {
  font-size: 14px;
  color: var(--color-dark-gray);
  line-height: 1.6;
}

.open-positions {
  background-color: var(--color-light-gray);
  padding: 80px 0 40px 0;
  text-align: center;
}

.open-positions h2 {
  font-size: 42px;
  color: var(--color-dark);
  margin-bottom: 30px;
}

.positions-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-dark-gray);
  max-width: 800px;
  margin: 0 auto;
}

.jobs-grid {
  background-color: var(--color-light-gray);
  padding: 40px 0 80px 0;
}

.jobs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.job-item {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid var(--color-yellow);
}

.job-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.job-item.system {
  border-left-color: var(--color-mint);
}

.job-item.ai {
  border-left-color: var(--color-dark-gray);
}

.job-item.cloud {
  border-left-color: var(--color-pink);
}

.job-item.cyber {
  border-left-color: var(--color-yellow);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.job-header h3 {
  font-size: 24px;
  color: var(--color-teal);
  margin: 0;
  flex: 1;
}

.job-type {
  background-color: var(--color-mint);
  color: var(--color-dark);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.job-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark-gray);
  margin-bottom: 25px;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.skill {
  background-color: var(--color-light-gray);
  color: var(--color-dark);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.apply-btn {
  width: 100%;
  background-color: var(--color-teal);
  color: var(--color-white);
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background-color: var(--color-pink);
  transform: translateY(-2px);
}

.application-process {
  background-color: var(--color-white);
  padding: 80px 0;
}

.application-process h2 {
  font-size: 42px;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 60px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--color-light-gray);
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-teal);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  color: var(--color-teal);
  margin-bottom: 15px;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark-gray);
}

.careers-contact {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.contact-content h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.contact-content p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-btn.primary {
  background-color: var(--color-pink);
  color: var(--color-white);
  border: 2px solid var(--color-pink);
}

.contact-btn.primary:hover {
  background-color: transparent;
  color: var(--color-pink);
}

.contact-btn.secondary {
  background-color: transparent;
  color: var(--color-yellow);
  border: 2px solid var(--color-yellow);
}

.contact-btn.secondary:hover {
  background-color: var(--color-yellow);
  color: var(--color-dark);
}

@media (max-width: 768px) {

  .knowledge,
  .culture,
  .benefits,
  .news-hero,
  .careers-hero {
    flex-direction: column;
  }

  .hero-left,
  .hero-right,
  .knowledge-left,
  .knowledge-right,
  .culture-left,
  .culture-right,
  .benefits-left,
  .benefits-right,
  .news-hero-left,
  .news-hero-right,
  .careers-hero-left,
  .careers-hero-right {
    min-width: 100%;
    padding: 40px 20px;
  }

  .hero-left,
  .hero-right {
    min-width: 100%;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-left,
  .hero-right,
  .knowledge-left,
  .knowledge-right,
  .culture-left,
  .culture-right {
    width: 100%;
    min-height: 32vh;
  }

  .hero-text h1,
  .knowledge-text h2,
  .news-hero-text h1,
  .careers-hero-text h1 {
    font-size: 28px;
  }

  .work-with-us h2 {
    font-size: 50px;
  }

  .news-badge h2,
  .careers-badge h2 {
    font-size: 60px;
  }

  .iphone-island {
    width: 100%;
    padding: 8px 16px;
    gap: 10px;
    border-radius: 0;
  }

  .iphone-island .nav-link {
    font-size: 12px;
  }

  .news-content {
    padding: 40px 20px;
  }

  .news-header {
    flex-direction: column;
    gap: 15px;
  }

  .news-item h3 {
    font-size: 24px;
  }

  .news-summary p {
    font-size: 16px;
  }

  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .jobs-container {
    grid-template-columns: 1fr;
  }

  .services-row,
  .values-row {
    flex-direction: column;
  }

  .service-item,
  .value-item {
    min-width: 100%;
  }

  .purpose-meaning {
    padding: 60px 0;
  }

  .purpose-meaning h2 {
    font-size: 32px;
  }

  .purpose-meaning p {
    font-size: 18px;
    padding: 0 20px;
  }

  .get-in-touch {
    padding: 60px 0;
  }

  .get-in-touch h2 {
    font-size: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-section {
    padding: 20px;
  }

  .contact-section h3 {
    font-size: 20px;
  }

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

  .news-teaser-left {
    max-width: 100%;
  }

  .news-teaser-left h2 {
    font-size: 36px;
  }

  .news-teaser-left p {
    font-size: 18px;
  }

  .lead-text {
    font-size: 20px;
  }

  .purpose-tagline {
    font-size: 22px;
  }

  .purpose-main p {
    font-size: 16px;
  }

  .value-pillars {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .purpose-values {
    grid-template-columns: 1fr;
  }

  .growth-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-items {
    grid-template-columns: 1fr;
  }

  .growth-track {
    padding: 25px;
  }
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-info {
    flex-wrap: nowrap;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {

  .our-purpose,
  .career-growth {
    padding: 50px 0;
  }

  .pillar {
    padding: 20px 15px;
  }

  .purpose-values .value-item,
  .support-item {
    padding: 20px;
  }
}

.creative-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.nav-trigger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-teal), var(--color-pink));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 10001;
}

.nav-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.nav-trigger.active {
  background: linear-gradient(135deg, var(--color-pink), var(--color-yellow));
  transform: scale(0.9) rotate(45deg);
}

.trigger-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 2px;
}

.icon-line {
  width: 20px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav-trigger.active .icon-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-trigger.active .icon-line:nth-child(2) {
  opacity: 0;
}

.nav-trigger.active .icon-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.trigger-text {
  font-size: 8px;
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg,
      rgba(255, 92, 214, 0.95) 0%,
      rgba(45, 107, 99, 0.95) 30%,
      rgba(45, 107, 99, 0.95) 70%,
      rgba(245, 255, 64, 0.95) 100%);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-white);
  font-size: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  width: 90%;
  margin-bottom: 40px;
  padding: 20px;
}

.nav-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--color-white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(50px);
  opacity: 0;
  animation: slideInUp 0.6s ease-out forwards;
}

.nav-item:nth-child(1) {
  animation-delay: 0.1s;
}

.nav-item:nth-child(2) {
  animation-delay: 0.15s;
}

.nav-item:nth-child(3) {
  animation-delay: 0.2s;
}

.nav-item:nth-child(4) {
  animation-delay: 0.25s;
}

.nav-item:nth-child(5) {
  animation-delay: 0.3s;
}

.nav-item:nth-child(6) {
  animation-delay: 0.35s;
}

.nav-item:nth-child(7) {
  animation-delay: 0.4s;
}

.nav-item:nth-child(8) {
  animation-delay: 0.45s;
}

.nav-item:nth-child(9) {
  animation-delay: 0.5s;
}

.nav-item:nth-child(10) {
  animation-delay: 0.55s;
}

.nav-item:nth-child(11) {
  animation-delay: 0.6s;
}

.nav-item:nth-child(12) {
  animation-delay: 0.65s;
}

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

.nav-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nav-icon {
  font-size: 40px;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.nav-icon-svg {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}

.nav-item:hover .nav-icon-svg {
  filter: brightness(0) invert(0) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transform: scale(1.1);
}

.nav-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.nav-description {
  font-size: 12px;
  opacity: 0.8;
  font-style: italic;
}

.nav-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-yellow);
  color: var(--color-dark);
  border-color: var(--color-yellow);
}

.nav-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.mini-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mini-nav.visible {
  opacity: 1;
}

.mini-nav-item {
  width: 50px;
  height: 50px;
  background: rgba(45, 107, 99, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid var(--color-white);
}

.mini-nav-item:hover,
.mini-nav-item.active {
  background: var(--color-pink);
  transform: scale(1.1);
  border-color: var(--color-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mini-nav-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.mini-nav-item:hover .mini-nav-icon,
.mini-nav-item.active .mini-nav-icon {
  filter: brightness(0) invert(0);
}

@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-item {
    padding: 15px 10px;
    border-radius: 15px;
  }

  .nav-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .nav-label {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .nav-description {
    font-size: 10px;
    display: none;
  }

  .mini-nav {
    display: flex;
    left: 10px;
    gap: 10px;
  }

  .mini-nav-item {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nav-trigger {
    width: 60px;
    height: 60px;
    top: 15px;
    right: 15px;
  }

  .trigger-text {
    font-size: 7px;
  }

  .icon-line {
    width: 16px;
  }

  .nav-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .nav-filters {
    margin-bottom: 20px;
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 11px;
  }

  .nav-overlay {
    overflow-y: auto;
    padding: 80px 0 40px 0;
  }

  .decoration-circle {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .nav-item {
    padding: 10px 6px;
  }

  .nav-icon {
    font-size: 18px;
  }

  .nav-label {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.nav-trigger:focus,
.nav-item:focus,
.filter-btn:focus,
.mini-nav-item:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

.news-carousel {
  margin-bottom: 30px;
}

.carousel-container {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 500px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-btn {
  background-color: rgba(45, 107, 99, 0.8);
  color: var(--color-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--color-teal);
  transform: scale(1.1);
}

.carousel-btn:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
  background-color: var(--color-yellow);
  transform: scale(1.2);
}

.dot:focus {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .carousel-container {
    max-width: 100%;
  }

  .carousel-slides {
    height: 250px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .carousel-navigation {
    padding: 0 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .carousel-slides {
    height: 200px;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .news-carousel {
    margin-bottom: 20px;
  }
}

a {
  text-decoration: none;
}

/* Enhanced Contact Person Styles */
.contact-person {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-person:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.person-image {
  width: 100%;
  height: 300px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-pink), var(--color-yellow));
}

.person-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 92, 214, 0.1) 0%,
      rgba(245, 255, 64, 0.1) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.contact-person:hover .person-image::before {
  opacity: 0;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(1.1) contrast(1.1);
}

.contact-person:hover .person-image img {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.2);
}

.person-info {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.person-info h3 {
  margin-bottom: 8px;
  color: var(--color-yellow);
  font-size: 20px;
  font-weight: 700;
}

.person-info p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.person-info p:first-of-type {
  color: var(--color-white);
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 12px;
}

.person-info a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.person-info a:hover {
  color: var(--color-yellow);
  text-decoration: underline;
}

/* Enhanced contact section styling */
.contact-section {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0;
  border-radius: 10px;
  border-left: none;
  border-top: 4px solid var(--color-yellow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(15px);
}

.contact-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* For contact sections without images */
.contact-section:not(:has(.contact-person)) {
  padding: 30px;
  border-left: 4px solid var(--color-yellow);
  border-top: none;
}

.contact-section:not(:has(.contact-person)) h3 {
  font-size: 24px;
  color: var(--color-yellow);
  margin-bottom: 15px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .person-image {
    height: auto;
    aspect-ratio: 1/1;
  }

  .person-info {
    padding: 15px;
  }

  .person-info h3 {
    font-size: 18px;
  }

  .person-info p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .person-info {
    padding: 12px;
  }

  .person-info h3 {
    font-size: 16px;
  }
}

/* Board Members Section */
.board-members {
  background-color: var(--color-pink);
  color: var(--color-dark);
  padding: 80px 0;
}

.board-members h2 {
  font-size: 42px;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 30px;
}

.board-intro {
  text-align: center;
  margin-bottom: 60px;
}

.board-intro p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-light-gray);
  max-width: 800px;
  margin: 0 auto;
}

/* Image first - full width */
.board-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 60px auto;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.board-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(245, 255, 64, 0.1) 0%,
      rgba(255, 92, 214, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.board-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(1.1) contrast(1.1);
  transition: transform 0.3s ease;
}

.board-image:hover img {
  transform: scale(1.02);
}

/* Cards below image - responsive grid */
.board-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.board-member {
  background-color: var(--color-teal);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--color-yellow);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.board-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left-color: var(--color-pink);
}

.board-member:nth-child(2) {
  border-left-color: var(--color-pink);
}

.board-member:nth-child(2):hover {
  border-left-color: var(--color-yellow);
}

.board-member:nth-child(3) {
  border-left-color: var(--color-mint);
}

.board-member:nth-child(3):hover {
  border-left-color: var(--color-pink);
}

.member-header {
  margin-bottom: 15px;
}

.member-header h3 {
  font-size: 24px;
  color: var(--color-yellow);
  margin-bottom: 5px;
  font-family: var(--font-body);
  font-weight: 700;
}

.member-role {
  font-size: 16px;
  color: var(--color-pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-description p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-white);
  margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .board-members {
    padding: 60px 0;
  }

  .board-members h2 {
    font-size: 36px;
  }

  .board-intro {
    margin-bottom: 40px;
  }

  .board-intro p {
    font-size: 18px;
  }

  .board-image {
    margin-bottom: 40px;
    max-width: 100%;
  }

  .board-members-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .board-member {
    padding: 25px;
  }

  .member-header h3 {
    font-size: 22px;
  }

  .member-description p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .board-members {
    padding: 40px 0;
  }

  .board-members h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .board-intro {
    margin-bottom: 30px;
  }

  .board-intro p {
    font-size: 16px;
    padding: 0 10px;
  }

  .board-image {
    margin-bottom: 30px;
    border-radius: 10px;
  }

  .board-members-grid {
    gap: 20px;
  }

  .board-member {
    padding: 20px;
  }

  .member-header h3 {
    font-size: 20px;
  }

  .member-role {
    font-size: 14px;
  }

  .member-description p {
    font-size: 14px;
    line-height: 1.5;
  }
}