@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
  --base-clr: #F5F5F7;
  --line-clr: #5154db;
  --hover-clr: #ffffff;
  --text-clr: #1D1D1F;
  --accent-clr: #ffffff;
  --secondary-text-clr: #1D1D1F;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

html{
  font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5rem;
  scroll-behavior: smooth;
}
/* ===== NAVBAR BASE WITH GLASSMORPHISM ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(33, 35, 41, 0.75); /* semi-transparent dark */
  backdrop-filter: blur(10px); /* blur effect */
  -webkit-backdrop-filter: blur(10px); /* Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  padding: 14px 0;
}



/* Navbar container */
.navbar {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.logo {
  color: #fff;
  font-weight: 800; /* bolder logo */
  font-size: 1.8rem; /* larger logo */
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: 1.5px;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
}

/* ===== NAV LINKS ===== */
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: #eaeaea;
  text-decoration: none;
  font-size: 1.1rem; /* larger font */
  font-weight: 600; /* slightly bolder */
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}


/* subtle underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: #4CAF50;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

/* ===== DROPDOWN ===== */
.dropdown-content {
  position: absolute;
  top: 140%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 10px 0;
  display: none;
  z-index: 200;
}

.dropdown-content a {
  display: block;
  padding: 10px 18px;
  color: #212329;
  font-size: 0.9rem;
  transition: background 0.25s ease;
}

.dropdown-content a:hover {
  background-color: rgba(242, 246, 243, 0.7);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===== USER PROFILE / AUTH ===== */
.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.welcome-text {
  color: #cfcfcf;
  font-size: 0.85rem;
}

.profile-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #4CAF50;
}

.login-btn,
.logout-btn {
  background-color: transparent;
  color: #fff;
  border: 1px solid #4CAF50;
  padding: 8px 18px;
  font-size: 0.95rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.login-btn:hover,
.logout-btn:hover {
  background-color: #4CAF50;
  color: #fff;
}

/* Active link base */
.nav-links a.active {
  position: relative;
  color: #4CAF50;
  font-weight: 600;
  padding: 6px 4px;
}

/* Traveling neon dot */
.nav-links a.active::after {
  content: "";
  position: absolute;

  width: 14px;
height: 3px;
border-radius: 6px;

  background: #4CAF50;


  /* Glow */
  box-shadow:
    0 0 6px rgba(76, 175, 80, 0.9),
    0 0 12px rgba(76, 175, 80, 0.6);

  /* Motion path around the link */
  offset-path: inset(0 round 6px);
  offset-distance: 0%;
  offset-rotate: auto;

  animation: orbit 4s linear infinite;

}

/* Animate around the border */
@keyframes orbit {
  to {
    offset-distance: 100%;
  }
}

@supports not (offset-path: inset(0)) {

  .nav-links a.active::after {
    content: "";
    position: absolute;

    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;

    box-shadow:
      0 0 6px rgba(76,175,80,.9),
      0 0 12px rgba(76,175,80,.6);

    top: 0;
    left: 0;

    animation: firefoxOrbit 2.8s linear infinite;
  }

  @keyframes firefoxOrbit {
    0%   { top: 0; left: 0; }
    25%  { top: 0; left: 100%; transform: translateX(-100%); }
    50%  { top: 100%; left: 100%; transform: translate(-100%, -100%); }
    75%  { top: 100%; left: 0; transform: translateY(-100%); }
    100% { top: 0; left: 0; transform: none; }
  }
}


/* Active link base - 3 sided square rotation around active link
.nav-links a.active {
  position: relative;
  color: #4CAF50;
  font-weight: 600;
  padding: 6px 2px;
}


.nav-links a.active::before {
  content: "";
  position: absolute;
  inset: -6px; 
  border-radius: 8px;
  padding: 2px;

  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      #4CAF50 90deg,
      transparent 180deg,
      transparent 360deg
    );


  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: spinBorder 2.8s linear infinite;

 
  box-shadow:
    0 0 8px rgba(76, 175, 80, 0.7),
    0 0 16px rgba(76, 175, 80, 0.5);
}


@keyframes spinBorder {
  to {
    transform: rotate(360deg);
  }
}*/


/* Dropdown container with floating animation */
.dropdown-content {
  position: absolute;
  top: 140%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 220px;
  border-radius: 12px;
  padding: 12px 0;
  display: none;
  z-index: 200;

  /* Floating effect */
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);

  /* shimmer effect */
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.15) 100%
  );
  background-size: 200% 100%;
  animation: shimmerBG 2s infinite linear;
}

