/* Root Variables */
:root {
  --primary: #0078ff;
  --secondary: #0c1f3f;
  --accent: #00c4a7;
  --light-bg: #f8f9fa;
  --text-dark: #212529;

  /* Registration Page Specific */
  --reg-primary: #0066ff;
  --reg-secondary: #f0f4ff;
  --reg-card-bg: #ffffff;
  --reg-radius: 12px;
  --reg-text-muted: #6b7280;
}

/* Global Body & Typography */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 { font-weight: 600; }
p { color: #555; }
a { text-decoration: none; transition: .3s; }

/* Buttons */
.btn-primary { background-color:#007bff; border:none; }
.btn-primary:hover { background-color:#0056b3; }

.btn-success {
  background-color:#00b894;
  border:none;
  padding:12px 28px;
  border-radius:50px;
}
.btn-success:hover { background-color:#009874; }

.btn-dark { background-color:#003366; border:none; border-radius:25px; }
.btn-dark:hover { background-color:#001f4d; }

/* Navbar */
.navbar { background:linear-gradient(90deg,#fff,#f1f5f9); box-shadow:0 2px 10px rgba(0,0,0,.08); }
.navbar .navbar-brand img { height:55px; }
.navbar .brand-text { font-weight:700; color:#003366; letter-spacing:0.6px; font-size:1rem; }
.navbar-collapse.justify-content-center { text-align:center; }
.navbar-nav { display:flex; flex-direction:row; align-items:center; }
.navbar-nav .nav-item { margin:0 8px; }
.navbar-nav .nav-link { padding:8px 12px; }
.navbar-nav .dropdown-menu { left:auto; right:auto; transform:none; }
.nav-auth { display:flex; align-items:center; }
.nav-auth .btn { margin-left:8px; }
.dropdown-menu { border-radius:8px; box-shadow:0 4px 10px rgba(0,0,0,.1); }

/* Carousel */
.carousel-item img { width:100%; height:80vh; object-fit:cover; }
.carousel-caption {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 25px;
  animation: fadeInUp 1s ease;
}
.carousel-caption h3 { font-weight: 600; color: #fff; }
.carousel-caption h6 { color: #ddd; margin-bottom: 15px; }
.carousel-caption-inside {
  position:absolute; bottom:25%; left:50%; transform:translateX(-50%);
  background-color:rgba(255,255,255,.85);
  padding:25px;
  border-radius:12px;
  max-width:700px;
  text-align:center;
  box-shadow:0 5px 20px rgba(0,0,0,.1);
}
.carousel-caption-inside h1 { color:#003366; font-weight:700; }
.carousel-caption-inside p { color:#222; }

@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Sections */
section { padding: 10px 0; }
section h1, section h2 { font-weight: 600; color: var(--secondary); }
section h2 { color:#003366; font-weight:700; margin-bottom:30px; }
section p { font-family: 'Roboto', sans-serif; color: #555; }
.container h2.text-center::after {
  content:""; display:block; width:80px; height:3px; background:#007bff;
  margin:15px auto; border-radius:10px;
}
h4 { color:#007bff; font-weight:600; }

/* Media Items */
.media img { width: 60px; height: 60px; }
.media-body { color: #444; }
.media:hover { transform: translateY(-3px); transition: all 0.3s ease-in-out; }

/* Footer */


/* Responsive */
@media (max-width: 991.98px) {
  .nav-auth.d-none.d-lg-flex { display:none !important; }
  .navbar-collapse .nav-auth-mobile { display:flex; justify-content:center; gap:8px; margin-top:12px; }
}
@media (max-width: 767px) {
  .navbar .brand { display: none; }
  .carousel-caption { font-size: 0.9rem; padding: 15px; }
}
@media(max-width:768px){ .carousel-caption-inside{bottom:10%;padding:15px;} }

/* ------------------ Contact Page ------------------ */
.contact-page {
  body { background-color: #f9fafc; color: #333; }
}
.contact-page section.text-center.mt-5 {
  background: linear-gradient(135deg, #007bff, #00b4d8);
  color: #fff;
  padding: 80px 20px;
  border-radius: 0 0 80px 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.contact-page section.text-center.mt-5 h1 { font-weight:700; margin-bottom:20px; }
.contact-page section.text-center.mt-5 p { color:#eaf6ff; font-size:1.1rem; }

.contact-page form {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.contact-page label { font-weight:600; color:#003366; }
.contact-page .form-control { border-radius:10px; border:1px solid #ccd3e0; transition:border-color 0.3s, box-shadow 0.3s; }
.contact-page .form-control:focus { border-color:#007bff; box-shadow:0 0 8px rgba(0,123,255,0.25); }

.contact-page .btn-success { border-radius:30px; padding:12px 35px; }
.contact-page .btn-success:hover { transform: translateY(-2px); }

.contact-page hr { border-color: #d0d7de; }

@media (max-width:768px) {
  .contact-page section.text-center.mt-5 { border-radius:0 0 50px 50px; padding:60px 15px; }
  .contact-page form { padding:30px 20px; }
}



