:root {
  --primary: #eb4b11;
  --secondary: #1b4f91;
  --dark: #0e1a2a;
  --text: #2f2f2f;
  --muted: #6c6c6c;
  --bg: #f7f7fa;
  --gray: #eef1f6;
  font-family: 'Barlow', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  overflow-x: hidden;
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
}

.hero {
  /* background: linear-gradient(180deg, #cc172f 0%, rgba(163, 115, 126, 0.85) 60%, #ec5c5c 100%); */
  /*
* Created with https://www.css-gradient.com
* Gradient link: https://www.css-gradient.com/?c1=f7a68a&c2=ff6a5e&gt=l&gd=dtl
*/
  background: #f7a68a;
  background: linear-gradient(135deg, #F7A68A, #FF6A5E);
  color: #e9e6e6;
  padding-bottom: 4rem;
  padding-top: 6rem;
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(235, 75, 17, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(27, 79, 145, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1rem;
  /* background: #000000; */
  background: #F7A68A;
  background: linear-gradient(135deg, #F7A68A, #FF6A5E);
  border-radius: 20px;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 1000;
  flex-wrap: wrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar:hover {
  background: #F7A68A;
  background: linear-gradient(135deg, #F7A68A, #FF6A5E);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 270px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.brand:hover img {
  transform: scale(1.05);
}

.brand h1 {
  margin: 0;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.brand p {
  margin: 0;
  letter-spacing: 0.05em;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  color: #fff;
  font-size: 1.5rem;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
  border-radius: 5px;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle::after {
  content: '▾';
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.nav-toggle.active::after {
  transform: rotate(180deg);
}

.nav-links,
.auth-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--primary);
  width: 0;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 80%;
}

.explore-dropdown {
  position: relative;
  overflow: visible;
}

.explore-toggle {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.explore-toggle .chevron {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.explore-dropdown:hover .explore-toggle {
  transform: translateY(-2px);
}

.explore-dropdown:hover .explore-toggle .chevron {
  transform: rotate(180deg);
}

.explore-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  width: 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 2000;
}

.explore-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0.75rem;
  background: transparent;
}

.explore-dropdown:hover .explore-menu,
.explore-dropdown:focus-within .explore-menu,
.explore-dropdown.active .explore-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-item {
  background: #f7f8fb;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
  position: relative;
}

.menu-item:hover {
  background: #eef2ff;
}

.menu-item.simple-link {
  justify-content: flex-start;
  gap: 0.5rem;
}

.menu-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef2ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4c1d95;
  font-size: 0.9rem;
}

.menu-icon.student::before {
  content: '🎓';
}

.menu-icon.download::before {
  content: '⭳';
}

.menu-icon.share::before {
  content: '⤴';
}

.menu-item .chevron {
  color: #9ca3af;
  font-size: 0.85rem;
}

.menu-item.has-child {
  padding-right: 0.9rem;
}

.sub-menu {
  position: absolute;
  top: 0;
  left: calc(100% - 4px);
  width: 210px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.2s ease;
  z-index: 2100;

}

.menu-item.has-child:hover .sub-menu,
.menu-item.has-child:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.sub-menu a {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sub-menu a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4c1d95;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.sub-menu a:hover {
  background: #eef2ff;
  transform: translateX(3px);
}

.sub-menu a:hover::before {
  opacity: 1;
}


.auth-links button {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.auth-links button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
}

.auth-links .signed-in {
  font-weight: 600;
}

.hide {
  display: none !important;
}

/* New Carousel Styles */
.container {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1130px;
  height: 400px;
  min-height: 250px;
  background: #f5f5f5;
  box-shadow: 0 30px 50px #dbdbdb;
  border-radius: 20px;
  z-index: 1;
}

.container .slide {
  border-radius: 20px;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.container .slide .item {
  width: 200px;
  height: 250px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 30px 50px #505050;
  background-position: 50% 50%;
  background-size: cover;
  display: inline-block;
  transition: all 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  transition: all .5s;
}

.slide .item:nth-child(3) {
  left: 50%;
}

.slide .item:nth-child(4) {
  left: calc(50% + 220px);
}

.slide .item:nth-child(5) {
  left: calc(50% + 440px);
}

.slide .item:nth-child(n + 6) {
  left: calc(50% + 660px);
  opacity: 0;
}

.item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  max-width: calc(100% - 40px);
  text-align: left;
  color: #eee;
  transform: translate(0, -50%);
  font-family: system-ui;
  display: none;
}

.slide .item:nth-child(2) .content {
  display: block;
}

.content .name {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.673);
  transition: all 0.5s;
  animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content button:hover {
  background-color: rgb(255, 255, 255);
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

.button {
  display: flex;
  flex-direction: row;
  gap: 20px;
  left: 45%;
  right: 50%;
  width: 100%;
  align-items: center;
  text-align: center;
  position: absolute;
  bottom: 20px;
}

.button button {
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border: 2px solid #000000bd;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.578);
}

.button button:hover {
  color: #000000;
  border: 2px solid #ffffffbd;
  transform: scale(1.1);
}

.button button:focus {
  transform: scale(1.1);
  background: #ffffff;
  border: 2px solid #ffffffbd;
}

.button button:active {
  transform: scale(1.02);
}

.next {
  padding: 0 0 0 3px;
}

.prev {
  padding: 0 3px 0 0;
}

.MDJAminDiv {
  z-index: 4444;
  position: fixed;
  bottom: 5%;
  left: 2%;
}

.MDJAmin {
  text-decoration: none;
  border-bottom: 1px dashed rgb(44, 44, 44);
  border-top: 1px dashed rgb(44, 44, 44);
  padding: 4px 0;
  color: rgba(44, 44, 44, 0.525);
  font-family: monospace;
  font-style: italic;
  font-size: 1.1em;
  transition: all 0.5s;
}

.MDJAmin:hover {
  color: #000000;
}

/* Tablet View (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .container {
    width: 85%;
    max-width: 700px;
    height: 350px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .container .slide {
    overflow: hidden;
  }

  .container .slide .item {
    width: 180px;
    height: 220px;
  }

  .slide .item:nth-child(4) {
    left: calc(50% + 200px);
  }

  .slide .item:nth-child(5) {
    left: calc(50% + 400px);
  }

  .slide .item:nth-child(n + 6) {
    left: calc(50% + 600px);
  }

  .item .content {
    left: 60px;
    width: 250px;
  }

  .content .name {
    font-size: 32px;
  }

  .content .des {
    font-size: 14px;
  }


}

/* Mobile View (max-width: 768px) */
@media screen and (max-width: 768px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
    display: block;
    padding: 0;
  }

  /* #session{
    font-size: 25px;
  } */



  .container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 95%;
    max-width: 100%;
    height: 300px;
    margin: 0 auto;
  }

  .container .slide {
    overflow: hidden;
    position: relative;
  }

  .container .slide .item {
    width: 150px;
    height: 200px;
  }

  .slide .item:nth-child(1),
  .slide .item:nth-child(2) {
    width: 100%;
    height: 100%;
    left: 0 !important;
  }

  .slide .item:nth-child(3) {
    left: 50%;
  }

  .slide .item:nth-child(4) {
    left: calc(50% + 160px);
  }

  .slide .item:nth-child(5) {
    left: calc(50% + 320px);
    opacity: 0.3;
  }

  .slide .item:nth-child(n + 6) {
    left: calc(50% + 480px);
    opacity: 0;
  }

  .item .content {
    left: 20px;
    width: calc(100% - 40px);
    padding: 0 10px;
  }

  .content .name {
    font-size: 24px;
  }

  .content .des {
    font-size: 12px;
    margin-top: 8px;
    margin-bottom: 15px;
  }

  .content button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .button {
    left: 40%;
    bottom: 15px;
    gap: 15px;
  }

  .button button {
    width: 45px;
    height: 40px;
    font-size: 18px;
  }

  .MDJAminDiv {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
  }

  .MDJAmin {
    font-size: 0.9em;
  }
}

/* Small Mobile View (max-width: 480px) */
@media screen and (max-width: 480px) {
  body {
    padding: 15px 0;
  }

  .container {
    height: 250px;
    margin: 0 auto;
    border-radius: 15px;
  }

  .container .slide {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
  }

  .container .slide .item {
    width: 120px;
    height: 170px;
    border-radius: 15px;
  }

  .slide .item:nth-child(1),
  .slide .item:nth-child(2) {
    width: 100%;
    height: 100%;
    left: 0 !important;
    border-radius: 15px;
  }

  .slide .item:nth-child(3) {
    left: 50%;
  }

  .slide .item:nth-child(4) {
    left: calc(50% + 130px);
    opacity: 0.2;
  }

  .slide .item:nth-child(5) {
    left: calc(50% + 260px);
    opacity: 0;
  }

  .slide .item:nth-child(n + 6) {
    left: calc(50% + 390px);
    opacity: 0;
  }

  .item .content {
    left: 15px;
    width: calc(100% - 30px);
  }

  .content .name {
    font-size: 20px;
  }

  .content .des {
    font-size: 11px;
    margin-top: 5px;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .content button {
    padding: 6px 12px;
    font-size: 12px;
  }

  .button {
    left: 35%;
    bottom: 10px;
    gap: 10px;
  }

  .button button {
    width: 40px;
    height: 35px;
    font-size: 16px;
    line-height: 1.6;
  }

  .online-workshop {
    padding: 2rem 1rem;
  }

  .updates-content {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 0 1rem;
  }

  .updates-content iframe {
    max-width: 100%;
    width: 340px;
    height: 500px;
  }

  .updates-image {
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    height: auto;
  }
}


@media (max-width: 1024px) {
  .online-workshop {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .online-workshop {
    padding: 1.25rem 0.5rem;
  }

  .online-workshop .section-heading h2 {
    font-size: 1.75rem;
  }

  .online-workshop .section-heading p {
    font-size: 1rem;
  }

  .para-session {
    font-size: 1rem;
    line-height: 1.7;
  }

  .updates-content {
    gap: 30px;
    padding: 0 0.5rem;
  }

  .updates-content iframe {
    width: 100%;
    max-width: 340px;
  }

  .updates-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .online-workshop {
    padding: 1rem 0.25rem;
  }

  .online-workshop .section-heading h2 {
    font-size: 1.5rem;
  }

  .online-workshop .section-heading p {
    font-size: 0.95rem;
  }

  .para-session {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

.primary,
.viewbtn {
  background: var(--primary);
  color: #151212;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 10px 25px rgba(235, 75, 17, 0.35);
}

.primary:hover,
.viewbtn:hover {
  background: #f0f0f0;
  color: #0b0a0a;
  transform: translateY(-2px);
}

.primary:active,
.viewbtn:active {
  transform: translateY(0);
}

.secondary {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(14, 26, 42, 0.25);
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

main {
  background: #fff;
}

.section {
  padding: 5rem 1rem;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.gray {
  background: var(--gray);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-heading h2 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-heading p {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.5rem;
}

.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-text p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.about-media img {
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.about-media:hover img {
  transform: scale(1.05) rotate(1deg);
}

.card-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(15, 23, 42, 0.05);
  overflow: hidden;
  position: relative;
}

.project-link {
  text-decoration: none;
  font-weight: 500;
  width: 100%;
}

.project-link:hover {
  text-decoration: none;
  color: var(--primary)
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  border-color: rgba(235, 75, 17, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card img {
  border-radius: 1rem;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.card:hover img {
  transform: scale(1.1);
}

.card h3 {
  margin: 0.5rem 0 0 0;
  color: var(--dark);
  font-size: 1.3rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--primary);
}

.card p {
  margin: 0.5rem 0;
  color: var(--muted);
  line-height: 1.7;
  flex-grow: 1;
}

.carousel {
  --items: 6;
  --carousel-duration: 40s;
  --carousel-width: min(90vw, 1200px);
  --carousel-item-width: 280px;
  --carousel-item-height: 450px;
  --carousel-item-gap: 2rem;
  position: relative;
  width: var(--carousel-width);
  height: var(--carousel-item-height);
  margin: 0 auto;
  overflow: clip;
}

@media (min-width: 600px) {
  .carousel {
    --carousel-duration: 30s;
  }
}

.carousel[mask] {
  mask-image: linear-gradient(to right, transparent, black 10% 90%, transparent);
}

.carousel:hover article {
  animation-play-state: paused;
}

.carousel .product-card {
  position: absolute;
  top: 0;
  left: calc(100% + var(--carousel-item-gap));
  width: var(--carousel-item-width);
  height: var(--carousel-item-height);
  display: block;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  animation: products-marquee var(--carousel-duration) linear infinite;
  animation-delay: calc(var(--carousel-duration) / var(--items) * var(--i) * -1);
  box-shadow: 0 20px 45px rgba(5, 8, 20, 0.35);
}

.carousel .product-card:nth-child(1) {
  --i: 0;
}

.carousel .product-card:nth-child(2) {
  --i: 1;
}

.carousel .product-card:nth-child(3) {
  --i: 2;
}

.carousel .product-card:nth-child(4) {
  --i: 3;
}

.carousel .product-card:nth-child(5) {
  --i: 4;
}

.carousel .product-card:nth-child(6) {
  --i: 5;
}

.carousel .product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  padding: 0.5rem;
  display: block;
}

.carousel .product-card h2 {
  margin: 0;
  padding: 0.75rem 1rem 0.25rem;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.carousel .product-card div {
  padding: 0 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 0.75rem;
}

.carousel .product-card a {
  justify-self: flex-start;
}

@keyframes products-marquee {
  100% {
    transform: translateX(calc((var(--items) * (var(--carousel-item-width) + var(--carousel-item-gap))) * -1));
  }
}

.mou-content {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .mou-content {
    padding: 0 1rem;
  }

  .mou-intro p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .mou-content {
    padding: 0 0.5rem;
  }

  .mou-intro p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .mou-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    font-size: 2rem;
  }

  .mou-card h3 {
    font-size: 1.25rem;
  }

  .mou-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .mou-intro p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .mou-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .mou-card h3 {
    font-size: 1.15rem;
  }

  .mou-card p {
    font-size: 0.9rem;
  }
}

.mou-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.mou-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

.mou-card {
  text-align: center;
  position: relative;
}

.mou-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: #fff;
  font-size: 2.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(235, 75, 17, 0.25);
  position: relative;
}

.mou-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.2;
  z-index: -1;
  transition: all 0.4s ease;
}

.mou-icon i {
  z-index: 1;
  position: relative;
}

.mou-card:hover .mou-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(235, 75, 17, 0.4);
}

.mou-card:hover .mou-icon::before {
  transform: scale(1.2);
  opacity: 0.3;
}

.mou-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(235, 75, 17, 0.05), rgba(27, 79, 145, 0.05));
  border-radius: 1.5rem;
  border: 2px solid rgba(235, 75, 17, 0.1);
}

.mou-cta p {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 1.5rem 0;
  line-height: 1.7;
}

.mou-cta .primary {
  display: inline-block;
  text-decoration: none;
}

/* MOU Image Slider Styles */
.mou-partners {
  margin-top: 4rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .mou-partners {
    margin-top: 3rem;
  }

  .mou-partners h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .mou-partners {
    margin-top: 2.5rem;
  }

  .mou-partners h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .mou-image-slider-container {
    padding: 1.5rem 0;
  }

  .mou-slide-item {
    flex: 0 0 calc(100% - 1rem);
    min-width: 280px;
    margin: 0 0.5rem;
  }

  .mou-slide-item img {
    height: 200px;
  }

  .mou-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .mou-prev {
    left: 10px;
  }

  .mou-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .mou-partners {
    margin-top: 2rem;
  }

  .mou-partners h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .mou-image-slider-container {
    padding: 1rem 0;
  }

  .mou-slide-item {
    flex: 0 0 calc(100% - 0.75rem);
    min-width: 260px;
    margin: 0 0.375rem;
  }

  .mou-slide-item img {
    height: 180px;
  }

  .mou-slider-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

.mou-partners h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--dark);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mou-image-slider-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.mou-image-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.mou-image-slider::-webkit-scrollbar {
  display: none;
}

.mou-slide-item {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: 300px;
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mou-slide-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mou-slide-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.mou-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(235, 75, 17, 0.3);
}

.mou-slider-btn:hover {
  background: var(--secondary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(235, 75, 17, 0.4);
}

.mou-prev {
  left: -25px;
}

.mou-next {
  right: -25px;
}

.contact-info {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.contact-info:hover {
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.contact-info p {
  font-size: 1.05rem;
  margin: 0.75rem 0;
  padding: 0.85rem 1.15rem;
  background: rgba(235, 75, 17, 0.05);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info p:hover {
  background: rgba(235, 75, 17, 0.1);
  transform: translateX(5px);
  border-left-width: 6px;
}

.contact-info p strong {
  color: var(--primary);
  font-weight: 700;
  min-width: 80px;
}

.contact-map {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.contact-map:hover {
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.contact-map iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-map iframe:hover {
  transform: scale(1.02);
}

.contact-form-wrapper {
  grid-column: 2;
  grid-row: 1 / 3;
}

/* Trainees Section */
.trainees-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.trainee-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.trainee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border-color: rgba(235, 75, 17, 0.2);
}

.trainee-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.trainee-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.trainee-card:hover .trainee-image::before {
  opacity: 0.5;
}

.trainee-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trainee-card:hover .trainee-image img {
  transform: scale(1.1);
}

.trainee-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.trainee-info h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  transition: color 0.3s ease;
}

.trainee-card:hover .trainee-info h3 {
  color: var(--primary);
}

.trainee-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.trainee-company {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

.trainee-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0.35rem 0 0 0;
  font-style: italic;
}

/* Testimonials Section */
.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonials-slider {
  position: relative;
  min-height: 300px;
}

.testimonial-slide {
  display: none;
  text-align: center;
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.stars i {
  font-size: 1.5rem;
  color: #FFD700;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin: 0 0 1.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-role {
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(235, 75, 17, 0.5);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary);
  width: 14px;
  height: 14px;
}

.contact-form {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
}

.contact-form .form-title {
  margin: 0 0 1rem 0;
  color: var(--dark);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-form:hover {
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--dark);
  gap: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(15, 23, 42, 0.15);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  font-family: inherit;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(15, 23, 42, 0.4);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(235, 75, 17, 0.1);
  transform: translateY(-2px);
  background: #fff;
}

.contact-form button[type="submit"] {
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(235, 75, 17, 0.3);
}

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 4rem 1.5rem 2rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-brand h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.4rem;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: #fff;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

dialog.modal {
  border: none;
  border-radius: 1.5rem;
  padding: 0;
  max-width: 450px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

#login-modal .modal-box {
  width: 350px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.modal-box {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.modal-title {
  margin: 0;
  color: var(--dark);
}

.modal-description {
  margin-top: 0;
  color: var(--muted);
}

.modal-box label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--dark);
}

.modal-box input {
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.modal-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(235, 75, 17, 0.1);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Large laptop / desktop */
@media (min-width: 1280px) {
  .section {
    padding: 5rem 0;
  }

  .slide img {
    height: 520px;
  }
}

/* Standard laptop */
@media (max-width: 1200px) {
  .navbar {
    padding: 1.25rem 2rem;
  }

  .section {
    padding: 3.75rem 1.75rem;
  }

  .slide img {
    height: 400px;
  }
}

/* Tablets & small laptops */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    backdrop-filter: blur(10px);
  }

  .nav-panel.open {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
  }

  .explore-dropdown {
    width: 100%;
  }

  .explore-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }

  .explore-menu {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .explore-dropdown.active .explore-menu {
    display: flex;
  }

  .menu-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 6px;
  }

  .sub-menu {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.8rem;
    margin-top: 0.5rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .menu-item.has-child.active .sub-menu {
    display: flex;
  }

  .sub-menu a {
    padding: 0.6rem;
    border-radius: 4px;
  }

  .auth-links {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .auth-links button {
    width: 100%;
    padding: 1rem;
  }
}

.slide img {
  height: 360px;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-grid {
  grid-template-columns: minmax(0, 1fr);
}

.contact-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-form-wrapper {
  grid-column: 1;
  grid-row: auto;
}

.carousel-controls {
  display: none;
}

/* Mobile phones */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    width: calc(100% - 1rem);
    top: 0.5rem;
  }

  .slide-content {
    padding: 1.5rem;
  }

  .slide h2 {
    font-size: 1.4rem;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel {
    margin: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .brand h1 {
    font-size: 1.1rem;
  }

  .primary,
  .secondary {
    width: 100%;
    text-align: center;
  }
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    padding: 1.25rem 1rem;
  }

  .brand img {
    width: 220px;
  }

  .nav-links a {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 5rem;
    min-height: 500px;
  }

  .container {
    width: 95%;
  }

  .item .content {
    padding: 1.5rem;
  }

  .item .name {
    font-size: 1.8rem;
  }

  .item .des {
    font-size: 0.95rem;
  }

  .online-workshop>div:first-child {
    width: 100%;
    padding: 0 1rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }

  .contact-info-box,
  .contact-map,
  .contact-form-wrapper {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-map {
    height: 250px;
  }

  .about-grid {
    gap: 2rem;
  }

  .about-text p {
    font-size: 1.05rem;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #eb4b11, #ff6a5e);
    border-radius: 15px;
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .nav-panel.open {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  .nav-panel.open .nav-links,
  .nav-panel.open .auth-links {
    display: flex;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #fff;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: none;
    color: #fff;
  }

  .explore-dropdown {
    width: 100%;
  }

  .explore-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
  }

  .explore-menu {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .explore-dropdown.active .explore-menu {
    display: flex;
  }

  .menu-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    color: #fff;
  }

  .sub-menu {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.8rem;
    margin-top: 0.5rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .menu-item.has-child.active .sub-menu {
    display: flex;
  }

  .sub-menu a {
    padding: 0.6rem;
    border-radius: 4px;
    color: #fff;
  }

  .auth-links {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .auth-links button {
    width: 100%;
    padding: 1rem;
    color: #fff;
  }

  .hero {
    padding-top: 4rem;
    min-height: 450px;
  }

  .item .content {
    padding: 1.25rem;
  }

  .item .name {
    font-size: 1.6rem;
  }

  .online-workshop {
    padding: 1.5rem 0;
  }

  .online-workshop>div:first-child {
    padding: 0 0.75rem;
  }

  .online-workshop>div:last-child {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .online-workshop iframe,
  .online-workshop img {
    width: 90%;
    max-width: 340px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form-wrapper {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-form {
    padding: 2rem;
  }

  .contact-form .form-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    width: calc(100% - 1rem);
    top: 0.5rem;
    border-radius: 15px;
  }

  .brand img {
    width: 200px;
  }

  .hero {
    padding-top: 3.5rem;
    min-height: 400px;
    padding-bottom: 3rem;
  }

  .container {
    width: 100%;
    padding: 0 0.5rem;
  }

  .slide {
    height: 350px;
  }

  .item .content {
    padding: 1rem;
  }

  .item .name {
    font-size: 1.4rem;
  }

  .item .des {
    font-size: 0.9rem;
  }

  .button .prev,
  .button .next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .section-heading h2::after {
    bottom: -8px;
    width: 50px;
    height: 3px;
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  .online-workshop {
    padding: 1.25rem 0;
  }

  .online-workshop>div:first-child {
    padding: 0 0.5rem;
  }

  .para-session {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-box,
  .contact-map,
  .contact-form-wrapper {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-info-box {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-icon i {
    font-size: 1.1rem;
  }

  .contact-details h4 {
    font-size: 0.95rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  .contact-map {
    height: 250px;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .trainees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .trainee-image {
    height: 180px;
  }

  .trainee-info {
    padding: 0.9rem;
  }

  .testimonial-slide {
    padding: 2rem 1.5rem;
  }

  .stars i {
    font-size: 1.3rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-name {
    font-size: 1.2rem;
  }

  .site-footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem;
    top: 0.25rem;
    border-radius: 12px;
  }

  .brand img {
    width: 180px;
  }

  .nav-toggle {
    font-size: 1.3rem;
    padding: 0.4rem;
  }

  .hero {
    padding-top: 3rem;
    min-height: 350px;
    padding-bottom: 2.5rem;
  }

  .slide {
    height: 300px;
  }

  .item .content {
    padding: 0.75rem;
  }

  .item .name {
    font-size: 1.2rem;
  }

  .item .des {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .button .prev,
  .button .next {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .section {
    padding: 2.5rem 0.75rem;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .section-heading p {
    font-size: 0.9rem;
  }

  .trainees-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .trainee-image {
    height: 180px;
  }

  .trainee-info {
    padding: 1rem;
  }

  .trainee-info h3 {
    font-size: 1.1rem;
  }

  .trainee-role {
    font-size: 0.85rem;
  }

  .trainee-company {
    font-size: 0.8rem;
  }

  .trainee-description {
    font-size: 0.85rem;
  }

  .testimonials-slider {
    min-height: 280px;
  }

  .testimonial-slide {
    padding: 1.5rem 1rem;
  }

  .stars {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .stars i {
    font-size: 1.1rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }

  .testimonial-role {
    font-size: 0.9rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 12px;
    height: 12px;
  }

  .online-workshop {
    padding: 1rem 0;
  }

  .online-workshop>div:first-child {
    padding: 0 0.25rem;
  }

  .section-heading h2#session {
    font-size: 1.6rem;
  }

  .para-session {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .online-workshop iframe,
  .online-workshop img {
    width: 95%;
    max-width: 280px;
    height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-info-box,
  .contact-map,
  .contact-form-wrapper {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-info-box {
    padding: 1rem;
    gap: 1rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 1rem;
  }

  .contact-details h4 {
    font-size: 0.9rem;
  }

  .contact-details p {
    font-size: 0.85rem;
  }

  .contact-map {
    height: 220px;
  }

  .contact-form-wrapper {
    padding: 1.25rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
  }

  .contact-form textarea {
    min-height: 90px;
  }

  .contact-form button[type="submit"] {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 2.5rem 0.75rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-bottom {
    padding-top: 1.25rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }

  .primary,
  .secondary {
    width: 100%;
    text-align: center;
  }
}

/* Auth Pages Styles */
.auth-page {
  background: linear-gradient(135deg, #005bea 0%, #00c6fb 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}

.auth-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.auth-card h2 {
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 600;
}

/* Toggle Switch */
.form-toggle {
  display: flex;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  padding: 3px;
}

.toggle-btn {
  flex: 1;
  padding: 0.6rem;
  text-align: center;
  text-decoration: none;
  color: #666;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.toggle-btn.active {
  background: linear-gradient(135deg, #F7A68A, #FF6A5E);
  color: white;
  box-shadow: 0 2px 5px rgba(0, 91, 234, 0.3);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #333;
  background: #fdfdfd;
  transition: all 0.3s;
}

.form-group input::placeholder {
  color: #aaa;
}

.form-group input:focus {
  border-color: #005bea;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 91, 234, 0.1);
}

.form-group label {
  display: none;
  /* Hiding labels as per design (placeholders used) */
}

.forgot-password {
  display: block;
  text-align: left;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #005bea;
  text-decoration: none;
}

.auth-btn {
  width: 100%;
  padding: 0.9rem;
  background: #004e92;
  background: linear-gradient(135deg, #F7A68A, #FF6A5E);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 91, 234, 0.4);
}

.bottom-text {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.bottom-text a {
  color: #005bea;
  text-decoration: none;
  font-weight: 500;
}

/* Modal Overlay for Auth */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Transparent/Dimmed background */
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.auth-modal-overlay .auth-card {
  position: relative;
  width: 90%;
  max-width: 400px;
  animation: slideUp 0.3s ease;
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal-btn:hover {
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Welcome Message Styles */
.welcome-message {
  background: linear-gradient(135deg, rgba(235, 75, 17, 0.95), rgba(255, 127, 0, 0.95));
  color: white;
  padding: 1.5rem 2rem;
  margin: 1rem auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(235, 75, 17, 0.3);
  animation: slideDown 0.5s ease-out;
  position: relative;
  z-index: 5;
}

.welcome-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.welcome-content i {
  font-size: 3rem;
  animation: pulse 2s ease-in-out infinite;
}

.welcome-content h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.welcome-content h2 span {
  color: #FFF3E0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-content p {
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
  opacity: 0.95;
  flex-basis: 100%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .welcome-message {
    padding: 1rem 1.5rem;
    margin: 0.5rem 1rem;
  }

  .welcome-content h2 {
    font-size: 1.4rem;
  }

  .welcome-content i {
    font-size: 2rem;
  }

  .welcome-content p {
    font-size: 0.9rem;
  }
}