/* Shimmer keyframes */
@keyframes shimmerBG {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Show dropdown on hover with floating effect */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* Dropdown links with sequential pop */
.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 8px;

  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover movement */
.dropdown-content a:hover {
  transform: translateX(5px) scale(1);
}

/* Sequential pop-in animation */
.dropdown:hover .dropdown-content a:nth-child(1) { animation: popFadeIn 0.35s forwards 0s; }
.dropdown:hover .dropdown-content a:nth-child(2) { animation: popFadeIn 0.35s forwards 0.1s; }
.dropdown:hover .dropdown-content a:nth-child(3) { animation: popFadeIn 0.35s forwards 0.2s; }
.dropdown:hover .dropdown-content a:nth-child(4) { animation: popFadeIn 0.35s forwards 0.3s; }
/* Add more nth-child rules if needed */

@keyframes popFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(2px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



.nav-links ul {
  margin: 0;
  padding: 0;
  list-style: none;

  display: flex;
  gap: 32px;
  align-items: center;
}


.nav-links ul li{
  list-style:none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
  
}

.nav-links ul li a{
  color: rgb(255, 255, 255);
  text-decoration:none;
  font-size: 22px;
  font-weight: 500;

}

.nav-links ul li::after{
  content: '';
  width: 0%;
  height: 2px;
  background:coral;
  display: block;
  margin: auto;
  transition: 0.5s;

}

.nav-links ul li:hover::after{
  width: 100%

}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
}

/* Show class toggles display */
.dropdown-content.show {
  display: block;
}

/* Dropdown links */
.dropdown-content a {
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Ensure mobile menu links stack correctly */
.nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links ul li {
  margin: 0;
}

.profile-pic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #005b8f;
  object-fit: cover;
}



body{
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--base-clr);
    color: var(--text-clr);
  }




main section{
  padding: 0;
}

main p{
  color: var(--secondary-text-clr);
  margin-top: 5px;
  margin-bottom: 15px;
}


/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 24px;

  background-image: url(/photos/left_side_of_image_space_with_stars_transitioning_to_right_side_of_image_man_climbing_a_cliff_face_i_2682979167.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 1;
}

/* Content container */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
}

/* Headline */
.hero-container h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6), 1px 1px 3px rgba(0,0,0,0.4);
}

/* Subtext */
.hero-container p {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 560px;
  opacity: 0.95;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Actions */
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.primary-btn {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 14px;
  color: #fff;
  background: rgba(47, 202, 52, 0.829); /* semi-transparent green */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 15px rgba(76,175,80,0.4) inset;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.primary-btn {
  text-decoration: none; /* removes underline */
}

.primary-btn span {
  text-decoration: none; /* extra safeguard for the span */
}


.primary-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35), 0 0 30px rgba(76,175,80,0.5) inset;
}

.primary-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 15px rgba(76,175,80,0.4) inset;
}

/* Sparkle effect */
.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.6) 2%, transparent 2%);
  background-size: 15% 15%;
  animation: sparkleMove 2s linear infinite;
  border-radius: 14px;
}

/* Keep text above sparkles */
.primary-btn span {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 5px rgba(255,255,255,0.3), 0 0 10px rgba(0,0,0,0.2);
}

@keyframes sparkleMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}


/* Secondary CTA */
.secondary-btn {
  color: #ffffff;
  opacity: 0.85;
  font-weight: 500;
  text-decoration: underline;
  align-self: center;
}

.secondary-btn:hover {
  opacity: 1;
}

/* Trust line */
.hero-trust {
  margin-top: 22px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Entrance animation */
.hero-container > * {
  animation: heroFade 0.9s ease forwards;
}

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

/* Mobile refinement */
@media (max-width: 768px) {
  .hero-section {
    padding: 120px 20px 80px;
    min-height: auto;
    text-align: center;
  }

  .hero-container p,
  .hero-container h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

.calltoaction {
  background: #ff6f61;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,111,97,0.5);
  transition: all 0.3s ease;
}

.calltoaction:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,111,97,0.7);
}
/* ============================
   LIGHT PREMIUM OPTIONS */
