/* Static Hero Header styles */
.hero-header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 50px 50px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/about3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner { 
  max-width: 1100px; 
  width: 100%;
  margin-top: 170px; 
}

.hero-title { 
  font-size: clamp(2rem, 5vw, 4rem); 
  margin: 0 0 16px; 
  line-height: 1; 
  font-family: 'Futura', sans-serif;
}

.hero-subtitle { 
  font-size: clamp(1rem, 2vw, 1.25rem); 
  opacity: 0.9; 
  margin: 0 0 24px; 
}

.hero-cta { 
  display: flex; 
  gap: 16px; 
}
.btn-primary, .btn-secondary { 
  text-decoration: none; 
  padding: 12px 20px; 
  border-radius: 8px; 
  font-weight: 600; 
}

.btn-primary { 
  background: #6408a2; 
  color: #111; 
}

/* Ensure bright orange CTA is not dimmed by overlays */
.hero-cta { position: relative; z-index: 2; }
.hero-header .btn-primary {
  background-color: #6408a2 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  box-shadow: 0 8px 24px #6408a2
}


/* Custom Fonts */
@font-face {
  font-family: 'Gloock';
  src: url('fonts/Gloock-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Base */
html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url(assets/wallpaper01.png); /* your image file name or URL */
  background-size: cover;       /* make it cover the whole page */
  background-repeat: no-repeat; /* don’t repeat the image */
  background-attachment: fixed; /* make it stay still while scrolling */
  background-position: center;  /* center the image */
  color: lightskyblue;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  overflow-anchor: none;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Add padding for pages with hero sections (not index page) */
body:not(.index-page) {
  padding-top: 100px;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(assets/career.png);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
}

.tagline {
  font-size: 2.0rem;
  margin-top: 10px;
  font-weight: 400;
}

 @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 45px; /* tablet size */
      }
    }
    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 35px; /* mobile size */
      }
      .hero-content h2 {
        font-size: 16px;
      }
      .hero-content .tagline {
        font-size: 18px;
      }
    }

/* ===== Navigation Bar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: hsl(210 75% 40%);
  padding: 10px 20px;
  position: fixed;  /* Changed from sticky to fixed */
  top: 0;
  left: 0;         /* Added */
  right: 0;        /* Added */
  width: 100%;     /* Added */
  z-index: 1100;
  --navbar-height: 72px;
  min-height: var(--navbar-height);
  flex-wrap: wrap;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Added */
}

.navbar .logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0; /* prevent shrinking */
}

/* ===== Nav Links ===== */
.navbar .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* wrap items to next line if needed */
}

.navbar .nav-links li {
  display: flex;
  align-items: center;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap; /* prevent wrapping text */
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #c8e6c9;
}

/* ===== Search Form ===== */
.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  padding: 6px 10px;
  border-radius: 20px 0 0 20px;
  border: none;
  outline: none;
  font-size: 0.9rem;
}

.search-bar button {
  padding: 6px 10px;
  border-radius: 0 20px 20px 0;
  border: none;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0; /* prevent shrinking on mobile */
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hamburger {
    display: block; /* show hamburger on mobile */
  }

  .nav-links {
    display: none; /* hidden by default */
    flex-direction: column;
    background: #0d47a1;
    position: fixed; /* detach from navbar so it sits underneath */
    top: var(--navbar-height, 72px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    z-index: 900; /* keep below navbar (which is 1100) */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    justify-content: center;
    padding: 8px 20px;
  }

  .nav-links li a {
    text-align: center;
  }

  .search-bar {
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
  }

  .search-bar input {
    width: 70%;
  }

  .search-bar button {
    width: 25%;
  }
}

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      overflow-x: hidden;
      max-width: 100vw;
      overscroll-behavior-x: none;
      /* Prevent any horizontal scroll */
      width: 100%;
    }

    body {
      font-family: 'Poppins', sans-serif;
      /* allow vertical scrolling on all pages; hide horizontal overflow */
      overflow-x: hidden;
      overflow-y: auto;
      min-height: 100vh;
      max-width: 100vw;
      position: relative;
    }

    /* Loading Spinner */
    .spinner {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #1a1a2e;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.5s, visibility 0.5s;
    }

    .spinner.hidden {
      opacity: 0;
      visibility: hidden;
    }

    .spinner-content {
      text-align: center;
      color: #fff;
    }

    .cube-container {
      display: inline-block;
      position: relative;
      width: 40px;
      height: 40px;
      margin-bottom: 20px;
    }

    .cube1, .cube2 {
      background-color: #4CAF50;
      width: 15px;
      height: 15px;
      position: absolute;
      top: 0;
      left: 0;
      animation: sk-cubemove 1.8s infinite ease-in-out;
    }

    .cube2 {
      animation-delay: -0.9s;
    }

    @keyframes sk-cubemove {
      25% { transform: translateX(25px) rotate(-90deg) scale(0.5); }
      50% { transform: translateX(25px) translateY(25px) rotate(-180deg); }
      75% { transform: translateX(0px) translateY(25px) rotate(-270deg) scale(0.5); }
      100% { transform: rotate(-360deg); }
    }

    /* Flex Container */
    .flex-container {
      display: flex;
      height: 100vh;
      width: 100%;
    }

    .flex-slide {
      flex: 1;
      position: relative;
      overflow: hidden;
      transition: flex 0.5s ease;
      cursor: pointer;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .flex-slide::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      transition: background 0.3s ease;
    }

    .flex-slide:hover {
      flex: 3;
    }

    .flex-slide:hover::before {
      background: rgba(0, 0, 0, 0.3);
    }

    /* Individual Panel Backgrounds */
    .home {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .about {
      background: url('assets/about3.jpg') center/cover no-repeat;
      position: relative;
    }

    .about::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
    }

    .education {
      background: url('assets/educationn.png') center/cover no-repeat;
      position: relative;
    }

    .education::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
    }

    .career {
      background: url('assets/career.png') center/cover no-repeat;
      position: relative;
    }

    .career::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
    }

    .research {
      background: url('assets/portfolio.png') center/cover no-repeat;
      position: relative;
    }

    .research::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
    }

    /* Content */
    .flex-content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: white;
      width: 100%;
      height: 100%;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .icon-large {
      font-size: 4rem;
      margin-bottom: 10px;
      opacity: 0.9;
    }

    .flex-title {
      font-size: 2.5rem;
      font-weight: 700;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      transition: all 0.5s ease;
      letter-spacing: 3px;
      text-transform: uppercase;
    }

    .flex-slide:hover .flex-title {
      writing-mode: horizontal-tb;
      transform: rotate(0deg);
      font-size: 3rem;
      margin-bottom: 20px;
    }

    .flex-about {
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.5s ease;
      max-width: 600px;
      margin: 0 auto;
    }

    .flex-slide:hover .flex-about {
      opacity: 1;
      transform: translateY(0);
    }

    .flex-about p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .flex-about ul {
      list-style: none;
      text-align: left;
      display: inline-block;
    }

    .flex-about ul li {
      padding: 8px 0;
      font-size: 1rem;
    }

    .flex-about ul li::before {
      content: "✓ ";
      color: #4CAF50;
      font-weight: bold;
      margin-right: 10px;
    }

    .icon-large {
      font-size: 4rem;
      margin-bottom: 10px;
      opacity: 0.9;
    }

    .cta-button {
      display: inline-block;
      padding: 12px 30px;
      background: rgba(255, 255, 255, 0.2);
      border: 2px solid white;
      color: white;
      text-decoration: none;
      border-radius: 50px;
      margin-top: 15px;
      transition: all 0.3s ease;
      font-weight: 600;
    }

    .cta-button:hover {
      background: white;
      color: #333;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    /* Glass Card Effect for About Page Content */
    .glass-content-card {
      background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0.01) 50%,
        rgba(255, 255, 255, 0.07) 100%);
      backdrop-filter: blur(2px) saturate(180%) brightness(1.05);
      -webkit-backdrop-filter: blur(15px) saturate(180%) brightness(1.05);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 32px;
      padding: 30px;
      box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        0 4px 12px 0 rgba(0, 0, 0, 0.05),
        inset 0 1px 2px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.03);
      transition: all 0.4s ease;
    }

    .glass-content-card:hover {
      box-shadow: 
        0 12px 48px 0 rgba(31, 38, 135, 0.35),
        0 6px 16px 0 rgba(0, 0, 0, 0.15),
        inset 0 4px 8px 0 rgba(255, 255, 255, 1),
        inset 0 -4px 8px 0 rgba(0, 0, 0, 0.1);
      transform: translateY(-5px);
    }

    /* Branding */
    .branding {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      background: white;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      transition: transform 0.3s ease;
    }

    .branding:hover {
      transform: scale(1.1);
    }

    .branding img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .flex-container {
        flex-direction: column;
      }

      .flex-slide {
        flex: 1;
        min-height: 120px;
      }

      .flex-slide:hover {
        flex: 4;
      }

      .flex-content {
        justify-content: center;
        padding: 15px;
        position: relative; /* allow absolute children when collapsed */
      }

      .icon-large {
        font-size: 1.8rem;
        margin-bottom: 8px;
        position: relative;
      }

      .flex-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin: 0;
        /* Ensure the title is centered on mobile when panels are collapsed */
        width: 100%;
        display: block;
        text-align: center;
        align-self: center;
      }

      .flex-slide:hover .icon-large {
        font-size: 2.5rem;
        margin-bottom: 10px;
        position: static; /* restore normal flow when expanded */
        transform: none;
      }

      .flex-slide:hover .flex-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        /* When expanded (hover) revert to normal flow so the title moves with content */
        position: static;
        transform: none;
      }

      /* Center title absolutely when the panel is NOT expanded (collapsed state)
         Increase vertical gap between icon and title by moving icon up and title down */
      .flex-slide:not(:hover) .flex-title {
        position: absolute;
        left: 50%;
        top: 65%;
        /* only translate horizontally so we can control vertical gap via top */
        transform: translateX(-50%);
        width: auto;
        text-align: center;
        margin: 0;
        pointer-events: none; /* avoid accidental taps affecting layout */
      }
      /* Also center the icon in collapsed state so icon and title align */
      .flex-slide:not(:hover) .icon-large {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 35%;
        pointer-events: none;
      }

      .flex-about {
        padding: 0 15px;
        margin-top: 10px;
      }

      .flex-about p {
        font-size: 0.85rem;
        margin-bottom: 15px;
      }

      .flex-about ul {
        font-size: 0.85rem;
        padding-left: 0;
      }

      .flex-about ul li {
        padding: 5px 0;
      }

      .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
        margin-top: 10px;
      }

      .branding {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
      }

      .branding img {
        width: 35px;
        height: 35px;
      }
    }

    @media (max-width: 480px) {
      .flex-slide {
        min-height: 100px;
      }

      .icon-large {
        font-size: 1.5rem;
        margin-bottom: 6px;
      }

      .flex-title {
        font-size: 1.2rem;
      }

      .flex-slide:hover .icon-large {
        font-size: 2rem;
      }

      .flex-slide:hover .flex-title {
        font-size: 1.6rem;
      }

      .flex-about p {
        font-size: 0.8rem;
      }

      .cta-button {
        padding: 8px 20px;
        font-size: 0.85rem;
      }
    }


/* ===== About Section ===== */
/* ===== About Section with Background Image ===== */
.about-section {
  position: relative;
  padding: 80px 40px;
  background: url('') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: justify;
}

/* CEO Images for Profil Pengarah Section */
.profil-pengarah-section {
  position: relative;
  min-height: 400px;
}

.ceo-images-container {
  position: relative;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.ceo-image {
  position: absolute;
  width: 200px;
  height: 400px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.ceo-image-left {
  left: 5%;
  top: -20px;
  transform: translateX(-100px);
}

.ceo-image-right {
  right: 5%;
  top: -20px;
  transform: translateX(100px);
}

@media (max-width: 1024px) {
  .ceo-image {
    width: 150px;
  }
}

@media (max-width: 768px) {
  .profil-pengarah-section {
    padding-bottom: 180px;
  }
  
  .ceo-images-container {
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    pointer-events: auto;
  }
  
  .ceo-image {
    position: relative;
    width: 140px;
    height: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }
  
  .ceo-image-left,
  .ceo-image-right {
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }
}

@media (max-width: 480px) {
  .profil-pengarah-section {
    padding-bottom: 150px;
  }
  
  .ceo-images-container {
    gap: 15px;
    margin-top: 25px;
  }
  
  .ceo-image {
    width: 110px;
  }
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* ensure spacing from edges */
}

/* ===== Vision & Mission Grid ===== */
.vision-mission-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  padding: 0 10px; /* small padding inside grid */
}

/* Add extra spacing between the About section and Vision/Mission on all sizes */
.vision-mission {
  margin-top: 40px; /* increases space between 'Who We Are' and the cards */
  position: relative;
  padding-bottom: 40px;
}

.vision-mission .container {
  position: relative;
  z-index: 1;
}

.vision-card, .mission-card {
  flex: 1;
  min-width: 280px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.03) 0%, 
    rgba(255, 255, 255, 0.01) 50%,
    rgba(255, 255, 255, 0.07) 100%);
  backdrop-filter: blur(2px) saturate(180%) brightness(1.05); 
  -webkit-backdrop-filter: blur(15px) saturate(180%) brightness(1.05);
  border-radius: 32px;
  padding: 35px 25px; /* more padding inside the cards */
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    0 4px 12px 0 rgba(0, 0, 0, 0.05),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  margin: 10px; /* spacing around cards */
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.vision-card {
  display: flex;
  flex-direction: column;
}

