* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
    background: #D1E1F5;
    color: #0a1a3a;
    padding-top: 5rem;
  }

/* subtle fixed mask under navbar so content appears to "enter a tunnel" when scrolling */
body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60px; /* match the visual height of the navbar */
  pointer-events: none;
  background: linear-gradient(to bottom, #eaf2fb 80%, transparent 100%);
  z-index: 900; /* below navbar (1000) but above page content */
}
  
/* Navbar */
  .navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 7.9%;
    background: #0A2C59;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  /* increase z-index so navbar always appears above page cards (match kkform.css values) */
  z-index: 1000;
}

.navbar img {
  height: 4vh;
  border-radius: 50%;
}

.navbar .title {
    color: white;
    text-decoration: none;
  font-size: 1rem !important;
  font-weight: bold;
  margin-left: 10px;
}

.nav-btn{
  text-decoration: none;
  margin: 0 10px;
}

.navbar-center {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.bell {
    color: white;
    cursor: pointer;
    margin-top: 0;
    margin-right: 5px;
    font-size: 1rem;
    line-height: 1;
}

.prof {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.navbar-right {
  display: flex;
  gap: 8px;
  font-size: 20px;
}

.navbar-right a {
  text-decoration: none;
}

.nav-btn {
    color: #ffffff;
    padding: 7px 18px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    border: none;
    outline: none;
}

.nav-btn:hover, .nav-btn.active {
    background: #1e4e9e;
    color: #fff;
}

.kk-btns{
  display: flex;
  justify-content: flex-end;
}

/* Hamburger Icon */
.navbar-hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 10px;
}

/* Notification badge on top of bell icon */
.notif {
  position: relative;
  display: inline-block;
}
.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ff3b30;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: none; /* shown when there are new items */
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.main-content {
  min-height: 100vh; /* Adjust (e.g. 120vh means 20% taller than screen) */
  padding: 20px;
}


@media (max-width: 1048px) {
  .navbar-center {
    display: none;
  }
  .navbar-hamburger {
    display: inline-block;
  }
}

/* Mobile navbar optimization */
@media (max-width: 768px) {
  .notif-badge {
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
  }
  .navbar {
    padding: 4% 4.8%;
  }
  
  .navbar img {
    height: 32px;
  }
  
  .navbar .title {
    font-size: 14px;
    margin-left: 8px;
  }
  
  .navbar-hamburger {
    font-size: 1.5rem;
    margin-right: 5px;
    display: flex;
    align-items: center;
  }
  
  .bell {
    font-size: 18px;
    margin-right: 3px;
    margin-top: 0;
    display: flex;
    align-items: center;
  }
  
  .navbar-right {
    gap: 5px;
    font-size: 18px;
    display: flex;
    align-items: center;
  }
  
  .navbar-right .prof {
    display: flex;
    align-items: center;
    margin-top: 0;
  }
}
  
/* About Section */
.about-card {
    width: 80%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2vh;
    margin: 5% auto; 
    padding: 3%;
    /* ensure the card doesn't create a stacking context above the fixed navbar */
    position: relative;
    z-index: 0;
  }
  
  /* Image */
  .about-left img {
    width: 400px;
    height: auto;
    padding: 5%;
  }
  
  /* Right Content */
  .about-right {
    flex: 1;
  }
  
  .about-right h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0a1a3a;
  }
  
  .about-right p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #222;
  }
  
  /* ✅ Responsive Design */
  @media (max-width: 992px) {
    .about-card { 
      flex-direction: column;   
      text-align: center;

    }
  
    .about-left img {
      width: 400px;            
      margin-bottom: 20px;
    }
  
    .about-right h2 {
      font-size: 24px;
    }
  
    .about-right p {
      font-size: 16px;
    }
  }
  
  @media (max-width: 600px) {
  
    .about-left img {
      width: 100px;  
      margin-bottom: 5px;           
    }

  
    .about-right h2 {
      font-size: 20px;
      margin-bottom: 10px;
    }
  
    .about-right p {
      font-size: 12px;
      line-height: 1.6;
    }
  }
  
  
 /* Footer */
.footer {
    background: #0A2C59;
    color: #fff;
    padding: 40px 60px 20px;
    margin-top: 50px;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
  }
  
  .footer-left h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .footer-left p {
    font-size: 15px;
    line-height: 1.5;
    color: #cfd9e8;
  }
  
  .footer-middle h4,
  .footer-right h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .footer-middle ul,
  .footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-middle ul li,
  .footer-right ul li {
    margin-bottom: 8px;
  }
  
  .footer-middle ul li a,
  .footer-right ul li a {
    text-decoration: none;
    color: #cfd9e8;
    font-size: 15px;
    transition: color 0.3s ease;
  }
  
  .footer-middle ul li a:hover,
  .footer-right ul li a:hover {
    color: #ffffff;
  }
  
  .footer-right ul li i {
    margin-right: 8px;
    font-size: 15px;
  }
  
  .footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom p {
    font-size: 14px;
    color: #cfd9e8;
  }

  /* Login Strip - Modern Design */