/* ========================
   OPTIONS SECTION
======================== */

.options {
  background: linear-gradient(135deg, #f7f9fb 0%, #e6f7ff 100%);
  padding: 140px 20px 120px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.options-header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: #111827;
}

.options-header p {
  font-size: 1.25rem;
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto 60px;
  color: #4b5563;
  letter-spacing: 0.3px;
}

/* ========================
   CARDS GRID
======================== */
.cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}



/* ========================
   PREMIUM CARD DESIGN
======================== */
/* ========================
   PREMIUM CARD DESIGN - CRYSTAL STYLE
======================== */
.premium-card {
  position: relative;
  padding: 36px 28px;
  border-radius: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  color: #fff;

  /* Base crystal glass */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15), inset 0 0 12px rgba(255,255,255,0.05);

  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Jewel color variants */
.card-blue {
  background: linear-gradient(145deg, rgba(47, 59, 137, 0.73), rgba(75, 89, 193, 0.4));
  box-shadow: 0 12px 40px rgba(46, 58, 140, 0.3), inset 0 0 18px rgba(255,255,255,0.08);
}

.card-purple {
  background: linear-gradient(145deg, rgba(91, 62, 158, 0.71), rgba(123, 95, 193, 0.4));
  box-shadow: 0 12px 40px rgba(90, 62, 158, 0.3), inset 0 0 18px rgba(255,255,255,0.08);
}

.card-green {
  background: linear-gradient(145deg, rgba(34, 224, 141, 0.87), rgba(45, 163, 107, 0.4));
  box-shadow: 0 12px 40px rgba(18, 116, 73, 0.3), inset 0 0 18px rgba(255,255,255,0.08);
}

/* Faceted overlay */
.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255,255,255,0.05) 0deg 20deg,
    rgba(255,255,255,0) 20deg 40deg
  );
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Mouse shimmer overlay */
.premium-card::after {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 250%;
  height: 250%;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 2%, rgba(255,255,255,0) 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 24px;
  mix-blend-mode: overlay;
  opacity: 0.8;
  z-index: 2;
}

/* Card Icon/Image */
.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  z-index: 3;
  position: relative;
}

/* Hover pop/scale for icon */
.premium-card:hover .card-icon {
  transform: scale(1.25) rotate(12deg);
}

/* Hover Effects */
.premium-card:hover {
  transform: translateY(-10px) scale(1.04) rotateX(2deg) rotateY(3deg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25), inset 0 0 25px rgba(255,255,255,0.15);
}

/* Hover reflection */
.premium-card:hover::before {
  transform: rotate(45deg) translateX(100%);
  opacity: 0.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card-icon { font-size: 2.2rem; }
  .premium-card h3 { font-size: 1.3rem; }
  .premium-card p { font-size: 0.9rem; }
}



/* ============================
   MODULE EXAMPLES SECTION
============================ */
.module-examples {
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #f7f9fb 0%, #e6f7ff 100%);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.module-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111827;
}

.module-header p {
  font-size: 1.15rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.example-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.example-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2), inset 0 0 25px rgba(255,255,255,0.1);
}

.example-img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.example-card:hover .example-img {
  transform: scale(1.05) rotate(-2deg);
}

.example-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

.example-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.5;
}


  /*  .row{
      margin-top: 5%;
      display: flex;
      justify-content: space-between;
    }

    .offer-column{
      flex-basis: 31%;
      background: #fff3f3;
      border-radius: 10px;
      margin-bottom: 5%;
      padding: 20px 12px;
      box-sizing: border-box;
      transition: 0.5s;
      box-shadow: 0 0 5px 0px rgba(0,0,0,0.2);
    

      a{
        text-decoration: none;
        color: #000;
      }

      h3{
        text-align: center;
        font-weight: 600;
        margin: 10px 0;

      }
    }
    .offer-column:hover{
      box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.465);
      
    } 
      */

.rotatingimagegallery{
    --size: 180px;
    display: grid;
    transform-style: preserve-3d;
    animation: rotateGallery 40s infinite linear;
    position:relative;
    justify-content: center;
    transform: rotateX(360deg);
}