.vision-card:hover, .mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 48px 0 rgba(31, 38, 135, 0.35),
    0 6px 16px 0 rgba(0, 0, 0, 0.15),
    inset 0 4px 8px 0 rgba(255, 255, 255, 1),
    inset 0 -4px 8px 0 rgba(0, 0, 0, 0.1);
}

.vision-card h3, .mission-card h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-align: center;
}

.vision-card p {
  color: white;
  text-align: justify;
  margin: auto;
  max-width: 90%;
  flex: 1;
  display: flex;
  align-items: center;
}

.mission-card ul {
  list-style: disc inside;
  padding-left: 0;
  color: white;
}

.mission-card li {
  margin-bottom: 10px;
  color: white;
  text-align: justify;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .vision-mission-grid {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px; /* ensure mobile padding */
  }
}

/* ===== Team ===== */
.team-section .team-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-member {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.team-member img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.team-member h4 {
  color: white;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 0.9rem;
  color: white;
}

.team-member:hover {
  transform: translateY(-5px);
}

.vision-mission .grid-2 {
    flex-direction: column;
    gap: 20px;
  }

  .header-overlay h1 {
    font-size: 2rem;
  }

  .header-overlay p {
    font-size: 1rem;
  }
  
@layer reset, theme, footer-components;

        @layer reset {
            *,
            *::after,
            *::before {
                box-sizing: border-box;
            }

            body {
                margin: 0;
                font-family: system-ui, -apple-system, sans-serif;
                min-height: 100vh;
                background: #f5f5f5;
                display: flex;
                flex-direction: column;
            }
        }

        @layer theme {
            :root {
                --wave-color-1: hsl(270 60% 40%);
                --wave-color-2: hsl(280 55% 50%);
                --wave-color-3: hsl(290 50% 60%);
                --wave-color-4: hsl(270 65% 45%);
                --wave-color-5: hsl(280 60% 35%);
                --wave-color-6: hsl(270 70% 30%);
                --footer-bg: hsl(270 60% 25% / 0.85);
                --footer-text: hsl(280 100% 90%);
                --footer-text-hover: hsl(280 100% 95%);
            }
        }

        @layer footer-components {
            /* Demo content to show footer at bottom */
            .demo-content {
                padding: 2rem;
                flex: 1;
            }

            .demo-content h1 {
                color: #333;
                margin-bottom: 1rem;
            }

            .demo-content p {
                color: #666;
                line-height: 1.6;
                max-width: 800px;
            }

            /* Footer styling */
            footer {
                position: relative;
                width: 100%;
                min-height: 300px; /* Changed from fixed height to min-height */
                height: auto; /* Allow footer to expand */
                overflow: hidden; /* Clip footer at its boundaries */
                background: black;
                /* Prevent footer waves from causing horizontal scroll */
                max-width: 100vw;
                /* z-index: -1 !important;
                isolation: isolate; */
            }

            .wave-container {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 150%;
                max-height: 500px;
                pointer-events: none;
                /* Ensure waves don't cause horizontal overflow */
                overflow: hidden;
                max-width: 100%;
            }

            /* Mobile overflow protection */
            @media (max-width: 768px) {
                html, body {
                    overflow-x: hidden !important;
                    max-width: 100vw !important;
                    width: 100% !important;
                }
                
                footer {
                    overflow: hidden !important;
                    max-width: 100vw !important;
                }
                
                .wave-container {
                    overflow: hidden !important;
                    max-width: 100% !important;
                }
                
                .wave {
                    max-width: 200% !important;
                    right: auto !important;
                }
            }

            .wave {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 200%;
                height: 100%;
                transform-origin: center bottom;
                will-change: transform, background;
            }

            .wave-1 {
                --ty: 0;
                opacity: 0.55;
                background: hsl(270 60% 40%);
                animation: waveMoveReverse 7s ease-in-out infinite;
                clip-path: shape(
                    from 0% 66.67%,
                    curve to 75% 66.67% with 25% 50% / 50% 83.33%,
                    curve to 150% 66.67% with 100% 50% / 125% 83.33%,
                    line to 150% 100%,
                    line to 0% 100%,
                    close
                );
            }

            .wave-2 {
                --ty: 2.5%;
                opacity: 0.5;
                background: hsl(280 55% 50%);
                animation: waveMove 9s ease-in-out infinite;
                width: 300%;
                clip-path: shape(
                    from 0% 75%,
                    curve to 50% 75% with 16.67% 58.33% / 33.33% 91.67%,
                    curve to 100% 75% with 66.67% 58.33% / 83.33% 91.67%,
                    curve to 150% 75% with 116.67% 58.33% / 133.33% 91.67%,
                    line to 150% 100%,
                    line to 0% 100%,
                    close
                );
            }

            .wave-3 {
                --ty: 5%;
                opacity: 0.45;
                background: hsl(290 50% 60%);
                animation: waveMoveReverse 9s ease-in-out infinite;
                clip-path: shape(
                    from 0% 83.33%,
                    curve to 75% 83.33% with 25% 66.67% / 50% 100%,
                    curve to 150% 83.33% with 100% 66.67% / 125% 100%,
                    line to 150% 100%,
                    line to 0% 100%,
                    close
                );
            }

            .wave-4 {
                --ty: 7.5%;
                opacity: 0.4;
                background: hsl(270 65% 45%);
                animation: waveMove 7s ease-in-out infinite;
                width: 300%;
                clip-path: shape(
                    from 0% 58.33%,
                    curve to 50% 58.33% with 16.67% 41.67% / 33.33% 75%,
                    curve to 100% 58.33% with 66.67% 41.67% / 83.33% 75%,
                    curve to 150% 58.33% with 116.67% 41.67% / 133.33% 75%,
                    line to 150% 100%,
                    line to 0% 100%,
                    close
                );
            }

            .interference {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 400%;
                height: 100%;
                opacity: 0.12;
                transform-origin: center bottom;
                will-change: transform, background;
            }

            .interference-1 {
                background: hsl(280 60% 35%);
                clip-path: shape(
                    from 0% 71%,
                    curve to 16.67% 70% with 5.56% 71% / 11.11% 69.5%,
                    curve to 33.33% 71% with 22.22% 69.5% / 27.78% 71%,
                    curve to 50% 70% with 38.89% 71% / 44.44% 69.5%,
                    curve to 66.67% 71% with 55.56% 69.5% / 61.11% 71%,
                    curve to 83.33% 70% with 72.22% 71% / 77.78% 69.5%,
                    curve to 100% 71% with 88.89% 69.5% / 94.44% 71%,
                    curve to 116.67% 70% with 105.56% 71% / 111.11% 69.5%,
                    curve to 133.33% 71% with 122.22% 69.5% / 127.78% 71%,
                    curve to 150% 70% with 138.89% 71% / 144.44% 69.5%,
                    curve to 166.67% 71% with 155.56% 69.5% / 161.11% 71%,
                    curve to 183.33% 70% with 172.22% 71% / 177.78% 69.5%,
                    curve to 200% 71% with 188.89% 69.5% / 194.44% 71%,
                    line to 200% 100%,
                    line to 0% 100%,
                    close
                );
                animation: interferenceMove1 10s ease-in-out infinite;
            }

            .interference-2 {
                background: hsl(270 70% 30%);
                opacity: 0.1;
                clip-path: shape(
                    from 0% 76%,
                    curve to 12.5% 77% with 4.17% 75.5% / 8.33% 77.5%,
                    curve to 25% 76% with 16.67% 77.5% / 20.83% 75.5%,
                    curve to 37.5% 77% with 29.17% 75.5% / 33.33% 77.5%,
                    curve to 50% 76% with 41.67% 77.5% / 45.83% 75.5%,
                    curve to 62.5% 77% with 54.17% 75.5% / 58.33% 77.5%,
                    curve to 75% 76% with 66.67% 77.5% / 70.83% 75.5%,
                    curve to 87.5% 77% with 79.17% 75.5% / 83.33% 77.5%,
                    curve to 100% 76% with 91.67% 77.5% / 95.83% 75.5%,
                    curve to 112.5% 77% with 104.17% 75.5% / 108.33% 77.5%,
                    curve to 125% 76% with 116.67% 77.5% / 120.83% 75.5%,
                    curve to 137.5% 77% with 129.17% 75.5% / 133.33% 77.5%,
                    curve to 150% 76% with 141.67% 77.5% / 145.83% 75.5%,
                    curve to 162.5% 77% with 154.17% 75.5% / 158.33% 77.5%,
                    curve to 175% 76% with 166.67% 77.5% / 170.83% 75.5%,
                    curve to 187.5% 77% with 179.17% 75.5% / 183.33% 77.5%,
                    curve to 200% 76% with 191.67% 77.5% / 195.83% 75.5%,
                    line to 200% 100%,
                    line to 0% 100%,
                    close
                );
                animation: interferenceMove2 15s ease-in-out infinite;
            }

            .interference-3 {
                background: hsl(270 60% 25% / 0.85);
                opacity: 0.08;
                clip-path: shape(
                    from 0% 81%,
                    curve to 10% 80.5% with 3.33% 81.25% / 6.67% 80.25%,
                    curve to 20% 81% with 13.33% 80.25% / 16.67% 81.25%,
                    curve to 30% 80.5% with 23.33% 81.25% / 26.67% 80.25%,
                    curve to 40% 81% with 33.33% 80.25% / 36.67% 81.25%,
                    curve to 50% 80.5% with 43.33% 81.25% / 46.67% 80.25%,
                    curve to 60% 81% with 53.33% 80.25% / 56.67% 81.25%,
                    curve to 70% 80.5% with 63.33% 81.25% / 66.67% 80.25%,
                    curve to 80% 81% with 73.33% 80.25% / 76.67% 81.25%,
                    curve to 90% 80.5% with 83.33% 81.25% / 86.67% 80.25%,
                    curve to 100% 81% with 93.33% 80.25% / 96.67% 81.25%,
                    curve to 110% 80.5% with 103.33% 81.25% / 106.67% 80.25%,
                    curve to 120% 81% with 113.33% 80.25% / 116.67% 81.25%,
                    curve to 130% 80.5% with 123.33% 81.25% / 126.67% 80.25%,
                    curve to 140% 81% with 133.33% 80.25% / 136.67% 81.25%,
                    curve to 150% 80.5% with 143.33% 81.25% / 146.67% 80.25%,
                    curve to 160% 81% with 153.33% 80.25% / 156.67% 81.25%,
                    curve to 170% 80.5% with 163.33% 81.25% / 166.67% 80.25%,
                    curve to 180% 81% with 173.33% 80.25% / 176.67% 81.25%,
                    curve to 190% 80.5% with 183.33% 81.25% / 186.67% 80.25%,
                    curve to 200% 81% with 193.33% 80.25% / 196.67% 81.25%,
                    line to 200% 100%,
                    line to 0% 100%,
                    close
                );
                animation: interferenceMove3 19s ease-in-out infinite;
            }

            .footer-content {
                position: relative;
                z-index: 10;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-end;
                height: 100%;
                padding: 2rem 1rem 1rem;
                gap: 0.2rem;
            }

            /* Social Media Icons */
            .footer-social {
                display: flex;
                gap: 1rem;
                margin-bottom: 0.2rem;
            }

            .footer-social a {
                color: white;
                font-size: 1.5rem;
                transition: color 0.3s ease, transform 0.3s ease;
                text-decoration: none;
            }

            .footer-social a:hover {
                color: white;
                transform: translateY(-3px);
                opacity: 0.8;
            }

            /* Footer Navigation Links */
            .footer-links {
                display: flex;
                gap: 1rem;
                flex-wrap: wrap;
                justify-content: center;
                margin: 0.2rem 0;
            }

            .footer-links a {
                color: white;
                text-decoration: none;
                font-size: 0.95rem;
                transition: color 0.3s ease, opacity 0.3s ease;
                font-weight: 400;
            }

            .footer-links a:hover {
                color: white;
                opacity: 0.7;
            }

            /* Copyright Text */
            .footer-copyright {
                color: white;
                font-size: 0.85rem;
                text-align: center;
                opacity: 0.9;
                margin-top: 0.2rem;
            }

            /* Responsive Footer */
            @media (max-width: 768px) {
                .footer-content {
                    padding: 1.5rem 1rem 1rem;
                }

                .footer-social {
                    gap: 1.2rem;
                }

                .footer-social a {
                    font-size: 1.3rem;
                }

                .footer-links {
                    gap: 1rem;
                    font-size: 0.85rem;
                }

                .footer-copyright {
                    font-size: 0.75rem;
                }
            }

            @keyframes waveMoveReverse {
                0% {
                    transform: translate3d(-50%, var(--ty), 0);
                }
                50% {
                    transform: translate3d(0, var(--ty), 0);
                }
                100% {
                    transform: translate3d(-50%, var(--ty), 0);
                }
            }

            @keyframes waveMove {
                0% {
                    transform: translate3d(0, var(--ty), 0);
                }
                50% {
                    transform: translate3d(-50%, var(--ty), 0);
                }
                100% {
                    transform: translate3d(0, var(--ty), 0);
                }
            }

            @keyframes interferenceMove1 {
                0% {
                    transform: translate3d(0, 0, 0);
                }
                100% {
                    transform: translate3d(-25%, 0, 0);
                }
            }

            @keyframes interferenceMove2 {
                0% {
                    transform: translate3d(-25%, 0, 0);
                }
                100% {
                    transform: translate3d(-50%, 0, 0);
                }
            }

            @keyframes interferenceMove3 {
                0% {
                    transform: translate3d(0, 0, 0);
                }
                100% {
                    transform: translate3d(-50%, 0, 0);
                }
            }

            @keyframes waveFill {
                0% {
                    background: var(--wave-color-1);
                }
                16.6% {
                    background: var(--wave-color-2);
                }
                33.3% {
                    background: var(--wave-color-3);
                }
                50% {
                    background: var(--wave-color-4);
                }
                66.6% {
                    background: var(--wave-color-5);
                }
                83.3% {
                    background: var(--wave-color-6);
                }
                100% {
                    background: var(--wave-color-1);
                }
            }

            @supports not (clip-path: shape(from 0% 0%, line to 100% 0%)) {
              .wave {
                    clip-path: polygon(
                        0 70%,
                        20% 60%,
                        40% 70%,
                        60% 60%,
                        80% 70%,
                        100% 60%,
                        100% 100%,
                        0 100%
                    );
                }
            }
          }
          
/* New Redesigned Footer */
.footer-content-new {
    position: relative;
    z-index: 10;
    padding: 1rem 1rem 0rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 0.7rem;
    padding-top: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo Section */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1rem;
}

.footer-logo-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

.footer-logo-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-company-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.footer-main-logo {
    width: 100px;
    height: 135px;
    filter: brightness(0) invert(1);
}

.footer-logo-right {
    display: flex;
    flex-direction: column;
}

.footer-titleline {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 4rem;
}

.footer-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: -1rem 0 0.5rem 0;
    line-height: 2rem;
}

