/* Middleton Welcome Container */
#middleton-welcome-container {
  background-color: #ffeabd; /* Secondary background */
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px; /* Responsive padding */
  position: relative; /* Keeps elements inside the container positioned correctly */
  flex-direction: column; /* Center content vertically and horizontally */
}

#middleton-about-container {
  background-color: #ffeabd; /* Secondary background */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px; /* Responsive padding */
  position: relative; /* Keeps elements inside the container positioned correctly */
  flex-direction: column; /* Center content vertically and horizontally */
}

/* SVG Container (just for positioning) */
.middleton-welcome-svg-container {
  text-align: center; /* Ensure it stays centered */
  margin-bottom: 30px; /* Space between the logo and the content */
  width: 100%; /* Full width */
}

/* Make SVG Image Responsive */
.middleton-welcome-svg {
  width: 100%; /* Full width */
  height: auto; /* Maintain aspect ratio */
  max-width: 200px; /* Ensure it doesn't become too large */
  margin: 0 auto; /* Center it horizontally */
}

/* Middleton Welcome Heading */
.middleton-welcome-heading-container {
  margin-bottom: 30px;
  text-align: center; /* Ensure the heading is centered */
}

.middleton-welcome-heading {
  font-size: 3rem; /* Responsive font size */
  color: #9c2447; /* Primary color */
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.2; /* Improve readability */
}

.middleton-welcome-subheading {
  font-size: 1.5rem; /* Smaller than the heading */
  color: #29275e; /* Secondary primary color */
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.4; /* Improve readability */
}

/* Links & Buttons */
.middleton-welcome-link-container {
  text-align: center;
}

.middleton-welcome-link.btn.btn-primary {
  text-decoration: none;
  display: inline-block;
  padding: 12px 25px;
  margin: 5px;
  border-radius: 50px;
  background-color: #9c2447 !important; /* Primary button color */
  color: white;
  font-weight: bold !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.middleton-welcome-link.btn.btn-primary:hover {
  background-color: #7c1f39; /* Darker shade of primary */
  transform: scale(1.05); /* Slight scale effect on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .middleton-welcome-heading {
    font-size: 2.5rem; /* Slightly smaller heading for smaller screens */
  }

  .middleton-welcome-subheading {
    font-size: 1.25rem; /* Adjust subheading size */
  }

  .middleton-welcome-link {
    font-size: 0.9rem;
    padding: 10px 20px; /* Slightly smaller button padding */
  }
}

/* Utility Classes */
.text-center {
  text-align: center !important; /* Ensures content is always centered */
}

.container-fluid {
  padding: 0;
}

/* Spacing between links and center them better */
.middleton-welcome-link-container p {
  margin: 10px 0;
}

/* Student Registration & Student Login Page */

/* Middleton Login Page Container */
.middleton-s-auth-container {
  background-color: #ffeabd; /* Secondary background color */
  padding: 0 15px;
}

/* Middleton Auth Logo */
.middleton-s-auth-logo {
  text-align: center;
  margin-bottom: 50px;
}

.middleton-s-auth-logo img {
  max-width: 150px; /* Make sure logo size is consistent */
  height: auto;
}

/* Middleton Auth Heading */
.middleton-s-auth-heading {
  text-align: center;
  color: #29275e; /* Primary color */
  margin-bottom: 30px;
}

.middleton-s-auth-heading h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #9c2447; /* Primary color */
  text-transform: uppercase;
  margin-bottom: 20px;
}

.middleton-s-auth-heading h3,
.middleton-s-auth-heading h2 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #29275e;
}