.popularmodules{
  width:80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;

  h1{
    font-size: 36px;
    font-weight: 600;
  }


}

.row2{
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.popularelearning{
  flex-basis: 32%;
  border-radius:15px;
  margin-bottom: 30px;
  position:relative;
  overflow: hidden;


}


.popularelearning img{
  width:100%;
  display: block;
}

.layer{
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;

}

.layer:hover{
  background: rgba(255, 127, 80, 0.703);

}

.layer  h3{
  text-decoration: none;
  color: #ffffff;
  width: 100%;
  font-weight: 500;
  font-size: 26px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  transition: 0.5s;
}

.layer:hover h3{
  bottom: 49%;
  opacity: 1;

}



#progress {
  position: fixed;
  bottom: 50px;
  right: 20px;
  height: 70px;
  width: 70px;
  display: grid;
  place-items: center;
  border-radius: 30%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.95);
  cursor: pointer;
  z-index: 9999; /* add this */
}

#progress img {
  height: 58px;
  width: 58px;
}

#progress-value {
  display: block;
  height: calc(100% - 100px);
  width: calc(100% - 100px);
  background-color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 35px;
  color: #001a2e;
}

#progress:hover {
  filter: invert(100%);
}



@keyframes rotateGallery {
  0% {
    transform: perspective(800px) rotateY(0deg) rotateX(270deg);
  }
  100% {
    transform: perspective(800px) rotateY(360deg) rotateX(270deg);
  }
}

.rotatingimagegallery {
  display: grid;
  place-items: center;
  position: relative;
  height: 320px;
  margin: 100px auto;
  transform-style: preserve-3d;
  animation: rotateGallery 40s linear infinite;
}


.rotatingimagegallery > img:nth-child(1) { --_a:300deg;}
.rotatingimagegallery > img:nth-child(2) { --_a:240deg;}
.rotatingimagegallery > img:nth-child(3) { --_a:180deg;}
.rotatingimagegallery > img:nth-child(4) { --_a:120deg;}
.rotatingimagegallery > img:nth-child(5) { --_a:60deg;}
.rotatingimagegallery > img:nth-child(6) { --_a:0deg;}

.rotatingimagegallery > img {
  grid-area: 1 / 1;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  transform:
    rotate(var(--_a))
    translateY(140%)
    rotateX(90deg);
  
  background: #fff;
  box-shadow:
    0 15px 40px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.15);

  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.rotatingimagegallery > img:hover {
  transform:
    rotate(var(--_a))
    translateY(140%)
    rotateX(90deg)
    scale(1.08);

    
  box-shadow:
    0 25px 60px rgba(0,0,0,0.35);
}

.rotatingimagegallery:hover {
  animation-play-state: paused;
}

.rotatingimagegallery::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,91,143,0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

















.menuicon{display: none;}
.closeicon{
  display:none;
  height:100px;
  width: 100px;
  cursor: pointer;
  filter: invert;
  color: #000;}


/* Modal content box */


/* Form styling */
form .form-group {
  margin-bottom: 15px;
}
form .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
form .form-group input,
form .form-group select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

/* Checkbox styling */
.checkbox-group label {
  display: block;
  font-weight: normal;
}

/* Button styling */
form button[type="submit"] {
  padding: 10px 20px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
form button[type="submit"]:hover {
  background-color: #005fa3;
}

/* Message */
#signupMessage {
  margin-top: 10px;
  font-weight: bold;
}



/* ===== Login Button ===== */
.login-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  margin-left: 20px;
}
.login-btn:hover {
  background-color: #0056b3;
}


/* Add this to your existing stylesheet.css file */

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: bold;
}

#userProfile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

#loginButton {
  background-color: #005b8f;
  color: #fff;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