.partner-logos {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
    
}

.partner-logo-placeholder {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-logo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer Columns */
.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    margin-top: 0;
    color: white;
}

.footer-links-column h4 {
    margin-top: 1.6rem;
}
.footer-programs-column h4 {  
    margin-top: 1.5rem;
}

.footer-programs-grid {
    display: flex;
    gap: 20px;
}

.footer-programs-grid .footer-list {
    flex: 1;
}
.footer-contact-wrapper h4 {
  margin-top: 1.8rem;
}

/* Nudge contact column down visually so content sits below the wave
   using transform (does not change layout height) */
.footer-contact-column {
  transform: translateY(18px);
  margin-top: 0.4rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;  
}

.footer-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.footer-list li {
    margin-bottom: 0.4rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-list a:hover {
    color: white;
    padding-left: 5px;
}

/* Contact Info */
.footer-contact-wrapper {
    display: flex;
    flex-direction: column;
    padding-top: 1.3rem;
    align-items: flex-start;
    text-align: left;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.footer-contact li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.6);
}

/* Social Media */
.footer-contact-column {
  position: relative;
}

.footer-social-new {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  justify-content: flex-start;
  position: static;
}

.footer-social-new a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social-new a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 0 0 0.3rem 0;
    margin-top: 1rem;
    margin-bottom: 0;
}

.footer-bottom p {
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content-new {
        padding: 2rem 1.5rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo-section {
        align-items: center;
        text-align: center;
    }
    
    .partner-logos {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-list a {
        justify-content: center;
    }
    
    .footer-contact-wrapper {
        align-items: center;
        text-align: center;
    }
    
    .footer-contact-row {
        align-items: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social-new {
        justify-content: center;
    }
}

  /* Mobile-specific adjustments so footer is fully visible on small screens */
  @media (max-width: 480px) {
    footer {
      height: auto !important;
      min-height: 300px !important;
      overflow: visible !important;
      padding-bottom: 1rem;
    }

    .wave-container {
      height: 140% !important; /* reduce wave extension so it doesn't cover content */
    }

    .footer-content-new {
      min-height: auto !important;
      padding: 1.25rem 1rem 1.5rem !important;
      justify-content: flex-start !important;
    }

    /* Stack footer columns vertically on narrow screens so nothing is clipped */
    .footer-grid {
      grid-template-columns: 1fr !important;
      gap: 1.5rem !important;
      padding-bottom: 0.5rem !important;
    }

    /* Disable transform/absolute positioning that hid content on small screens */
    .footer-contact-column {
      transform: none !important;
      position: static !important;
      padding-top: 0.6rem !important;
    }

    .footer-social-new {
      position: static !important;
      flex-direction: row !important;
      gap: 1rem !important;
      margin-left: 0 !important;
      justify-content: center !important;
      align-items: center !important;
      margin-top: 1rem !important;
    }

    .footer-logo-row {
      align-items: center !important;
      gap: 1rem !important;
      flex-direction: column !important;
    }

    .footer-logo-left, .footer-logo-right {
      align-items: center !important;
    }

    .footer-tagline {
      margin: 0.4rem 0 0.6rem 0 !important;
      text-align: center !important;
    }

    .footer-bottom {
      padding: 0.6rem 0 0 0 !important;
      margin-top: 0.4rem !important;
    }

    .footer-list-grid {
      grid-template-columns: 1fr !important;
      gap: 0.5rem !important;
    }

    .footer-contact-row {
      flex-direction: column !important;
      gap: 1rem !important;
      align-items: center !important;
      text-align: center !important;
    }

    /* Center contact info and social media on mobile */
    .footer-contact-column {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
    }

    .footer-contact {
      text-align: center !important;
      align-items: center !important;
    }

    .footer-contact li {
      text-align: center !important;
      justify-content: center !important;
      align-items: center !important;
    }

    .footer-social-new {
      position: static !important;
      flex-direction: row !important;
      gap: 1rem !important;
      margin-left: 0 !important;
      justify-content: center !important;
      align-items: center !important;
      margin-top: 1rem !important;
    }
  }
          
/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: hsl(210 75% 40%);
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1100;
  /* Consistent navbar height for dropdown offset */
  --navbar-height: 72px;
  min-height: var(--navbar-height);
}

.navbar .logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li {
  display: inline;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #c8e6c9;
}

/* Smaller Hero for subpages */
.small-hero {
  height: 250px;
  position: relative;
}

/* Back Button (Mobile Only) */
.back-button {
  display: none;
  position: fixed;
  top: 110px;
  left: 15px;
  z-index: 1000;
  background: rgba(167, 139, 250, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(167, 139, 250, 1);
  transform: scale(1.1);
}

.back-button:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .back-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Hero backgrounds for each page */
.hero-about {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/about3.jpg') center/cover no-repeat !important;
}

.hero-education {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/educationn.png') center/cover no-repeat !important;
}

.hero-career {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/career.png') center/cover no-repeat !important;
}

.hero-team {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/ourteam.png') center/cover no-repeat !important;
}

.hero-portfolio {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/portfolio.png') center/cover no-repeat !important;
}

/* Director Profile Section */
.director-section {
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    transparent 40%, 
    rgba(0,0,0,0.3) 60%, 
    rgba(0,0,0,0.7) 80%, 
    #000 100%);
}

.director-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 60px;
  align-items: center;
}

.director-image {
  width: 160%;
  height: auto; 
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  margin-left: -130px; /* Move image to the left */
}

.director-image img {
  width: 100%;
  height: auto;
  display: block;
}

.director-content {
    position: relative;
    z-index: 2;
    margin-top: calc(10vh - 20px); /* Responsive overlap based on viewport height - lowered for desktop */
    min-height: 40vh; /* Ensure content has minimum height */
  }

.glass-card-director {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(2px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(2px) saturate(180%) brightness(1.05);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(122, 78, 222, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.glass-card-director h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: left;
}

.glass-card-director h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #a78bfa;
  margin-bottom: 25px;
  text-align: left;
}

.glass-card-director h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.glass-card-director p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  text-align: justify;
}

.director-achievements ul {
  list-style: none;
  padding: 0;
}

.director-achievements ul li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  text-align: justify;
}

.director-achievements ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a78bfa;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .director-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .director-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .director-section {
    padding: 60px 20px;
  }

  .director-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .director-image {
    max-width: 100%;
    position: relative;
    z-index: 1;
  }

  .director-content {
    position: relative;
    z-index: 2;
    margin-top: -500px; /* Overlap the image */
  }

  .glass-card-director {
    padding: 30px 25px;
    backdrop-filter: blur(10px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(1.05);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.06) 100%
    );
  }

  .glass-card-director h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .glass-card-director h3 {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  }

  .glass-card-director p,
  .director-achievements ul li {
    font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  }
}

/* Extra small mobile devices */
@media (max-width: 481px) {
  .director-content {
    margin-top: calc(-33vh - 20px); /* Less overlap on very small screens naikkan liquid glass en arip */
  }
}

/* Larger mobile/small tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .director-content {
    margin-top: calc(-40vh - 20px); /* More overlap on larger mobile screens */
  }
}

/* ===== FASILITI PAGE ===== */
.fasiliti-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.fasiliti-section {
  margin-bottom: 60px;
  text-align: center;
}

.fasiliti-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2e7d32; /* deep green */
  margin-bottom: 10px;
}

.fasiliti-section p {
  font-size: 1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Education Choices Section */
.education-choices-section {
  padding: 7px 20px 80px;
  background: transparent;
  position: relative;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
  transition: opacity 0.3s ease;
}

.scroll-indicator-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-indicator-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(124, 58, 237, 0.3);
  backdrop-filter: blur(5px);
}

.scroll-indicator-arrow::after {
  content: '↓';
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator:hover .scroll-indicator-arrow {
  background: rgba(124, 58, 237, 0.6);
  transform: translateY(5px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 20px;
  }
  
  .scroll-indicator-text {
    font-size: 12px;
  }
}

/* Update carousel container */
.education-carousel-container {
  position: relative;
  padding-bottom: 80px;
}

/* Who We Are Page Styles */
.whoweare-section {
  padding-top: 0;
  padding-bottom: 80px;
  background: transparent;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 80px;
}

.vision-mission-section {
  padding-top: 0;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whoweare-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Full Width Glass Card */
.glass-card-full {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.03) 0%, 
    rgba(255, 255, 255, 0.01) 50%,
    rgba(255, 255, 255, 0.07) 100%);
  backdrop-filter: blur(2px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(15px) saturate(180%) brightness(1.05);
  border-radius: 32px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    0 4px 12px 0 rgba(0, 0, 0, 0.05),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.4s ease;
}

.glass-card-full:hover {
  box-shadow: 
    0 12px 48px 0 rgba(31, 38, 135, 0.35),
    0 6px 16px 0 rgba(0, 0, 0, 0.15),
    inset 0 4px 8px 0 rgba(255, 255, 255, 1),
    inset 0 -4px 8px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.glass-card-full h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.glass-card-full p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-align: justify;
}

.glass-card-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  text-align: center;
}

/* Vision Mission Grid */
.vision-mission-grid-glass {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Half Width Glass Cards */
.glass-card-half {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.03) 0%, 
    rgba(255, 255, 255, 0.01) 50%,
    rgba(255, 255, 255, 0.07) 100%);
  backdrop-filter: blur(2px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(15px) saturate(180%) brightness(1.05);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    0 4px 12px 0 rgba(0, 0, 0, 0.05),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.4s ease;
}

.glass-card-half:hover {
  box-shadow: 
    0 12px 48px 0 rgba(31, 38, 135, 0.35),
    0 6px 16px 0 rgba(0, 0, 0, 0.15),
    inset 0 4px 8px 0 rgba(255, 255, 255, 1),
    inset 0 -4px 8px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.glass-card-half h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.glass-card-half p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  text-align: justify;
}

.glass-card-half ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glass-card-half ul li {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  text-align: justify;
}

.glass-card-half ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .whoweare-section {
    scroll-margin-top: 100px;
  }

  .vision-mission-section {
    scroll-margin-top: 100px;
  }

  .vision-mission-grid-glass {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .glass-card-full,
  .glass-card-half {
    padding: 30px 20px;
  }

  .glass-card-full h3,
  .glass-card-half h3 {
    font-size: 1.5rem;
  }

  .glass-card-full p,
  .glass-card-half p,
  .glass-card-half ul li {
    font-size: 0.95rem;
  }
}

.education-choices-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: white;
  text-align: center;
  margin-bottom: 50px;
}

/* Carousel Container */
#education-carousel-container {
  position: relative;
  width: 100%;
  margin: auto;
  min-height: 600px;
}