.login-strip {
  position: fixed;
  top: calc(1rem + 70px); /* 1rem navbar offset + navbar height */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background: linear-gradient(135deg, #0A2C59 0%, #143d77 100%, #1e4e9e 50%);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(10, 44, 89, 0.20), 0 2px 8px rgba(10, 44, 89, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1100;
  margin-top: 10px;
  margin-bottom: 10px;
  animation: slideDown 0.4s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-strip:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 30px rgba(10,44,89,0.25), 0 4px 12px rgba(10,44,89,0.18);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.login-strip a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.login-strip a:hover {
  color: #fff;
  background: rgba(255, 215, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.login-strip i {
  color: #ffd700;
  font-size: 20px;
  margin-right: 4px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Mobile responsive login strip */
@media (max-width: 600px) {
  .login-strip {
    font-size: 14px;
    padding: 10px 15px;
    gap: 8px;
    width: 92%;
    max-width: 95vw;
    top: calc(1rem + 56px); /* adjust if navbar is shorter on mobile */
    border-radius: 10px;
  }
  
  .login-strip i {
    font-size: 18px;
    margin-right: 3px;
  }
  
  .login-strip a {
    font-size: 13px;
    padding: 3px 8px;
  }
}
  
  /* ✅ Responsive Footer */
  @media (max-width: 992px) {
    .footer-container {
      gap: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
    }
  
    .footer-left,
    .footer-middle,
    .footer-right {
      width: 100%;
    }

    /* Add space between content and footer on mobile */
    .footer {
      margin-top: 80px;
    }
  
    .footer-right ul li,
    .footer-middle ul li {
      display: flex;
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    
  .main-content {
    min-height: 60vh;
  }
    .about-card{
    margin-top: 10%;
    width: 95%;
    max-width: 300px;
    padding: 5%;
    }
    .navbar-right{
      gap: 0.1%;
    }
    .footer {
      padding: 30px 20px 15px;
    }
  
    .footer-left h3 {
      font-size: 18px;
    }
  
    .footer-left p {
      font-size: 14px;
    }
  
    .footer-middle h4,
    .footer-right h4 {
      font-size: 15px;
    }
  
    .footer-middle ul li a,
    .footer-right ul li a {
      font-size: 14px;
    }
  
    .footer-bottom p {
      font-size: 12px;
    }
  }
  
  .navbar-mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 16px;
    width: 240px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    z-index: 2000;
    padding: 18px 12px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(20, 61, 119, 0.18);
    border: 1px solid #e3eaf3;
}
.navbar-mobile-menu.active {
    display: flex !important;
}
.navbar-mobile-menu .nav-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 8px;
    color: #143d77;
    background: none;
    text-align: left;
    border: none;
    margin-bottom: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
}
.navbar-mobile-menu .nav-btn:last-child {
    margin-bottom: 0;
}
.navbar-mobile-menu .nav-btn:hover {
    background: #eaf3fa;
    color: #1e4e9e;
}
a.disabled, button.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
.verification-strip {
  position: fixed;
  top: calc(1rem + 70px); /* 1rem navbar offset + navbar height */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background: linear-gradient(135deg, #0A2C59 0%, #143d77 100%, #1e4e9e 50%);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(10, 44, 89, 0.20), 0 2px 8px rgba(10, 44, 89, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1100;
  margin-top: 10px;
  margin-bottom: 10px;
  animation: slideDown 0.4s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.verification-strip:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 44, 89, 0.25), 0 4px 12px rgba(10, 44, 89, 0.18);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.verification-strip a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.verification-strip a:hover {
  color: #fff;
  background: rgba(255, 215, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.verification-strip i {
  color: #ffd700;
  font-size: 20px;
  margin-right: 4px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Mobile responsive verification strip */
@media (max-width: 600px) {
  .verification-strip {
    font-size: 14px;
    padding: 10px 15px;
    gap: 8px;
    width: 92%;
    max-width: 95vw;
    top: calc(1rem + 56px); /* adjust if navbar is shorter on mobile */
    border-radius: 10px;
  }
  
  .verification-strip i {
    font-size: 18px;
    margin-right: 3px;
  }
  
  .verification-strip a {
    font-size: 13px;
    padding: 3px 8px;
  }
}