/* Middleton Auth Form Container */
.middleton-s-auth-form-container {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Page Heading */
.page-heading {
  font-size: 2rem;
  color: #29275e; /* Primary color */
  font-weight: 600;
  margin-bottom: 25px;
}

/* Form Field */
.form-field .form-label {
  font-size: 1.1rem;
  color: #29275e; /* Primary color */
}

.form-field .form-control {
  border-radius: 30px;
  border: 1px solid #ddd;
  padding: 12px 20px;
  font-size: 1rem;
  box-shadow: none; /* Remove default input shadow */
}

.form-field .form-text {
  font-size: 0.9rem;
  color: #9c2447; /* Secondary color for helper text */
}

/* Form Button (Submit) */
.middleton-s-auth-form .btn.btn-primary {
  background-color: #9c2447; /* Primary color */
  color: white;
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.middleton-s-auth-form .btn.btn-primary:hover {
  background-color: #7c1f39; /* Darker primary color on hover */
  transform: scale(1.05); /* Slightly scale the button on hover */
}

/* Form Checkbox (Remember Me) */
.form-check-label {
  font-size: 1rem;
  color: #29275e; /* Primary color */
}

.form-check-input {
  border-radius: 50%;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: #9c2447;
  border-color: #9c2447;
}

/* Links Section */
.middleton-s-auth-links a {
  display: block;
  margin-top: 15px;
  color: #29275e;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.middleton-s-auth-links a:hover {
  color: #9c2447; /* Primary color on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .middleton-s-auth-heading h1 {
    font-size: 2.5rem;
  }

  .middleton-s-auth-heading h3,
  .middleton-s-auth-heading h2 {
    font-size: 1.2rem;
  }

  .middleton-s-auth-form-container {
    padding: 30px;
  }

  .middleton-s-auth-logo img {
    max-width: 120px; /* Make logo smaller on mobile */
  }
}

/* Student Login Ends */

/* Header Styling */
.middleton-s-header-container {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

/* Header Content Styling */
.middleton-s-header-nav .navbar {
  padding: 0;
}

/* Logo Styling */
.middleton-s-auth-logo img.middleton-welcome-svg {
  max-width: 120px; /* Adjust logo size */
  height: auto;
  display: block;
  margin: 0 auto; /* Centers logo in mobile view */
}

/* Navbar Branding Styling */
.middleton-s-header-nav .navbar-brand {
  font-size: 1.5rem;
  color: #29275e; /* Blue color for brand name */
  font-weight: 600;
  text-transform: uppercase;
  margin-left: 20px; /* Ensure there's some space between logo and brand name */
}

/* Navbar Menu - Horizontal for Desktop */
.middleton-s-header-nav .navbar-nav {
  margin-left: auto; /* Push the menu to the right in desktop view */
}

.middleton-s-sidebar-btn {
  border-radius: 30px; /* Rounded corners for sidebar buttons */
  padding: 12px 24px;
  font-weight: 600;
  color: #fff;
  background-color: #9c2447; /* Red background */
  transition: background-color 0.3s ease;
}

.middleton-s-sidebar-btn:hover {
  background-color: #7c1f39; /* Darker shade on hover */
}

/* Profile Image Styling */
.middleton-s-header-profile .dropdown-toggle img {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  object-fit: cover;
}

/* Offcanvas Menu Styling */
.offcanvas-header {
  background-color: #29275e; /* Blue background for offcanvas */
}

.offcanvas-body {
  background-color: #ffeabd; /* Beige background for menu items */
}

/* Mobile Styling for Profile Image inside Sidebar */
.middleton-s-header-profile.d-none.d-lg-block {
  display: none; /* Hide profile on mobile */
}

@media (max-width: 991px) {
  /* Display profile in offcanvas for mobile */
  .middleton-s-header-profile.d-none.d-lg-block {
    display: block; /* Profile visible in sidebar on mobile */
    text-align: center;
    margin-top: 20px;
  }

  .middleton-s-header-nav .navbar-nav {
    display: none; /* Hide navbar items for mobile */
  }

  .middleton-s-header-nav .navbar-toggler {
    margin-left: auto;
  }

  /* Sidebar Menu Layout */
  .offcanvas-body .nav-item {
    margin-top: 15px;
  }
}

/* Form Styling for Search */
.middleton-s-search-section .middleton-s-header-form {
  max-width: 800px; /* Limit width for the form */
  margin: 0 auto; /* Center the search form */
}

.middleton-s-search-section .middleton-s-header-form input[name="query"] {
  border-radius: 25px; /* Rounded corners for search input */
  padding: 12px;
}

.middleton-s-search-section .middleton-s-header-form button {
  border-radius: 50%;
  background-color: #9c2447;
  color: white;
  border: none;
  padding: 12px;
  margin-left: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Mobile Form Button */
.middleton-s-search-section .middleton-s-header-form button:focus {
  box-shadow: none;
}