#education-carousel {
  height: 550px;
  margin: 50px 0 0;
  list-style: none;
  position: relative;
  padding: 0;
}

.education-cards {
  display: block;
}

.education-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.03) 0%, 
    rgba(255, 255, 255, 0.01) 50%,
    rgba(255, 255, 255, 0.07) 100%);
  backdrop-filter: blur(2px) saturate(180%) brightness(1.05); 
  -webkit-backdrop-filter: blur(15px) saturate(180%) brightness(1.05);
  border-radius: 32px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    0 4px 12px 0 rgba(0, 0, 0, 0.05),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.03);
  position: absolute;
  left: 50%;
  top: 0;
  width: 350px;
  min-height: 500px;
  cursor: pointer;
  transition: transform 1.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: visible;
}

.education-card.item-1 {
  z-index: 3;
  transform: translateX(-50%) scale(1) translate3d(0, 0, 0);
  opacity: 1;
}

.education-card.item-2 {
  z-index: 1;
  transform: translateX(-50%) scale(0.75) translate3d(100%, 30px, 0);
  opacity: 0.8;
}

.education-card.item-3 {
  z-index: 1;
  transform: translateX(-50%) scale(0.75) translate3d(-100%, 30px, 0);
  opacity: 0.8;
}

.education-card.item-hidden {
  z-index: 0;
  transform: translateX(-50%) scale(0.5) translate3d(0, 0, 0);
  opacity: 0;
  pointer-events: none;
}

.education-card:hover {
  box-shadow: 
    0 12px 48px 0 rgba(31, 38, 135, 0.35),
    0 6px 16px 0 rgba(0, 0, 0, 0.15),
    inset 0 4px 8px 0 rgba(255, 255, 255, 1),
    inset 0 -4px 8px 0 rgba(0, 0, 0, 0.1);
}

.education-card.featured {
  border: 2px solid rgba(45, 92, 74, 0.6);
  box-shadow: 
    0 12px 40px 0 rgba(45, 92, 74, 0.25),
    0 4px 12px 0 rgba(45, 92, 74, 0.15),
    inset 0 3px 6px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px 0 rgba(0, 0, 0, 0.08);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: white;
  padding: 5px 40px;
  font-size: 0.85rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(255, 152, 0, 0.4);
  z-index: 10;
}

.card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.card-icon.with-bg {
  background: linear-gradient(135deg, #2d5c4a, #4a9eff);
  border-radius: 50%;
}

.education-card:hover .card-icon {
  transform: rotate(360deg) scale(1.1);
}

.card-icon i {
  font-size: 2.5rem;
  color: white;
}

.education-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.card-description {
  font-size: 1rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 25px;
  min-height: 80px;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
}

.card-features li {
  padding: 10px 0;
  color: #555;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features i {
  color: #2d5c4a;
  font-size: 1rem;
}

.card-btn {
  background: linear-gradient(135deg, #2d5c4a, #4a9eff);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(45, 92, 74, 0.3);
  margin-top: 20px;
}

.card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 92, 74, 0.4);
  background: linear-gradient(135deg, #4a9eff, #2d5c4a);
}

.card-btn:active {
  transform: translateY(0);
}

/* Carousel Navigation */
/* Position the nav overlay to cover the carousel area and center arrows vertically */
#education-carousel-nav {
  position: absolute;
  inset: 0;
  z-index: 5; /* above cards (z:1-2) but below other UI */
  pointer-events: none; /* let only buttons receive clicks */
}

#education-carousel-nav .carousel-nav {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  border-top: 4px solid #2d5c4a;
  border-right: 4px solid #2d5c4a;
  border-bottom: none;
  border-left: none;
  background-color: transparent;
  outline: 0;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  pointer-events: auto; /* re-enable on buttons */
}

#education-carousel-nav .carousel-nav:hover {
  border-color: #4a9eff;
  transform: scale(1.1);
}

#education-carousel-nav .carousel-nav.prev {
  left: 5%;
  transform: translateY(-50%) rotate(-135deg);
}

#education-carousel-nav .carousel-nav.prev:hover {
  left: 5%;
  transform: translateY(-50%) rotate(-135deg) scale(1.1);
}

#education-carousel-nav .carousel-nav.next {
  right: 5%;
  transform: translateY(-50%) rotate(45deg);
}

#education-carousel-nav .carousel-nav.next:hover {
  right: 5%;
  transform: translateY(-50%) rotate(45deg) scale(1.1);
}

/* Carousel Dots */
#carousel-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  z-index: 2;
}

#carousel-dots ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

#carousel-dots ul li {
  display: inline-block;
  margin: 0 10px;
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

#carousel-dots ul li:hover {
  background-color: #4a9eff;
  transform: scale(1.2);
}

#carousel-dots ul li.active {
  background-color: #2d5c4a;
  transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  #education-carousel {
    height: 650px;
  }
  
  .education-card {
    width: 300px;
  }
  
  .education-card.item-2 {
    transform: translateX(-50%) scale(0.65) translate3d(90%, 30px, 0);
    opacity: 0.7;
  }
  
  .education-card.item-3 {
    transform: translateX(-50%) scale(0.65) translate3d(-90%, 30px, 0);
    opacity: 0.7;
  }
  
  #education-carousel-nav .carousel-nav.prev {
    left: 5%;
  }
  
  #education-carousel-nav .carousel-nav.next {
    right: 5%;
  }
}

@media (max-width: 480px) {
  .education-card {
    width: 280px;
    padding: 30px 20px;
  }
  
  .education-card.item-2 {
    opacity: 0.5;
    pointer-events: auto;
    transform: translateX(-50%) scale(0.55) translate3d(80%, 30px, 0);
  }
  
  .education-card.item-3 {
    opacity: 0.5;
    pointer-events: auto;
    transform: translateX(-50%) scale(0.55) translate3d(-80%, 30px, 0);
  }
  
  #education-carousel-nav .carousel-nav {
    display: none;
  }
}

/* ===== CAREER OPPORTUNITIES & SALARY SECTION ===== */
.career-salary-section {
  background: transparent;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  position: relative;
  animation: slideInUp 0.6s ease-out;
  scroll-margin-top: 80px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.career-salary-section.updating .career-cards-scroll {
  animation: pulse 0.4s ease-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.career-salary-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 50%, #000000 100%);
  pointer-events: none;
  z-index: 1;
}

.career-salary-container {
  max-width: 1400px;
  margin: 0 auto;
}

.career-salary-title {
  font-size: 38px;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 10px;
}

.career-salary-subtitle {
  font-size: 18px;
  color: white;
  text-align: center;
  margin-bottom: 50px;
}

.career-cards-wrapper {
  position: relative;
  overflow: hidden;
}

.career-cards-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hidden cards by default - show only first 4 */
.career-salary-card.hidden-card {
  display: none !important;
}

/* Show More Button */
.show-more-container {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 5;
}

.show-more-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.show-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.show-more-btn i {
  transition: transform 0.3s ease;
}

.show-more-btn.expanded i {
  transform: rotate(180deg);
}

.show-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.career-salary-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid #e9d5ff;
  display: flex;
  flex-direction: column;
  animation: fadeInCard 0.4s ease-out;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.career-salary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
  border-color: #c084fc;
}

.career-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.career-card-icon i {
  font-size: 32px;
  color: white;
}

.career-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.career-card-course {
  font-size: 14px;
  color: #7c3aed;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f3e8ff;
}

.career-opportunities {
  margin-bottom: 25px;
  flex-grow: 1;
}

.career-opportunities h4 {
  font-size: 16px;
  font-weight: 600;
  color: #5b21b6;
  margin-bottom: 12px;
}

.career-opportunities ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-opportunities ul li {
  font-size: 15px;
  color: #4b5563;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.career-opportunities ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7c3aed;
  font-weight: bold;
  font-size: 16px;
}