#loginButton.logged-in {
  display: none;
}
/* ===== Auth UI in Navbar ===== */
.auth-section {

  display: flex;
  align-items: center;
  gap: 10px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.welcome-text {
  font-size: 0.95rem;
  color: #fff;
}

.logout-btn, .login-btn {
  background-color: #fff;
  color: #005b8f;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.logout-btn:hover, .login-btn:hover {
  background-color: #e6f2fa;
}



@media(max-width:1100px){
  .hero-section .container h1{
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
  }

  @media(max-width:700px){
    .hero-section .container h1{
      font-size: 1rem;
      color: rgb(255, 255, 255);
    }
  }

@media(max-width:700px){
  .hero-section .container h1{
    font-size: 1rem;
    color: rgb(255, 255, 255);
  }
  .hero-section .container p{
    font-weight: 100;
    margin-top: 15px;
    max-width: 500px;
    color: rgb(255, 255, 255);
    text-shadow: coral 3px 3px 10px;
  
    }
  
    .nav-links ul li{
      list-style:none;
      display: block;
      color: white;
    }

    .nav-links{
      position: absolute;
      height: 100vh;
      width:200px;
      top: 0;
      right: -200px;
      text-align: center;
      z-index:50;
      background: rgba(255, 127, 80, 0.914);
      transition: 1s;
      padding-left: 0.7em;;
      
    }

    .nav-links ul li a{
    color: white;
    }

  
    .menuicon{
      display: block;
      color: #000;
      margin: 10px;
      font-size: 22px;
      cursor: pointer;
      height:30px;
      width: 30px;
  }

  .closeicon{
    display:block;
  }
  
  .navbar div ul img{
    height: 40px;
    width: 30px;
    filter:brightness(0%);
  
  }

  .nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background:rgb(71, 71, 71);
    display: block;
    margin: auto;
    transition: 0.5s;
  
  }
}

@media(max-width: 700px){

  .row2{
    flex-direction:column;
  }
}
}



/* ===== Dropdown Styling ===== */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-content {
  display: none; /* hidden by default */
  position: absolute;
  top: 100%; /* below parent */
  left: 0;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  z-index: 1000;
  padding: 0.5rem 0;
}

.navbar .dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

.navbar .dropdown-content a:hover {
  background-color: #f0f0f0;
}

.navbar .dropdown-content.show {
  display: block; /* shown when JS toggles the class */
}

/* Mobile adjustment: dropdown inside open menu */
@media screen and (max-width: 768px) {
  .navbar .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    border-radius: 0;
  }
}


/* ============================
   PREMIUM GLASS FOOTER
============================ */

/* ============================
   PREMIUM GLASS FOOTER
============================ */

/* Container + Glass effect */
.footer-container {
  position: relative;
  background: linear-gradient(180deg, rgba(25,28,34,0.92) 0%, rgba(15,17,22,0.95) 100%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  padding: 0;
  overflow: hidden;
  transition: background 0.5s ease;
}

/* Ambient glow for container */
.footer-container::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(76,175,80,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,91,143,0.2), transparent 45%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

/* Footer grid content */
.footer {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 40px 40px; /* top + sides + bottom */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 56px;
}

/* Section headings */
.footer-heading h2,
.footer-email-form h2 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 22px;
  position: relative;
}

.footer-heading h2::after,
.footer-email-form h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4CAF50, transparent);
}

/* Footer links */
.footer-heading a,
.footer-cookie-link {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-heading a:hover,
.footer-cookie-link:hover {
  color: #ffffff;
  transform: translateX(6px);
}

/* Mailing list input */
#footer-email {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

#footer-email-btn {
  margin-top: 18px;
  width: 100%;
  padding: 14px 0;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #4CAF50, #2ecc71);
}

/* Mobile adjustments for main footer */
@media (max-width: 768px) {
  .footer {
    padding: 40px 24px 24px;
    gap: 36px;
  }
}

/* ============================
   FOOTER LEGAL - GLASS MATCH
============================ */
.footer-legal {
  position: relative;       /* for ::before glow */
  z-index: 2;               /* above glow */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 24px 40px;

  /* Match main footer background */
  background: linear-gradient(180deg, rgba(25,28,34,0.92) 0%, rgba(15,17,22,0.95) 100%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);

  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  overflow: hidden;
  position: relative;
  z-index: 3; /* above container glow */
}

/* Ambient glow for legal */
.footer-legal::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(76,175,80,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,91,143,0.2), transparent 45%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* Ensure all children are above the glow */
.footer-legal * {
  position: relative;
  z-index: 1;
}

/* Legal links */
.footer-legal .legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal .legal-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal .legal-links a:hover {
  color: #ffffff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-legal {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 24px;
  }

  .footer-legal .legal-links {
    justify-content: center;
    gap: 12px;
  }
}

