@font-face {
  font-family: 'KantumruyPro-VariableFont_wght';
  src: url(../font/Kantumruy_Pro/KantumruyPro-VariableFont_wght.ttf);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary: #4f46e5;
  --secondary: #4ba0b5;
  --accent: #f59e0b;
  --text: #0f172a;
  --muted: #334155;
  --bg: #f8fafc;
  --bg-background: rgb(75, 160, 181, 0.75);
  --teal: #e0f0f5;
  --bg-btn: #eeeeee;
  --gradient-primary: linear-gradient(135deg, #4ba0b5 0%, #4facfe 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warning: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f3f4f6;
  --border-color: #e5e7eb;
  --primary-color: #4ba0b5;
  --primary-light: #00b3b3;
  --primary-dark: #006666;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #4ba0b5;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --teal-gradient: linear-gradient(135deg, #4ba0b5 0%, #00b3b3 100%);

}

body {
  font-family: 'KantumruyPro-VariableFont_wght';
}

header {
  position: fixed;
  left: 0;
  right: 0;
  transition: background-color 0.4s ease-in-out;
  z-index: 100;
}
header.scrolled {
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  opacity: 0.98;
}
.mb-100 {
  margin-bottom: 100px !important;
}
a {
  text-decoration: none;
}
.navbar {
  display: flex;
  align-items: center;
  color: #fff;
}

.navbar .navbar-brand img {
  width: 200px;
  object-fit: cover;
}

.navbar .navbar-nav .nav-item .nav-link{
  font-size: 18px;
  padding-inline: 20px;
  font-weight: 500;
  color: #000;
  display: block;
}
.navbar .navbar-nav .nav-item .nav-link i{
  font-size: 12px;
}

.navbar .navbar-nav .nav-item .active {
  color: var(--accent);
}

.navbar .navbar-nav .nav-item .nav-link:hover {
  color: var(--accent);
}
.dropdown-menu:focus {
  display: block;
}

.navbar .navbar-nav .nav-item:hover .dropdown-menu{
  display: block;
  animation-name: profile;
  animation-duration: 0.6s;
}
.dropdown-item.active, .dropdown-item:active {
      text-decoration: none;
      background-color: var(--secondary);
}
.navbar-toggler {
  position: absolute;
  left: 0%;
  border: none;
  outline: none;
  font-size: 15px;
  display: block;
}
.box-toggler-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ddd;
  border-radius: 100%;
  font-size: 18px;
}
.navbar .box-toggler-icon:hover {
  background-color: var(--primary);
  color: #fff;
}
.navbar .navbar-toggler:focus {
  display: none;
}

.navbar-toggler-icon {
  border-radius: 0%;
  width: 30px;
  height: 30px;
  padding: 10px;
  border-radius: 100%;
}
@media (max-width: 1200px) {
  .navbar .navbar-nav .nav-item .nav-link {
    padding-inline: 10px;
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .navbar .navbar-brand img {
    padding-left: 40px;
    width: 150px;
    object-fit: cover;
  }
  .navbar .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    padding-inline: 10px;
  }
}

/* trainning pages  */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom_nav-container .navbar-nav .nav-link {
  padding: 0 20px;
  color: #2d2c2c;
  font-size: 12px;
}

.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: var(--secondary);
  background-color: #fff;
  border-radius: 18px;
}

.btn-login .btn {
  padding: 8px;
  border-radius: 18px;
  background-color: #fff;
  border: none;
}

.btn-log.active {
  background-color: #4ba0b5;
  color: #fff;
}

.btn {
  border: 2px solid #4ba0b588 !important;
  transition: all 0.5s;
}

.btn-custom:hover {
  background-color: #4ba0b5 !important;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-log:hover {
  background-color: #4ba0b5 !important;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.top_container {
  height: 95vh;
  position: relative;
}

.top_container::before {
  content: '';
  position: absolute;
  width: 55%;
  height: 100%;
  background: var(--secondary);
  border-radius: 0 0 90% 0;
  z-index: -1;
}

.navbar-brand img {
  width: 25px;
  margin-right: 7px;
}