.salary-range {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.salary-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.salary-amount {
  font-size: 22px;
  color: white;
  font-weight: 700;
}

/* Automotive Card with Background Image */
.career-card-automotive {
  background-image: url('assets/automotif.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-automotive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.career-card-automotive > * {
  position: relative;
  z-index: 2;
}

.career-card-automotive .career-card-title,
.career-card-automotive .career-card-course,
.career-card-automotive .career-opportunities h4,
.career-card-automotive .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Welding Card with Background Image */
.career-card-welding {
  background-image: url('assets/welding.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-welding::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-welding > * {
  position: relative;
  z-index: 2;
}

.career-card-welding .career-card-title,
.career-card-welding .career-card-course,
.career-card-welding .career-opportunities h4,
.career-card-welding .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Industrial Automation Card with Background Image */
.career-card-automation {
  background-image: url('assets/automotif.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-automation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-automation > * {
  position: relative;
  z-index: 2;
}

.career-card-automation .career-card-title,
.career-card-automation .career-card-course,
.career-card-automation .career-opportunities h4,
.career-card-automation .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Electrical Card with Background Image */
.career-card-elektrik {
  background-image: url('assets/elektrik.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-elektrik::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-elektrik > * {
  position: relative;
  z-index: 2;
}

.career-card-elektrik .career-card-title,
.career-card-elektrik .career-card-course,
.career-card-elektrik .career-opportunities h4,
.career-card-elektrik .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Beauty Services Card with Background Image */
.career-card-beauty {
  background-image: url('assets/beauty.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-beauty::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-beauty > * {
  position: relative;
  z-index: 2;
}

.career-card-beauty .career-card-title,
.career-card-beauty .career-card-course,
.career-card-beauty .career-opportunities h4,
.career-card-beauty .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Computer System Card with Background Image */
.career-card-computer-system {
  background-image: url('assets/computer system.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-computer-system::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-computer-system > * {
  position: relative;
  z-index: 2;
}

.career-card-computer-system .career-card-title,
.career-card-computer-system .career-card-course,
.career-card-computer-system .career-opportunities h4,
.career-card-computer-system .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Early Childhood Card with Background Image */
.career-card-child {
  background-image: url('assets/child.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-child > * {
  position: relative;
  z-index: 2;
}

.career-card-child .career-card-title,
.career-card-child .career-card-course,
.career-card-child .career-opportunities h4,
.career-card-child .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Food Preparation Card with Background Image */
.career-card-food-preparation {
  background-image: url('assets/foodprepare.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-food-preparation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-food-preparation > * {
  position: relative;
  z-index: 2;
}

.career-card-food-preparation .career-card-title,
.career-card-food-preparation .career-card-course,
.career-card-food-preparation .career-opportunities h4,
.career-card-food-preparation .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Bread Making Card with Background Image */
.career-card-bread {
  background-image: url('assets/bread.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-bread::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-bread > * {
  position: relative;
  z-index: 2;
}

.career-card-bread .career-card-title,
.career-card-bread .career-card-course,
.career-card-bread .career-opportunities h4,
.career-card-bread .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Computer Network Card with Background Image */
.career-card-computer-network {
  background-image: url('assets/computer network.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-computer-network::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-computer-network > * {
  position: relative;
  z-index: 2;
}

.career-card-computer-network .career-card-title,
.career-card-computer-network .career-card-course,
.career-card-computer-network .career-opportunities h4,
.career-card-computer-network .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Culinary Card with Background Image */
.career-card-culinary {
  background-image: url('assets/culinary.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-culinary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-culinary > * {
  position: relative;
  z-index: 2;
}

.career-card-culinary .career-card-title,
.career-card-culinary .career-card-course,
.career-card-culinary .career-opportunities h4,
.career-card-culinary .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Secretary Card with Background Image */
.career-card-secretary {
  background-image: url('assets/secretary.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-secretary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-secretary > * {
  position: relative;
  z-index: 2;
}

.career-card-secretary .career-card-title,
.career-card-secretary .career-card-course,
.career-card-secretary .career-opportunities h4,
.career-card-secretary .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Admin/Office Card with Background Image */
.career-card-admin {
  background-image: url('assets/admin.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-admin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-admin > * {
  position: relative;
  z-index: 2;
}

.career-card-admin .career-card-title,
.career-card-admin .career-card-course,
.career-card-admin .career-opportunities h4,
.career-card-admin .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Pastry Card with Background Image */
.career-card-pastry {
  background-image: url('assets/pastry.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-pastry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-pastry > * {
  position: relative;
  z-index: 2;
}

.career-card-pastry .career-card-title,
.career-card-pastry .career-card-course,
.career-card-pastry .career-opportunities h4,
.career-card-pastry .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Elderly Care Card with Background Image */
.career-card-elderly {
  background-image: url('assets/elderly.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-elderly::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-elderly > * {
  position: relative;
  z-index: 2;
}

.career-card-elderly .career-card-title,
.career-card-elderly .career-card-course,
.career-card-elderly .career-opportunities h4,
.career-card-elderly .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Pest Control Card with Background Image */
.career-card-pest-control {
  background-image: url('assets/pestcontrol.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-pest-control::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-pest-control > * {
  position: relative;
  z-index: 2;
}

.career-card-pest-control .career-card-title,
.career-card-pest-control .career-card-course,
.career-card-pest-control .career-opportunities h4,
.career-card-pest-control .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Accounting Card with Background Image */
.career-card-accounting {
  background-image: url('assets/accounting.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-accounting::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-accounting > * {
  position: relative;
  z-index: 2;
}

.career-card-accounting .career-card-title,
.career-card-accounting .career-card-course,
.career-card-accounting .career-opportunities h4,
.career-card-accounting .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Business Card with Background Image */
.career-card-business {
  background-image: url('assets/business.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-business::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-business > * {
  position: relative;
  z-index: 2;
}

.career-card-business .career-card-title,
.career-card-business .career-card-course,
.career-card-business .career-opportunities h4,
.career-card-business .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Retail Card with Background Image */
.career-card-retail {
  background-image: url('assets/retail.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-retail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-retail > * {
  position: relative;
  z-index: 2;
}

.career-card-retail .career-card-title,
.career-card-retail .career-card-course,
.career-card-retail .career-opportunities h4,
.career-card-retail .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Management Card with Background Image */
.career-card-management {
  background-image: url('assets/management.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-management::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-management > * {
  position: relative;
  z-index: 2;
}

.career-card-management .career-card-title,
.career-card-management .career-card-course,
.career-card-management .career-opportunities h4,
.career-card-management .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Technology Management Card with Background Image */
.career-card-techno-manage {
  background-image: url('assets/technomanage.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-techno-manage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-techno-manage > * {
  position: relative;
  z-index: 2;
}

.career-card-techno-manage .career-card-title,
.career-card-techno-manage .career-card-course,
.career-card-techno-manage .career-opportunities h4,
.career-card-techno-manage .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Property Management Card with Background Image */
.career-card-property {
  background-image: url('assets/property.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-property::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-property > * {
  position: relative;
  z-index: 2;
}

.career-card-property .career-card-title,
.career-card-property .career-card-course,
.career-card-property .career-opportunities h4,
.career-card-property .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Islamic Studies Card with Background Image */
.career-card-islamic {
  background-image: url('assets/islamic.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-islamic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-islamic > * {
  position: relative;
  z-index: 2;
}

.career-card-islamic .career-card-title,
.career-card-islamic .career-card-course,
.career-card-islamic .career-opportunities h4,
.career-card-islamic .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Hotel Management Card with Background Image */
.career-card-hotel {
  background-image: url('assets/hotel.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.career-card-hotel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: 20px;
}

.career-card-hotel > * {
  position: relative;
  z-index: 2;
}

.career-card-hotel .career-card-title,
.career-card-hotel .career-card-course,
.career-card-hotel .career-opportunities h4,
.career-card-hotel .career-opportunities ul li {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Responsive - Mobile Friendly */
@media screen and (max-width: 768px) {
  .career-salary-section {
    padding: 60px 15px;
  }
  
  .career-salary-title {
    font-size: 28px;
    padding: 0 10px;
  }
  
  .career-salary-subtitle {
    font-size: 16px;
    padding: 0 10px;
    margin-bottom: 30px;
  }
  
  .career-cards-wrapper {
    margin: 0;
    padding: 0;
  }
  
  .career-cards-scroll {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }
  
  .career-salary-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
  }
  
  .show-more-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
  
  .career-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .career-card-icon i {
    font-size: 28px;
  }
  
  .career-card-title {
    font-size: 20px;
  }
  
  .career-card-course {
    font-size: 13px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  
  .career-opportunities {
    margin-bottom: 20px;
  }
  
  .career-opportunities h4 {
    font-size: 15px;
  }
  
  .career-opportunities ul li {
    font-size: 14px;
    padding: 6px 0;
    padding-left: 22px;
  }
  
  .salary-range {
    padding: 18px;
  }
  
  .salary-label {
    font-size: 12px;
  }
  
  .salary-amount {
    font-size: 20px;
  }
  
  .career-salary-section::after {
    height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .career-salary-section {
    padding: 50px 10px;
  }
  
  .career-salary-title {
    font-size: 24px;
  }
  
  .career-salary-subtitle {
    font-size: 14px;
  }
  
  .career-cards-scroll {
    padding: 10px;
    gap: 15px;
  }
  
  .career-salary-card {
    padding: 20px;
  }
  
  .show-more-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
  
  .career-card-icon {
    width: 55px;
    height: 55px;
  }
  
  .career-card-icon i {
    font-size: 24px;
  }
  
  .career-card-title {
    font-size: 18px;
  }
  
  .career-opportunities ul li {
    font-size: 13px;
  }
  
  .salary-amount {
    font-size: 18px;
  }
}

/* ===== CAREER PAGE - SPLIT SCREEN ===== */
.career-split-section {
  min-height: calc(100vh - 100px);
  position: relative;
  overflow: hidden;
  margin-top: 0px; /* Space for fixed navbar */
}

.career-container {
  display: flex;
  height: 100%;
  min-height: calc(100vh - 100px);
  position: relative;
}

.career-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Left Side - Fulltime (Deep purple fading to black) */
.career-side.left-side {
  background: linear-gradient(to bottom, #3d1f5c 0%, #5a3c83 40%, #0a0a0a 100%);
  color: white;
}

/* Right Side - Internship (Lighter purple fading to black) */
.career-side.right-side {
  background: linear-gradient(to bottom, #7c3aed 0%, #a78bfa 40%, #0a0a0a 100%);
  color: white;
}

/* Add decorative overlay */
.career-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
  opacity: 0.1;
  pointer-events: none;
}

.career-content {
  max-width: 500px;
  z-index: 2;
  position: relative;
}

.career-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.career-tagline {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 25px;
  opacity: 0.9;
}

.career-description {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.95;
}

.career-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px;
}

.career-benefits li {
  padding: 12px 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.career-benefits i {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.apply-btn {
  background: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.left-side .apply-btn {
  color: #3d1f5c;
}

.right-side .apply-btn {
  color: #7c3aed;
}

.apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.apply-btn i {
  transition: transform 0.3s ease;
}

.apply-btn:hover i {
  transform: translateX(5px);
}

.left-side .apply-btn:hover i {
  transform: translateX(-5px); /* Arrow moves left for fulltime */
}

.right-side .apply-btn:hover i {
  transform: translateX(5px); /* Arrow moves right for internship */
}

/* Application Form Overlay */
.application-form-overlay {
  position: absolute; /* Changed back to absolute so it scrolls with body */
  top: 0;
  height: 100%;
  width: 50%;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start */
  justify-content: center;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100; /* Increased z-index to cover footer */
  overflow-y: auto;
  padding: 60px 20px 40px; /* Increased top padding */
  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.application-form-overlay::-webkit-scrollbar {
  display: none;
}

/* Fulltime form appears on RIGHT with deep purple background */
#fulltimeForm {
  right: 0;
  transform: translateX(100%);
  background: linear-gradient(to bottom, rgba(61, 31, 92, 0.98) 0%, rgba(90, 60, 131, 0.98) 40%, rgba(10, 10, 10, 0.98) 100%);
}

#fulltimeForm.active {
  transform: translateX(0);
  opacity: 1;
}

/* Internship form appears on LEFT with lighter purple background */
#internshipForm {
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.98) 0%, rgba(167, 139, 250, 0.98) 40%, rgba(10, 10, 10, 0.98) 100%);
}

#internshipForm.active {
  transform: translateX(0);
  opacity: 1;
}

.close-form {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #5a3c83;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 20;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.close-form:hover {
  background: #a78bfa;
  transform: rotate(90deg) scale(1.1);
}

.form-container {
  width: 100%;
  max-width: 500px;
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-container h3 {
  font-size: 2rem;
  color: #3d1f5c;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.career-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: white;
  color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #5a3c83, #7c3aed);
  color: white;
  border: none;
  padding: 16px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(44, 95, 127, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 95, 127, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
  .career-container {
    flex-direction: column;
  }

  .career-side {
    min-height: 50vh;
  }

  .application-form-overlay {
    width: 100%;
    height: 100%;
  }

  #fulltimeForm,
  #internshipForm {
    transform: translateY(100%);
  }

  #fulltimeForm.active,
  #internshipForm.active {
    transform: translateY(0);
  }

  .career-content h2 {
    font-size: 2.2rem;
  }

  .career-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .career-side {
    padding: 40px 25px;
  }

  .career-content h2 {
    font-size: 1.8rem;
  }

  .career-tagline {
    font-size: 1.1rem;
  }

  .career-description {
    font-size: 0.95rem;
  }

  .form-container {
    padding: 30px 20px;
  }
}

/* Career Page Footer - Black background */
.career-split-section + footer {
  background: #0a0a0a;
  position: relative;
  z-index: 1;
}

.career-split-section + footer .wave-container {
  opacity: 0.9;
}

/* Lightbox (click to enlarge) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 1px;
}

.lightbox-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: inline-block;
}

.lightbox-content {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: black;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s, color 0.3s;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.close:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}

/* Mobile friendly adjustment */
@media (max-width: 600px) {
  .close {
    top: 5px;
    right: 5px;
    font-size: 22px;
    width: 30px;
    height: 30px;
  }
}

/* Responsive Layout */
@media (max-width: 768px) {
  .pelajar-terbaik h2 {
    font-size: 1.6rem;
  }
  .mySwiper img {
    max-width: 220px;
  }
}
@media (max-width: 480px) {
  .pelajar-terbaik h2 {
    font-size: 1.4rem;
  }
  .mySwiper img {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    gap: 15px;
  }
  .card-box {
    height: 180px;
    font-size: 1.2rem;
  }
}

/* Navbar Base */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 15px 15px 15px;
  background: #290938;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo + Text */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;   /* adjust size */
  margin-right: 5px;
  border-radius: 5px; /* optional if you want rounded logo */
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Navbar Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffcc00; /* hover effect */
}

/* Dropdown menu styling */
.nav-links li {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #290938;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 10000;
  border-radius: 4px;
  top: 100%;
  left: 0;
  margin-top: 0; /* Remove gap - we'll use padding instead */
  padding-top: 8px; /* Add padding at the top for smooth transition */
  margin-top: -8px; /* Negative margin to overlap with parent */
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
  background-color: #290938;
  color: #ffcc00;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Add a pseudo-element to extend the hover area */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px; /* Bridge gap between link and dropdown */
  background: transparent;
}

/* Dropdown arrow styling */
.dropdown-arrow {
  font-size: 0.75rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Show dropdown when active class is added (for mobile click) */
.dropdown.active .dropdown-content {
  display: block;
}

/* Hamburger (hidden on large screens) */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Search bar in navbar */
.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 20px;
}

.search-bar input {
  border: none;
  outline: none;
  padding: 5px 10px;
  font-size: 0.9rem;
  border-radius: 20px;
}

.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(210 75% 40%);
  font-size: 1rem;
}

.highlight {
  background: yellow;
  color: black;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}

/* Hamburger button */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    color: #fff;
  }

.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #290938;
    position: fixed; /* sit below the navbar */
    top: var(--navbar-height, 85px);
    left: 0;
    right: 0;
    padding: 20px 0;
    text-align: center;
    z-index: 1000; /* below navbar (1100) */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .nav-links.show {
    display: flex; /* show when toggled */
  }

  .nav-links li {
    padding: 10px 0;
  }

  /* Dropdown adjustments for mobile */
  .dropdown {
    position: relative;
    width: 100%;
  }

  .dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
  }

  .dropdown-content {
    position: static;
    display: none;
    background-color: rgba(41, 9, 56, 0.95);
    box-shadow: none;
    margin: 0 auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 300px;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 12px 20px;
    font-size: 0.9rem;
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  /* Make search bar full width on mobile */
  .search-bar {
    margin: 10px auto;
    width: 90%;
  }

  .search-bar input {
    width: 100%;
  }
}

.nav-links a.active {
  color: #ffcc00;  /* or any highlight color */
  font-weight: 700;
  /* border-bottom: 2px solid black; */
}

/* Backgrounds for fasiliti cards */
.surau { background: url("ruangansurau1.jpg") center/cover no-repeat; }
.pelajar { background: url("ruanganpelajar1.jpg") center/cover no-repeat; }
.cafe { background: url("cafeteria1.jpg") center/cover no-repeat; }
.pengangkutan { background: url("pengangkutan1.jpg") center/cover no-repeat; }
.kelas { background: url("kelas1.jpg") center/cover no-repeat; }
.dewan { background: url("dewan.jpg") center/cover no-repeat; }
.atm { background: url("atm.png") center/cover no-repeat; }
.pos { background: url("pos.png") center/cover no-repeat; }
.parking { background: url("park.png") center/cover no-repeat; }
.asrama { background: url("asrama1.png") center/cover no-repeat; }
.aktiviti { background: url("ak1.png") center/cover no-repeat; }
.bangunan { background: url("bangunan1.png") center/cover no-repeat; }


/* Contact Section */
.contact-section {
  text-align: center;
  padding: 60px 20px;
  background-image: url(assets/BG1.png); /* your image file name or URL */
  background-size: cover;       /* make it cover the whole page */
  background-repeat: no-repeat; /* don’t repeat the image */
  background-attachment: fixed; /* make it stay still while scrolling */
  background-position: center;  /* center the image */
}

.contact-section h1 {
  color: #0082C3;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 16px;
  color: #444;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
}

.contact-card {
  background: #f0fdf4;
  border: 1px solid #c8e6c9;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card i {
  font-size: 30px;
  color: #2e7d32;
  margin-bottom: 10px;
}

.contact-card h3 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.contact-card a {
  color: blue;
  text-decoration: none;
}

/* Make all clickable links interactive */
a {
  text-decoration: none;
  color: #2e7d32; /* your default green theme */
  transition: all 0.3s ease;
  cursor: pointer;
}

a:hover {
  color: blue; /* darker green on hover */
  text-decoration: underline;
  transform: scale(1.05); /* slightly enlarges the link */
}

/* For buttons that are links */
button, .btn, a.button {
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, .btn:hover, a.button:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Icon colors for social/contact section */
.contact-card i.fa-map-marker-alt {
  color: #d9534f; /* Red tone for address */
}

.contact-card i.fa-phone {
  color: #28a745; /* WhatsApp/phone green */
}

.contact-card i.fa-envelope {
  color: #D44638; /* Gmail red */
}

.contact-card i.fa-tiktok {
  color: #000000; /* Black for TikTok */
}

.contact-card i.fa-facebook {
  color: #1877F2; /* Facebook blue */
}

.contact-card i.fa-instagram {
  background: radial-gradient(circle at 30% 107%, 
              #fdf497 0%, #fdf497 5%, 
              #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-card i.fa-envelope {
  color: #dd4b39; /* Optional red for email */
}

/* Optional: Make icons a bit bigger and uniform */
.contact-card i {
  font-size: 28px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

/* Subtle hover effect */
.contact-card i:hover {
  transform: scale(1.2);
}

.contact-card i {
  border-radius: 50%;
  padding: 10px;
  background-color: rgba(0,0,0,0.05);
}

/* Application Form Styles */
.application-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.application-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.application-intro {
  text-align: center;
  margin-bottom: 40px;
}

.application-intro h2 {
  color: #2e7d32;
  font-size: 2rem;
  margin-bottom: 15px;
}

.application-intro p {
  color: #666;
  font-size: 1.1rem;
}

.application-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  background: #fafafa;
}

.form-section h3 {
  color: #2e7d32;
  font-size: 1.3rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #2e7d32;
  padding-bottom: 10px;
}

.form-section h3 i {
  font-size: 1.2rem;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-group.full-width {
  flex: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.required {
  color: #d32f2f;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group input:invalid {
  border-color: #d32f2f;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-style: italic;
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.skill-item label {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.documents-checklist {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #2e7d32;
}

.documents-checklist ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.documents-checklist li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.documents-checklist input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.declaration-text {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
  margin-bottom: 20px;
}

.declaration-text p {
  margin: 10px 0;
  line-height: 1.6;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.submit-btn {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-note {
  margin-top: 20px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Checkbox styling */
input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  cursor: pointer;
}

.form-group label input[type="checkbox"] {
  width: auto !important;
  display: inline !important;
  margin-right: 8px !important;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
  .application-container {
    padding: 20px;
    margin: 10px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .application-intro h2 {
    font-size: 1.5rem;
  }
  
  .form-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .form-section h3 {
    font-size: 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .submit-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Success Message Styles */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.success-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.success-content i {
  font-size: 4rem;
  color: #0082C3;
  margin-bottom: 20px;
}

.success-content h2 {
  color: #0082C3;
  margin-bottom: 15px;
}

.success-content p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.next-steps {
  text-align: left;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.next-steps h3 {
  color: #0082C3;
  margin-bottom: 15px;
  text-align: center;
}

.next-steps ol {
  margin: 0;
  padding-left: 20px;
}

.next-steps li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.new-application-btn,
.contact-btn {
  background: #2e7d32;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  margin: 10px 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-btn {
  background: #ff9800;
}

.new-application-btn:hover,
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Popup overlay */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}

.popup-content h2 {
  margin-bottom: 10px;
}

/* Inline error / compact spacing for popup fields */
.popup-content .field-item {
  margin-bottom: 14px; /* slightly larger gap before error */
  transition: margin-bottom 0.18s ease;
  text-align: left;
}

.popup-content .field-item.has-error {
  margin-bottom: 24px; /* more space when showing an error */
}

.popup-content .input-error {
  color: #d32f2f;
  font-size: 0.92rem;
  line-height: 1.2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.18s ease, opacity 0.18s ease, margin-top 0.18s ease;
}

.popup-content .field-item.has-error .input-error {
  max-height: 60px; /* room for a couple lines */
  opacity: 1;
  margin-top: 6px;
}

.popup-content input.input-invalid {
  border-color: #d32f2f !important;
}

.popup-content input {
  width: 95%;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.popup-content .popup-submit {
  width: 92%;
  margin: 12px auto 0;
  display: block;
}
 
.popup-content button {
  background: #0082C3;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.popup-content button:hover {
  background: #0082C3;
}

.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* FAQs Section - Accordion Style */
.faqs-section {
  padding: 60px 20px;
  background-image: url(assets/BG1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.faqs-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  background: white;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.faq-category:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-category-header {
  background: linear-gradient(135deg, #317873 0%, #2d6863 100%);
  color: white;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  user-select: none;
}

.faq-category-header:hover {
  background: linear-gradient(135deg, #2d6863 0%, #317873 100%);
}

.faq-category-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-category-header h3 i {
  color: #ffcc00;
  font-size: 1.3rem;
}

.faq-category-header > i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.faq-category.active .faq-category-header > i {
  transform: rotate(180deg);
}

.faq-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: white;
  padding: 0 25px;
}

.faq-category.active .faq-category-content {
  max-height: 1000px;
  padding: 20px 25px;
}

.faq-qa {
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.faq-qa:last-child {
  border-bottom: none;
}

.faq-qa h4 {
  color: #317873;
  font-size: 1.05rem;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.faq-qa p {
  color: #555;
  line-height: 1.7;
  font-size: 0.98rem;
  margin: 0;
}

@media (max-width: 768px) {
  .faqs-section {
    padding: 40px 15px;
  }

  .faq-category-header {
    padding: 18px 20px;
  }

  .faq-category-header h3 {
    font-size: 1.05rem;
  }

  .faq-category-content {
    padding: 0 20px;
  }

  .faq-category.active .faq-category-content {
    padding: 15px 20px;
  }

  .faq-qa h4 {
    font-size: 1rem;
  }

  .faq-qa p {
    font-size: 0.93rem;
  }
}

/* Floating Support Widget */
.support-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

/* Call Button */
.call-icon {
  width: 60px;
  height: 60px;
  background: #5a3c83;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  animation: pulse-call 2s infinite;
}

.call-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(90, 60, 131, 0.5);
}

.call-icon i {
  color: white;
  font-size: 26px;
}

@keyframes pulse-call {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(90, 60, 131, 0.6);
  }
}

/* Support Form Icon */
.support-icon {
  width: 60px;
  height: 60px;
  background: #5a3c83;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.support-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(90, 60, 131, 0.5);
}

.support-icon i {
  color: white;
  font-size: 28px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(90, 60, 131, 0.6);
  }
}

.support-form-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: none;
  animation: slideUp 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.support-form-container.show {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.support-form-header {
  background: linear-gradient(135deg, #5a3c83 0%, #4a2f6b 100%);
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-form-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.support-close {
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.support-close:hover {
  transform: rotate(90deg);
}

.support-form {
  padding: 25px;
}

.support-field {
  margin-bottom: 18px;
}

.support-field label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.support-field input,
.support-field textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.support-field input:focus,
.support-field textarea:focus {
  outline: none;
  border-color: #317873;
}

.support-field textarea {
  resize: vertical;
  min-height: 80px;
}

.support-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #5a3c83 0%, #4a2f6b 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.support-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(90, 60, 131, 0.4);
}

.support-submit-btn i {
  font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .support-widget {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }

  .call-icon {
    width: 55px;
    height: 55px;
  }

  .call-icon i {
    font-size: 22px;
  }

  .support-icon {
    width: 55px;
    height: 55px;
  }

  .support-icon i {
    font-size: 24px;
  }

  .support-form-container {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 155px;
    max-height: 70vh;
  }

  .support-form-header h3 {
    font-size: 1.1rem;
  }

  .support-form {
    padding: 20px;
  }
}

/* 3D Team Carousel Section */
    .team-section {
      padding: 4rem 0;
      position: relative;
      padding-bottom: 100px;
    }

    .team-section::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 400px;
      background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 50%, #000000 100%);
      pointer-events: none;
      z-index: 0;
    }

    .team-section .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 1;
    }

    .about-title {
      font-size: 2.5rem;
      font-weight: 600;
      color: white;
      text-align: center;
      margin-bottom: 3rem;
      /* Match the same font-family as the 'Who We Are' h2 by inheriting the page font */
      font-family: inherit;
    }

    .carousel-container {
      width: 100%;
      max-width: 1200px;
      height: 520px;
      position: relative;
      perspective: 1000px;
      margin: 2rem auto;
    }

    .carousel-track {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .card {
      position: absolute;
      width: 350px;
      height: 450px;
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
      transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      cursor: pointer;
    }

    .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Make team videos fill cards exactly like images */
    .card video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .card.center {
      z-index: 10;
      transform: scale(1.1) translateZ(0);
    }

    .card.center img {
      filter: none;
    }
    .card.center video { filter: none; }

    .card.left-2 {
      z-index: 1;
      transform: translateX(-650px) scale(0.8) translateZ(-300px);
      opacity: 0.7;
    }

    .card.left-2 img {
      filter: grayscale(100%);
    }
    .card.left-2 video { filter: grayscale(100%); }

    .card.left-1 {
      z-index: 5;
      transform: translateX(-250px) scale(0.9) translateZ(-100px);
      opacity: 0.9;
    }

    .card.left-1 img {
      filter: grayscale(100%);
    }
    .card.left-1 video { filter: grayscale(100%); }

    .card.right-1 {
      z-index: 5;
      transform: translateX(250px) scale(0.9) translateZ(-100px);
      opacity: 0.9;
    }

    .card.right-1 img {
      filter: grayscale(100%);
    }
    .card.right-1 video { filter: grayscale(100%); }

    .card.right-2 {
      z-index: 1;
      transform: translateX(650px) scale(0.8) translateZ(-300px);
      opacity: 0.7;
    }

    .card.right-2 img {
      filter: grayscale(100%);
    }
    .card.right-2 video { filter: grayscale(100%); }

    .card.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .member-info {
      text-align: center;
      margin-top: 40px;
      transition: all 0.5s ease-out;
    }

    .member-name {
      color: white;
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 10px;
      position: relative;
      display: inline-block;
      transition: opacity 0.3s ease;
    }

    .member-name::before,
    .member-name::after {
      content: "";
      position: absolute;
      top: 100%;
      width: 100px;
      height: 2px;
      background: white;
    }

    .member-name::before {
      left: -120px;
    }

    .member-name::after {
      right: -120px;
    }

    .member-role {
      color: white;
      font-size: 1.5rem;
      font-weight: 500;
      opacity: 0.8;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 10px 0;
      margin-top: -15px;
      position: relative;
      transition: opacity 0.3s ease;
    }

    .dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 60px;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(8, 42, 123, 0.2);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .dot.active {
      background: rgb(8, 42, 123);
      transform: scale(1.2);
    }

    .nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(8, 42, 123, 0.6);
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 20;
      transition: all 0.3s ease;
      font-size: 1.5rem;
      border: none;
      outline: none;
      padding-bottom: 4px;
    }

    .nav-arrow:hover {
      background: rgba(8, 42, 123, 0.9);
      transform: translateY(-50%) scale(1.1);
    }

    .nav-arrow.left {
      left: 20px;
      padding-right: 3px;
    }

    .nav-arrow.right {
      right: 20px;
      padding-left: 3px;
    }

    .card {
        width: 350px;
        height: 450px;
      }

      .card.left-2 {
        transform: translateX(-350px) scale(0.8) translateZ(-300px);
      }

      .card.left-1 {
        transform: translateX(-170px) scale(0.9) translateZ(-100px);
      }

      .card.right-1 {
        transform: translateX(170px) scale(0.9) translateZ(-100px);
      }

      .card.right-2 {
        transform: translateX(350px) scale(0.8) translateZ(-300px);
      }

      .member-name {
        font-size: 2rem;
      }

      .member-role {
        font-size: 1.2rem;
      }

      .member-name::before,
      .member-name::after {
        width: 50px;
      }

      .member-name::before {
        left: -70px;
      }

      .member-name::after {
        right: -70px;
      }

/* Mobile responsive styles for carousel */
    @media only screen and (max-width: 768px) {
      .card {
        width: 280px !important;
        height: 380px !important;
      }
      
      .carousel-container {
        height: 450px !important;
      }
      
      .card.left-2 {
        transform: translateX(-350px) scale(0.8) translateZ(-300px) !important;
      }
      
      .card.right-2 {
        transform: translateX(350px) scale(0.8) translateZ(-300px) !important;
      }
    }

/* Responsive */
    @media only screen and (max-width: 968px) {
      .profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .profile-image {
        margin: 0 auto;
      }

      .experience-grid {
        grid-template-columns: 1fr;
      }

      .business-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        margin-bottom: 4rem;
      }

      .business-item:nth-child(1) .business-image-wrapper,
      .business-item:nth-child(2) .business-image-wrapper,
      .business-item:nth-child(3) .business-image-wrapper {
        grid-column: 1;
        grid-row: auto;
      }

      .business-item:nth-child(1) .business-content-wrapper,
      .business-item:nth-child(2) .business-content-wrapper,
      .business-item:nth-child(3) .business-content-wrapper {
        grid-column: 1;
        grid-row: auto;
      }

      .business-item:nth-child(2),
      .business-item:nth-child(3) {
        margin-top: 0;
      }

      .business-image-wrapper {
        height: 300px;
        transform: rotate(0deg);
      }

      .business-content-wrapper {
        height: auto;
      }

      .nav-links {
        display: none;
      }

      #about {
        clip-path: polygon(0 0, 20% 2%, 100% 0, 100% 100%, 80% 98%, 0 100%);
      }
    }

    @media only screen and (max-width: 649px) {
      #about {
        padding: 8rem 2rem 6rem;
      }

      .profile-grid {
        padding: 2rem;
      }

      .profile-image {
        width: 250px;
        height: 250px;
      }

      .business-image-wrapper {
        height: 250px;
      }

      .business-content-wrapper {
        height: auto;
      }

      .business-content-wrapper h3 {
        font-size: 1.8rem;
      }
    }

    /* Director Profile Section with Morphing Effect */
    #about {
      min-height: 100vh;
      position: relative;
      background: #fafafa;
      clip-path: polygon(0 0, 20% 5%, 100% 0, 100% 100%, 80% 95%, 0 100%);
      z-index: 5;
      padding: 15rem 5% 12rem;
    }

    .profile-wrapper {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-title h3 {
      font-size: 2.4rem;
      margin-bottom: 1rem;
    }

    .section-title .separator {
      background: #667eea;
      width: 150px;
      height: 2px;
      margin: 1rem auto;
    }

    .section-title .subtitle {
      font-size: 1.4rem;
      color: #666;
    }

    .profile-grid {
      display: grid;
      grid-template-columns: 300px 1fr;
      gap: 3rem;
      align-items: start;
      margin-bottom: 3rem;
      background: white;
      padding: 3rem;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }

    .profile-image-container {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .profile-image {
      width: 300px;
      height: 300px;
      border-radius: 15px;
      object-fit: cover;
      box-shadow: 0 5px 20px rgba(0,0,0,0.2);
      transition: transform 300ms;
    }

    .profile-image:hover {
      transform: scale(1.05);
    }

    .profile-info h2 {
      font-size: 2.5rem;
      color: #333;
      margin-bottom: 0.5rem;
    }

    .profile-title {
      color: #667eea;
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 2rem;
    }

    .profile-bio {
      line-height: 1.8;
      color: #555;
      font-size: 1.1rem;
      text-align: justify;
    }

    .profile-bio p {
      text-align: justify;
    }

    /* Experience Section */
    .experience-container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .experience-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin-top: 2rem;
    }

    .experience-card {
      background: white;
      padding: 2rem;
      border-radius: 15px;
      border-left: 4px solid #667eea;
      box-shadow: 0 5px 20px rgba(0,0,0,0.1);
      transition: transform 300ms, box-shadow 300ms;
    }

    .experience-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .experience-card h4 {
      color: #333;
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }

    .experience-card .year {
      color: #667eea;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .experience-card p {
      color: #666;
      line-height: 1.6;
    }

    /* Business Portfolio */
    #projects {
      min-height: 100vh;
      position: relative;
      background: linear-gradient(215deg, #f0f0f0 0%, #fafafa 100%);
      padding: 8rem 5% 8rem;
      margin-top: -5rem;
      z-index: 1;
    }

    .business-container {
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
    }

    /* Individual Business Item */
    .business-item {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 3rem;
      margin-bottom: 6rem;
      position: relative;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.8s, transform 0.8s;
    }

    .business-item.animate {
      opacity: 1;
      transform: translateY(0);
    }

    /* Layout for Item 1: Kopi Saigon */
    .business-item:nth-child(1) .business-image-wrapper {
      grid-column: 1;
      grid-row: 1;
    }

    .business-item:nth-child(1) .business-content-wrapper {
      grid-column: 2;
      grid-row: 1 / 3;
    }

    /* Layout for Item 2: Pembalakan */
    .business-item:nth-child(2) .business-image-wrapper {
      grid-column: 2;
      grid-row: 1;
    }

    .business-item:nth-child(2) .business-content-wrapper {
      grid-column: 1;
      grid-row: 1;
    }

    /* Layout for Item 3: Pembinaan */
    .business-item:nth-child(3) .business-image-wrapper {
      grid-column: 1;
      grid-row: 1;
    }

    .business-item:nth-child(3) .business-content-wrapper {
      grid-column: 2;
      grid-row: 1;
    }

    /* Business Image Container */
    .business-image-wrapper {
      position: relative;
      width: 100%;
      height: 350px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.15);
      transition: transform 0.6s ease, box-shadow 0.6s ease;
      transform: rotate(-3deg);
    }

    .business-item:hover .business-image-wrapper {
      transform: rotate(0deg) scale(1.05);
      box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    }

    .business-image-wrapper::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
      z-index: 1;
      transition: opacity 0.4s;
    }

    .business-item:hover .business-image-wrapper::before {
      opacity: 0.5;
    }

    .business-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }

    .business-item:hover .business-image-wrapper img {
      transform: scale(1.1);
    }

    /* Placeholder icon for missing images */
    .business-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 100px;
      color: white;
      z-index: 2;
      transition: transform 0.4s ease;
    }

    .business-item:hover .business-icon {
      transform: translate(-50%, -50%) scale(1.2);
    }

    .coffee-gradient {
      background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    }

    .logging-gradient {
      background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    }

    .construction-gradient {
      background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    }

    /* Business Content */
    .business-content-wrapper {
      padding: 2.5rem;
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.08);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .business-item:hover .business-content-wrapper {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }

    .business-content-wrapper h3 {
      font-size: 2.2rem;
      margin-bottom: 1rem;
      color: #333;
      position: relative;
      padding-bottom: 1rem;
    }

    .business-content-wrapper h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 60px;
      height: 4px;
      background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
      border-radius: 2px;
    }

    .business-content-wrapper .business-category {
      color: #667eea;
      font-size: 0.95rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 1.5rem;
    }

    .business-content-wrapper p {
      color: #666;
      line-height: 1.8;
      margin-bottom: 1.2rem;
      font-size: 1rem;
    }

    .business-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .tag {
      background: #667eea;
      color: white;
      padding: 0.5rem 1.2rem;
      border-radius: 25px;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      border: 2px solid transparent;
    }

    .tag:hover {
      background: white;
      color: #667eea;
      border: 2px solid #667eea;
      transform: translateY(-2px);
    }

    /* Overlapping effect - Remove overlap, keep stacking */
    .business-item:nth-child(2) {
      margin-top: -3rem;
      z-index: 5;
    }

    .business-item:nth-child(3) {
      margin-top: -3rem;
    }

/* ===== MOBILE RESPONSIVE FOR RESEARCH PAGE ===== */
@media (max-width: 768px) {
  /* About Section - Profile */
  #about {
    padding: 3rem 1rem 2rem;
    clip-path: none;
    min-height: auto;
  }

  .profile-wrapper {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .section-title h3 {
    font-size: 1.8rem;
  }

  .section-title .subtitle {
    font-size: 1.1rem;
  }

  /* Stack profile image above text */
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .profile-image-container {
    text-align: center;
  }

  .profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .profile-info h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .profile-title {
    font-size: 1.1rem;
    text-align: center;
  }

  .profile-bio {
    font-size: 1rem;
    text-align: justify;
  }

  .profile-bio p {
    text-align: justify;
  }

  /* Stack experience cards */
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .experience-card {
    padding: 1.5rem;
  }

  .experience-card h4 {
    font-size: 1.2rem;
  }

  /* Business Portfolio - Stack all items */
  #projects {
    padding: 3rem 1rem 2rem;
    margin-top: 0;
  }

  .business-container {
    max-width: 100%;
  }

  /* Force all business items to stack: image on top, content below */
  .business-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .business-item:nth-child(2),
  .business-item:nth-child(3) {
    margin-top: 0;
  }

  /* Override all nth-child layouts to stack */
  .business-item:nth-child(1) .business-image-wrapper,
  .business-item:nth-child(2) .business-image-wrapper,
  .business-item:nth-child(3) .business-image-wrapper {
    grid-column: 1;
    grid-row: 1;
  }

  .business-item:nth-child(1) .business-content-wrapper,
  .business-item:nth-child(2) .business-content-wrapper,
  .business-item:nth-child(3) .business-content-wrapper {
    grid-column: 1;
    grid-row: 2;
  }

  .business-image-wrapper {
    height: 250px;
    transform: rotate(0deg);
  }

  .business-content-wrapper {
    padding: 1.5rem;
  }

  .business-content-wrapper h3 {
    font-size: 1.6rem;
  }

  .business-content-wrapper p {
    font-size: 0.95rem;
  }

  .tag {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 480px) {
  #about {
    padding: 2rem 0.75rem 1.5rem;
  }

  .section-title h3 {
    font-size: 1.5rem;
  }

  .section-title .subtitle {
    font-size: 1rem;
  }

  .profile-grid {
    padding: 1rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile-info h2 {
    font-size: 1.5rem;
  }

  .profile-title {
    font-size: 1rem;
  }

  .profile-bio {
    font-size: 0.9rem;
    text-align: justify;
  }

  .profile-bio p {
    text-align: justify;
  }

  .experience-card {
    padding: 1rem;
  }

  .experience-card h4 {
    font-size: 1.1rem;
  }

  #projects {
    padding: 2rem 0.75rem 1.5rem;
  }

  .business-image-wrapper {
    height: 200px;
  }

  .business-content-wrapper {
    padding: 1rem;
  }

  .business-content-wrapper h3 {
    font-size: 1.4rem;
  }

  .business-content-wrapper p {
    font-size: 0.9rem;
  }

  .tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }
}

/* ===== PORTFOLIO PAGE SPLIT DESIGN ===== */

/* Brand color token for consistency */
:root {
  --brand-purple: #5a3c83;
}

/* Background Linear Split */
.bglinear {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(90deg, #fff 50%, var(--brand-purple) 50%);
  position: fixed;
  top: 100px; /* Start below header */
  flex-shrink: 0;
  overflow: hidden;
  z-index: -10; /* Lower z-index to stay behind header */
  transition: all .1s ease;
  perspective: 1px;
  opacity: 1; /* Ensure full opacity */
}

/* Page Sections */
.page1, .page2, .page3 {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: transparent !important; /* Force transparent background */
  z-index: 1; /* Lower than header z-index */
  position: relative;
  padding: 0 5%;
}

/* Section Content & Images */
.section-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 45%;
}

.section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 45%;
}

.section-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.placeholder-icon {
  font-size: 8rem;
  color: rgba(133, 133, 133, 0.3);
  display: none;
}

/* Typography Styles */
.page1 .h1 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page1 .h2 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page2 .h3 {
  color: #000;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page2 .h4 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page3 .h5 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page3 .h6 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

/* Description Text */
.description {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 500px;
}

.page1 .description {
  color: white;
}

.page2 .description {
  color: white;
}

.page3 .description {
  color: white;
}

/* Navigation Arrows */
.page1 a, .page2 a, .page3 a {
  font-size: 24px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  background: rgba(220, 220, 220, 0.9);
  padding: 15px 20px;
  border-radius: 50%;
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
  z-index: 2; /* Lower than header */
}

.page1 a {
  bottom: 10%;
}

.page2 a {
  bottom: 10%;
}

.page3 a {
  bottom: 10%;
}

.page1 a:hover, .page2 a:hover, .page3 a:hover {
  background: rgba(220, 220, 220, 1);
  transform: translate(-50%, -5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page1, .page2, .page3 {
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    gap: 30px;
  }

  .section-image, .section-content {
    max-width: 100%;
    text-align: center;
  }

  .page1 .h1, .page1 .h2, 
  .page2 .h3, .page2 .h4,
  .page3 .h5, .page3 .h6 {
    font-size: 32px;
  }

  .bglinear span {
    font-size: 80px;
  }

  .description {
    font-size: 14px;
    max-width: 100%;
  }

  .section-image img {
    max-height: 250px;
  }
}

    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }

      .section-panel {
        flex-direction: column;
        padding: 100px 5% 20px;
        justify-content: flex-start;
        gap: 2rem;
      }

      .section-image,
      .section-content {
        width: 100%;
        height: auto;
      }

      .section-image {
        height: 50vh;
      }

      .image-wrapper {
        height: 100%;
      }

      .content-card {
        padding: 2rem;
      }

      .section-title {
        font-size: 2rem;
      }
    }

    /* ===== PORTFOLIO PAGE SPLIT DESIGN ===== */

/* Brand color token for consistency */
:root {
  --brand-purple: #5a3c83;
}

/* Background Linear Split */
.bglinear {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(90deg, #fff 50%, var(--brand-purple) 50%);
  position: fixed;
  top: 100px; /* Start below header */
  flex-shrink: 0;
  overflow: hidden;
  z-index: -10; /* Lower z-index to stay behind header */
  transition: all .1s ease;
  perspective: 1px;
  opacity: 1; /* Ensure full opacity */
}

/* Page Sections */
.page1, .page2, .page3 {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: transparent !important; /* Force transparent background */
  z-index: 1; /* Lower than header z-index */
  position: relative;
  padding: 0 5%;
}

/* Section Content & Images */
.section-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 45%;
}

.section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 45%;
}

.section-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.placeholder-icon {
  font-size: 8rem;
  color: rgba(133, 133, 133, 0.3);
  display: none;
}

/* Typography Styles */
.page1 .h1 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page1 .h2 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page2 .h3 {
  color: #000;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page2 .h4 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page3 .h5 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.page3 .h6 {
  color: black;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

/* Description Text */
.description {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 500px;
}

.page1 .description {
  color: white;
}

.page2 .description {
  color: white;
}

.page3 .description {
  color: white;
}

/* Navigation Arrows */
.page1 a, .page2 a, .page3 a {
  font-size: 24px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  background: rgba(220, 220, 220, 0.9);
  padding: 15px 20px;
  border-radius: 50%;
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
  z-index: 2; /* Lower than header */
}

.page1 a {
  bottom: 10%;
}

.page2 a {
  bottom: 10%;
}

.page3 a {
  bottom: 10%;
}

.page1 a:hover, .page2 a:hover, .page3 a:hover {
  background: rgba(220, 220, 220, 1);
  transform: translate(-50%, -5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page1, .page2, .page3 {
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    gap: 30px;
  }

  .section-image, .section-content {
    max-width: 100%;
    text-align: center;
  }

  .page1 .h1, .page1 .h2, 
  .page2 .h3, .page2 .h4,
  .page3 .h5, .page3 .h6 {
    font-size: 32px;
  }

  .bglinear span {
    font-size: 80px;
  }

  .description {
    font-size: 14px;
    max-width: 100%;
  }

  .section-image img {
    max-height: 250px;
  }
}

    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }

      .section-panel {
        flex-direction: column;
        padding: 100px 5% 20px;
        justify-content: flex-start;
        gap: 2rem;
      }

      .section-image,
      .section-content {
        width: 100%;
        height: auto;
      }

      .section-image {
        height: 50vh;
      }

      .image-wrapper {
        height: 100%;
      }

      .content-card {
        padding: 2rem;
      }

      .section-title {
        font-size: 2rem;
      }
    }

    
/* ===== PORTFOLIO ARCH LAYOUT (NEW) ===== */
.portfolio-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Outfit', 'Poppins', sans-serif;
}

.spacer-portfolio {
  width: 100%;
  height: 30vh;
}

.arch {
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 40px;
  min-height: 300vh;
}

/* Remove the previous centering attempt and use this instead */
.portfolio-container .arch {
  margin-inline: auto;
  width: fit-content;
}

@media (max-width: 1000px) {
  .portfolio-container .arch {
    width: auto;
  }
}

.arch__left {
  display: flex;
  flex-direction: column;
  min-width: 500px;
  max-width: 500px;
  flex: 0 0 auto;
}

.arch__left .arch__info {
  max-width: 500px;
  height: 120vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0;
}

.arch__info h2.header {
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800; 
  letter-spacing: -0.96px;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px; /* Added proper spacing */
}

.arch__info p.desc {
  color: white;
  font-size: 22px;
  letter-spacing: -0.36px;
  margin-bottom: 32px;
  line-height: 1.5;
  text-align: justify;
}

.arch__info a.link {
  text-decoration: none;
  padding: 14px 24px;
  color: #121212;
  border-radius: 40px;
  display: flex;
  gap: 8px;
  width: fit-content;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(18, 18, 18, 0.1); /* Added subtle border */
  font-weight: 500;

}

.arch__info a.link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border-color: rgba(18, 18, 18, 0.2);
}

.arch__right {
  flex-shrink: 0;
  height: 100vh;
  width: 450px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch__right .img-wrapper {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 400px;
  width: 550px;
  border-radius: 20px;
  overflow: hidden;
}

.arch__right .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .arch {
    gap: 30px;
    max-width: 1000px;
  }
}

@media (max-width: 768px) {
  .arch {
    flex-direction: column;
    gap: 20px;
  }

  .arch__left,
  .arch__right {
    display: contents;
  }

  .arch__right {
    height: auto;
    max-width: 100%;
  }

  .arch__right .img-wrapper {
    position: static;
    transform: none;
    height: 360px;
    width: 100%;
    margin-bottom: 20px;
  }

  .arch__left .arch__info {
    height: auto;
    padding: 20px 0;
  }
}

@media (max-width: 560px) {
  .arch {
    gap: 12px;
  }

  .portfolio-container {
    padding: 10px;
  }

  .arch__right .img-wrapper {
    border-radius: 10px;
    height: 280px;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;800&display=swap");

body {
  color: #121212;
  font-family: "Outfit", sans-serif;
  background-color: #f9ffe7;
}

/* ===== BUSINESS PAGE STYLES ===== */
.business-showcase {
  padding: 80px 5%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.business-showcase-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.business-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.business-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.business-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.business-card.reverse .business-card-image {
  order: 2;
}

.business-card.reverse .business-card-content {
  order: 1;
}

.business-card-image {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.business-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.business-card:hover .business-card-image img {
  transform: scale(1.1);
}

.business-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90, 60, 131, 0.8) 0%, rgba(90, 60, 131, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.business-card:hover .business-overlay {
  opacity: 1;
}

.business-overlay i {
  font-size: 80px;
  color: white;
  transform: scale(0.5);
  transition: transform 0.4s ease;
}

.business-card:hover .business-overlay i {
  transform: scale(1);
}

.coffee-gradient {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(210, 105, 30, 0.6) 100%);
}

.logging-gradient {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.8) 0%, rgba(50, 205, 50, 0.6) 100%);
}

.business-card-content {
  padding: 20px;
}

.business-card-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 15px;
}

.business-card-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #5a3c83, #a78bfa);
  border-radius: 2px;
}

.business-category {
  color: #5a3c83;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.business-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  text-align: justify;
}

.business-highlights {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #333;
}

.highlight-item i {
  color: #5a3c83;
  font-size: 1.2rem;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5a3c83 0%, #7c3aed 100%);
  color: white;
  padding: 16px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(90, 60, 131, 0.3);
}

.learn-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(90, 60, 131, 0.4);
  background: linear-gradient(135deg, #7c3aed 0%, #5a3c83 100%);
}

.learn-more-btn i {
  transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
  transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .business-card,
  .business-card.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px;
  }

  .business-card.reverse .business-card-image,
  .business-card.reverse .business-card-content {
    order: unset;
  }

  .business-card-image {
    height: 350px;
  }

  .business-card-content h2 {
    font-size: 2.2rem;
  }

  .business-showcase-container {
    gap: 60px;
  }
}

@media (max-width: 600px) {
  .business-showcase {
    padding: 50px 3%;
  }

  .business-card {
    padding: 25px;
  }

  .business-card-image {
    height: 280px;
  }

  .business-card-content h2 {
    font-size: 1.8rem;
  }

  .business-description {
    font-size: 0.95rem;
  }

  .learn-more-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

:root {
  --color-black: hsla(0, 0%, 12%, 100%);
  --color-white: hsla(0, 0%, 100%, 100%);
  --color-purple: hsla(278, 100%, 75%, 100%);
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
}

main {
  margin: 0;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
  flex: 1 0 auto;
}

.heading-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, -2000px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: clamp(200px, 30vw, 400px);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}

.heading {
  font-family: 'Gloock', serif;
  font-size: clamp(3.125rem, 3.464vw + 2.229rem, 5rem);
  line-height: clamp(4.688rem, 3.349vw + 3.821rem, 6.5rem);
  margin: 6.25rem 0;
  text-align: center;
  position: relative;
  margin: 0;
  white-space: nowrap;
  z-index: 1;
} 

.zoom-container {
  display: none;
}

/* Scroll Down Indicator */
.scroll-indicator { display: none; }

.scroll-indicator span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.scroll-arrow {
  font-size: 1.5rem;
  animation: bounceArrow 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.zoom-item {
  position: absolute;
  transform-origin: center center;
}
.zoom-item[data-layer="3"] {
  opacity: 0.6;
  z-index: 3;
}
.zoom-item[data-layer="2"] {
  opacity: 0.4;
  z-index: 2;
}
.zoom-item[data-layer="1"] {
  opacity: 0.2;
  z-index: 1;
}
.zoom-item:nth-child(2) {
  left: 15vw;
  top: 21%;
  width: 11.5vw;
}
.zoom-item:nth-child(3) {
  left: 29%;
  top: 15%;
  width: 9.2vw;
}
.zoom-item:nth-child(4) {
  left: 36%;
  top: 3%;
  width: 11.5vw;
}
.zoom-item:nth-child(5) {
  right: 30%;
  top: 11%;
  width: 7.6vw;
}
.zoom-item:nth-child(6) {
  bottom: auto;
  right: 7%;
  top: 28%;
  width: 13.2vw;
}
.zoom-item:nth-child(7) {
  bottom: 32%;
  right: 3.5%;
  width: 4.7vw;
}
.zoom-item:nth-child(8) {
  bottom: 13.5%;
  left: 16%;
  width: 10.5vw;
}
.zoom-item:nth-child(9) {
  bottom: 24%;
  left: 29%;
  width: 5.9vw;
}
.zoom-item:nth-child(10) {
  bottom: 46%;
  left: 7.5%;
  top: auto;
  width: 5.2vw;
}
.zoom-item:nth-child(11) {
  bottom: 5.5%;
  right: 15%;
  width: 15vw;
}
.zoom-item:nth-child(12) {
  bottom: 10.5%;
  left: auto;
  right: 38%;
  width: 8.3vw;
}
.zoom-item:nth-child(13) {
  right: 4%;
  top: 5%;
  width: 6.1vw;
}
.zoom-item:not(.heading) {
  max-height: 300px;
  max-width: 300px;
}
.zoom-item img {
  width: 100%;
}

.section-stick { display: none; }

.section-stick::after { display: none; }

/* Info Cards Section */
.info-cards-section {
  position: relative;
  z-index: 7;
  min-height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 6rem;
  padding-bottom: 12rem;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.8) 90%, #000 100%);
}

.info-cards-container {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  width: 100%;
  opacity: 1;
}

.info-card {
  flex: 1;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  outline: none;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(138, 43, 226, 0.4);
  text-decoration: none;
}

.info-card:focus {
  outline: none;
  text-decoration: none;
}

.info-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  transition: background 0.3s ease;
}

.info-card:hover .info-card-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.info-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: white;
}

.info-card-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.info-card-content p {
  font-size: 1rem;
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
  .info-cards-section {
    padding: 2rem 1rem;
    padding-bottom: 12rem;
  }
  
  .info-cards-container {
    flex-direction: column;
    gap: 1.5rem;
    width: 85%;
    max-width: 100%;
  }
  
  .info-card {
    min-height: 400px;
    width: 100%;
  }
  
  .info-card-content h3 {
    font-size: 1.5rem;
  }
  
  .info-card-content p {
    font-size: 0.9rem;
  }
}

body.scrolled-to-end footer {
  opacity: 1;
}

.opacity-reveal {
  position: relative;
  z-index: 1;
}

footer {
  position: relative;
  z-index: 10 !important;
  transform: none;
  isolation: isolate;
  margin-top: auto;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
  will-change: auto;
}

::after,::before{
  box-sizing:border-box}html{
    font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';
    line-height:1.15;
    -webkit-text-size-adjust:100%;
    tab-size:4
  }
  
  body{
    margin:0
  }
  
  b,strong{
    font-weight:bolder
  }
  
  code,kbd,pre,samp{
    font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;
    font-size:1em
  }
  small{
    font-size:80%
  }
  
  sub,sup{
    font-size:75%;
    line-height:0;
    position:relative;
    vertical-align:baseline
  }
  
  sub{
    bottom:-.25em
  }
  
  sup{
    top:-.5em
  }
  
  table{
    border-color:currentcolor
  }
  
  button,input,optgroup,select,textarea{
    font-family:inherit;
    font-size:100%;
    line-height:1.15;
    margin:0
  }
  
  [type=button],[type=reset],[type=submit],button{
    -webkit-appearance:button
  }
  
  legend{
    padding:0
  }
  
  progress{
    vertical-align:baseline
  }
  
  ::-webkit-inner-spin-button,::-webkit-outer-spin-button{
    height:auto
  }
  
  [type=search]{
    -webkit-appearance:textfield;outline-offset:-2px
  }
  
  ::-webkit-search-decoration{
    -webkit-appearance:none
  
  }::-webkit-file-upload-button{
    -webkit-appearance:button;
    font:inherit
  }
  
  summary{
    display:list-item
  }