/* ================================
   General Styles
================================ */
body {
  font-family: Arial, sans-serif;
  background-image: url("../images/navy bg.jpg"); /* Background */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* ================================
   Header Text
================================ */
.brand-name {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: bold;
  color:#c6a447;
  letter-spacing: 2px;
  text-align: center;
}

.tagline-line {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* ================================
   Navbar
================================ */
.custom-nav {
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 10px 20px;
  margin-top: 20px;
  text-align: center;
}

.custom-nav a {
  color: #fff;
  font-weight: bold;
  margin: 0 20px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.custom-nav a:hover {
  color:#fff;
  border-bottom: 2px solid #fff;
}

.custom-nav a.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

/* ================================
   Buttons (Login/Register)
================================ */
.text-end .btn-orange {
  margin-left: 10px;
  padding: 8px 20px;
  border: none;
  background: #c6a447;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.text-end .btn-orange:hover {
  background: #042464;
  transform: translateY(-2px);
}

/* White Button with Orange Text */
.btn-white-orange {
  background: #042464;
  color: #c6a447;
  font-weight: bold;
  border-radius: 10px;
  padding: 10px 25px;
  border: 2px solid #fff;
  transition: 0.3s;
}

.btn-white-orange:hover {
  background: #fff;
  color: #042464;
}

/* ================================
   Form Section
================================ */
#formContainer {
  position: absolute;
  top: 50px;
  right: 0;
  width: 550px; /* Increased width for the pop-up form */
  max-width: 90%;
  z-index: 1000;
}

/* Styles for dedicated form pages like login.html and register.html */
.form-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form-page .form-card {
  width: 550px; /* Set a fixed width for the form card on its own page */
  max-width: 90%;
  display: block; /* Make it visible by default on its own page */
  opacity: 1;
  transform: none;
}

.form-card {
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  margin-top: 10px;
  color: #042464;
  transition: all 0.3s ease;
}

/* Hide by default, for pop-up functionality */
#formContainer .form-card {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

#formContainer .form-card.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-card h2, .form-card h4 {
  color: #042464;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.form-card .input-group {
    margin-bottom: 15px;
    position: relative;
}

.form-card .form-control {
  border-radius: 0 10px 10px 0 !important;
  padding: 10px;
}

.form-card .input-group-text {
    border-radius: 10px 0 0 10px !important;
    background-color: #f0f0f0;
}

/* Password visibility toggle */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    color: #888;
}

.form-card .btn-orange {
  width: 100%;
  font-weight: bold;
  padding: 12px;
  font-size: 1.1rem;
}

/* footer text inside form */
.form-card p {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
  color: #042464;
}

.form-switch-link {
  color: #c6a447;   /* gold color for link */
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.form-switch-link:hover {
  text-decoration: underline;
}


/* ================================
   Hero Section
================================ */
.hero-box h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 1px;
  color: #fff;
}
.hero-box p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: #c6a447;
  margin-top: 15px;
}

/* ================================
   Info Boxes (Why Choose Us)
================================ */
.info-box {
  background: #fff;
  color: #042464;
  border-radius: 15px;
  padding: 25px;
  transition: 0.3s;
}

.info-box i {
  color: #042464;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
/* ================================
   Enroll Button Styling
================================ */
.btn-enroll {
  background-color: #042464;   /* Navy Blue */
  color: #fff;                 /* White text */
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 24px;
  border: none;
  transition: all 0.3s ease;
}

.btn-enroll:hover {
  background-color: #c6a447;   /* Gold on hover */
  color: #042464;              /* Navy text */
  transform: translateY(-2px);
}

/* ================================
   Expert Cards
================================ */
.card {
  background-color: #fff !important;
  color: #042464 !important;
  border: none;
  border-radius: 15px;
}

.card h5 {
  color: #042464 !important;
  font-weight: bold;
}

/* ================================
   Footer
================================ */
footer {
  margin-top: auto;
  background: #fff;
  color: #042464;
  text-align: center;
  padding: 15px 0;
  width: 100%;
  position: relative;
  left: 0;
}
.container .info-box:last-child {
  margin-bottom: 50px; /* Extra space before footer */
}
.bg-orange {
  background-color: #fff;
}

/* Logo Card Specific Style */
.logo-card {
  display: inline-block;
  background-color: #042464; /* Navy background */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Equal square expert images */
.expert-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

/* ================================
   Start Learning Button (Hero CTA)
================================ */
.btn-start-learning {
  background: #042464;        /* Gold background */
  color: #c6a447;
  font-weight: bold;
  border-radius: 12px;
  padding: 12px 30px;
  border: 2px solid #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.btn-start-learning:hover {
  background: #fff;        /* Navy blue hover */
  color: #042464;             /* Gold text */
  transform: translateY(-3px);
}
/* ================================
   Contact Page Specific Styles
================================ */

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* WhatsApp green */
  color: #fff;
  font-size: 2rem;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  color: #fff;
}

/* Contact Form Textarea */
form textarea.form-control {
  resize: none;
  margin-bottom: 12px;
  border-radius: 10px;
  padding: 10px;
  font-family: Arial, sans-serif;
}

/* Info-box cards adjustments for contact page */
.info-box p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Hero Section adjustments for contact page */
.hero-box h1 {
  font-size: 3rem;
}

.hero-box p.lead {
  font-size: 1.8rem;
  margin-top: 10px;
}

/* ================================
   Contact Form Inputs & Textarea
================================ */
.info-box form input.form-control,
.info-box form textarea.form-control {
  color: #042464 !important;        /* Navy blue text */
  border: 1px solid #c6a447;       /* Gold border */
  background-color: #fff;           /* White background */
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
}

.info-box form input.form-control::placeholder,
.info-box form textarea.form-control::placeholder {
  color: #042464 !important;        /* Navy placeholder text */
  opacity: 0.7;
}

.info-box form textarea.form-control {
  resize: none;
}

/* Submit Button */
.btn-enroll {
  background-color: #042464;   /* Navy Blue */
  color: #fff;                 /* White text */
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 24px;
  border: none;
  transition: all 0.3s ease;
}

.btn-enroll:hover {
  background-color: #c6a447;   /* Gold on hover */
  color: #042464;              /* Navy text */
  transform: translateY(-2px);
}