.navbar-brand span {
  font-size: 20px;
  font-weight: 700;
  color: #fefefe;
  text-transform: uppercase;
}

.custom_nav-container {
  z-index: 99999;
  padding: 10px 0;
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.hero-detail {
  transform: translateY(-50px);
}

.hero-detail h2 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: 2px;
  color: #fff;
}

.hero-detail h2 span,
.hero-detail p span {
  color: #f5a623;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-detail p {
  font-size: 22px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 30px;
}

/* Hero Image Floating Animation */
.floating {
  max-width: 600px;
  animation: float;
  animation-duration: 6s;
  animation-direction: alternate;
  animation-iteration-count: infinite;

}

@keyframes float {

  from {
    transform: translateY(-25px);
  }

  to {
    transform: translateY(50px);
  }
}

/* Decorative Shapes */
.hero-img .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  background-color: #fec913;
  top: 10px;
  left: -10px;
}

.shape-2 {
  width: 50px;
  height: 50px;
  background-color: #ffdd55;
  bottom: -15px;
  right: 10px;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }

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

.hero-social a img:hover {
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-detail h1 {
    font-size: 48px;
  }

  .hero-detail h3 {
    font-size: 24px;
  }

  .hero-detail p,
  .hero-detail .tagline {
    font-size: 16px;
  }

  .hero-btn {
    padding: 12px 30px;
  }
}

/* login page  */
body {
  display: block;
  align-items: center;
  justify-content: center;

}

.illustration {
  flex: 1;
  display: block;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

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

.right-box {
  border-radius: 20px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
  max-width: 500px; 
  padding: 60px 40px;
}

.right-box h2 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary);
}

.right-box p {
  color: #6c757d;
  margin-bottom: 30px;
}

.form-control {
  border-radius: 30px;
  padding: 12px 20px;
}

.btn-login {
  background-color: var(--secondary);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
}

.btn-login:hover {
  background-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-login a {
  flex: 1;
  border-radius: 30px;
  border: 1px solid #ddd;
  padding: 10px;
  font-weight: 500;
}

.footer-text {
  margin-top: 20px;
  text-align: center;
}

.footer-text a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}


/* ===================OTP page================= */
.otp-section {
  padding-top: 90px;
}

.otp-card {
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.otp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4BA0B5, #3a8699);
}

.otp-card h3 {
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  color: #333;
  font-size: 1.8rem;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.email-display {
  text-align: center;
  color: #4BA0B5;
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* OTP Inputs */
.otp-inputs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.otp-input {
  width: 60px;
  height: 60px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #333;
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.otp-input:focus {
  border-color: #4BA0B5;
  box-shadow: 0 0 0 3px rgba(75, 160, 181, 0.1);
  transform: scale(1.05);
}

.otp-input.filled {
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.05);
}

.otp-input.error {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* Verify Button */
.verify-btn{
  width: 100%;
  padding: 1rem;
  background: #4BA0B5;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.verify-btn:hover:not(:disabled) {
  background: #3a8699;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(75, 160, 181, 0.3);
}

.verify-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.verify-btn.loading {
  pointer-events: none;
  position: relative;
}

.verify-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Resend Section */
.resend-section {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.resend-text {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.resend-btn {
  color: #4BA0B5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.resend-btn:hover {
  color: #3a8699;
  text-decoration: underline;
}

.resend-btn.disabled {
  color: #adb5bd;
  cursor: not-allowed;
  text-decoration: none;
}

.countdown {
  color: #fd7e14;
  font-weight: 600;
}

/* Messages */
.message {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.message.success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.message.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}
/* Responsive */
@media (max-width: 768px) {
  .otp-card {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }

  .otp-inputs {
    gap: 0.75rem;
  }

  .otp-input {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .otp-card h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .otp-inputs {
    gap: 0.5rem;
  }

  .otp-input {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Animation for page load */
.otp-card {
  animation: slideUp 0.6s ease-out;
}

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

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

.otp-img {
  animation: fadeIn 0.8s ease-out 0.3s both;
}

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

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

