/* =========================
   Global Styles
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #87CEEB; /* Sky blue color */
  color: #333;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

html {
  scroll-padding-top: 110px; /* Adjust to match the height of your fixed navbar */
  scroll-behavior: smooth; /* Enables smooth scrolling */
}
/* =========================
   Navbar
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff; /* White background */
  color: #333;      /* Dark text color */
  padding: 1em 2em;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1em;
}

.akc-logo {
  width: 95px; /* Adjust as needed */
  height: auto;
}

.site-title h1 {
  font-size: 1.5em;
  color: #333;
}

.tagline {
  font-size: 0.9em;
  color: #777;
}

/* Navbar Links */
.nav-links {
  display: flex; /* Ensure flexbox for alignment */
  gap: 1.5em;
  align-items: center; /* Align items vertically */
}

.nav-links li {
  list-style: none;
}

/* Style for buttons and navigation links */
.nav-links li a {
  display: inline-block;
  padding: 0.5em 1em;
  border-radius: 4px;
  font-size: 1em;
  text-align: center;
  transition: all 0.3s ease; /* Smooth transition */
  color: #333;
}

.nav-links li a:hover {
  background-color: #f4f4f4; /* Light grey hover background */
  border: 1px solid #ccc; /* Box effect */
  color: #004080; /* Dark blue text */
  transform: scale(1.05); /* Slight zoom effect */
}

/* Style for the login button */
.login-btn {
  display: inline-block;
  padding: 0.5em 1.2em;
  border-radius: 4px;
  font-size: 1em;
  text-align: center;
  background-color: #ffca28; /* Initial background color */
  color: #333; /* Dark text */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition */
}

.login-btn:hover {
  background-color: #ffc107; /* Change to darker yellow on hover */
  border: 1px solid #ffa500; /* Add an orange border */
  color: #004080; /* Change text color to dark blue */
  transform: scale(1.05); /* Slight zoom effect */
}

.nav-links li a, .login-btn {
  line-height: 1; /* Ensure consistent button height */
}

.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .hamburger {
    display: flex; /* Show hamburger on mobile */
  }
  
  .nav-links {
    position: absolute;
    top: 70px; /* Adjust based on navbar height */
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    max-height: 300px; /* Adjust as needed */
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a, .nav-links .login-btn {
    width: 100%;
    padding: 1em;
  }
}

/* =========================
   Offset for Fixed Navbar
========================= */
.offset {
  margin-top: 110px; /* Adjust to match navbar height */
}

/* =========================
   Hero Section
========================= */
.hero {
  width: 100%;
  height: 80vh;
  
  /* Background with gradient overlay */
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../images/hero-bg.jpg') no-repeat center center;
  
  background-size: cover; /* Ensures the image covers the entire section */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: #FFD148; /* Updated color as per your changes */
  
  position: relative;
  z-index: 1; /* Ensures hero content is above the background */
}

/* Optional: Add a pseudo-element for better gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit; /* Inherits the background properties */
  z-index: -1; /* Places the overlay below the content */
}

.hero-content {
  max-width: 600px;
  padding: 1em; /* Adds spacing around the content */
  z-index: 1; /* Keeps content above the background */
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.hero-btn {
  background: #ffca28;
  color: #333;
  padding: 0.7em 1.2em;
  border-radius: 4px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background 0.3s;
}

.hero-btn:hover {
  background: #ffc107;
}

/* =========================
   Responsive Hero Adjustments
========================= */
@media (max-width: 768px) {
  .hero {
    height: 60vh; /* Reduce height for smaller screens */
    background-size: cover; /* Maintain cover on smaller screens */
    background-position: center center; /* Center image on mobile */
  }
  
  .hero-content {
    padding: 0.5em; /* Reduce padding for smaller screens */
    text-align: center; /* Center text for better readability */
  }
  
  .hero-content h1 {
    font-size: 2em; /* Adjust heading size */
  }
  
  .hero-content p {
    font-size: 1em; /* Adjust paragraph size */
  }
  
  .hero-btn {
    padding: 0.5em 1em; /* Adjust button padding */
    font-size: 1em; /* Adjust button font size */
  }
}


/* =========================
   Features Section
========================= */
.features {
  background: #87CEEB; /* Changed to sky blue to match body */
  padding: 3em 2em;
  text-align: center;
}

.features h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #004080;
}

.section-subtitle {
  color: #555;
  margin-bottom: 2em;
}

.features-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
}

.features-card {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px; /* Reduced min-height for smaller cards */
}

.features-card:hover {
  transform: translateY(-3px);
}

.features-card i {
  font-size: 2em;
  color: #004080;
  margin-bottom: 0.5em;
}

.features-card h3 {
  color: #004080;
  margin-bottom: 0.5em;
}

.features-card p {
  color: #555;
  line-height: 1.6;
}

/* =========================
   Read More & Explore Links
========================= */
.read-more-link, .explore-link, .enroll-btn {
  padding: 0; /* Removed padding to make it resemble a hyperlink */
  background-color: transparent; /* Transparent background for links */
  color: #004080;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  font-weight: normal; /* Changed from bold to normal */
  transition: color 0.3s, text-decoration 0.3s;
}

/* Make Read More & Explore links smaller and align to the right */
.read-more-link, .explore-link {
  font-size: 0.9em; /* Smaller font size */
  align-self: flex-end; /* Align to the right */
}

.read-more-link:hover, .explore-link:hover {
  color: #e8491d;
  text-decoration: underline;
}

.enroll-btn {
  padding: 10px 20px;
  background-color: #e8491d;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.enroll-btn:hover {
  background-color: #cf3e0d;
}

/* =========================
   Service Modal
========================= */
.modal-bg {
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 1.5em;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transform: translateY(20px);
  animation: slideUpModal 0.4s forwards;
}

@keyframes slideUpModal {
  to {
    transform: translateY(0);
  }
}

.close {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.5em;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.close:hover {
  color: #333;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1em;
}

.service-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#serviceTitle, #courseTitle {
  margin: 0;
  color: #004080;
  font-size: 1.6em;
  line-height: 1.2;
}

.modal-body {
  max-height: 50vh;
  overflow-y: auto;
  line-height: 1.6;
  color: #444;
}

.instructor {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.instructor img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 15px;
}

/* =========================
   Testimonials Section
========================= */
.testimonials {
  background: #87CEEB; /* Sky blue background */
  padding: 3em 2em;
  text-align: center;
}

.testimonials h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #004080;
}

.testimonials p.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 2em;
}

/* Container for testimonials with responsive max-width */
.testimonials-container {
  overflow: hidden; /* Hide overflowing content */
  position: relative;
  max-width: 100%; /* Make it responsive */
  margin: 0 auto; /* Center the container */
}

/* Track that scrolls the testimonials */
.testimonials-track {
  display: flex;
  width: calc(300px * 10 + 20px * 9); /* 10 cards (5 original + 5 duplicates) + 9 gaps */
  animation: scrollTestimonials 40s linear infinite; /* Adjust duration as needed */
  height: 250px; /* Match the fixed height of testimonial cards */
}

/* Individual testimonial card */
.testimonial-card {
  width: 300px; /* Fixed width */
  height: 225px; /* Fixed height */
  flex-shrink: 0; /* Prevent shrinking */
  margin-right: 20px; /* Gap between cards */
  background: #fff;
  padding: 1.5em; /* Adjusted padding for better fit */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  display: flex; /* Enable Flexbox */
  flex-direction: column; /* Stack children vertically */
  justify-content: space-between; /* Distribute space evenly */
  overflow: hidden; /* Hide overflowing content */
}

/* Decorative quotation mark */
.testimonial-card:before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 3em; /* Adjust size as needed */
  color: rgba(0, 0, 0, 0.05);
}

/* Testimonial text with ellipsis and tooltip */
.testimonial-text {
  position: relative; /* For tooltip positioning */
  flex: 1; /* Take up remaining space */
  font-style: italic;
  color: #555;
  line-height: 1.4;
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Add ellipsis for truncated text */
  display: -webkit-box; /* Required for line clamping */
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  -webkit-box-orient: vertical; /* Vertical orientation */
  cursor: pointer; /* Indicates interactivity for tooltip */
}

/* Tooltip container */
.testimonial-text::after {
  content: attr(data-tooltip); /* Fetch tooltip text from data-tooltip attribute */
  position: absolute;
  bottom: 100%; /* Position above the testimonial text */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.85); /* Dark semi-transparent background */
  color: #fff; /* White text */
  padding: 0.7em 1.2em; /* Spacing inside the tooltip */
  border-radius: 6px; /* Rounded corners */
  white-space: pre-wrap; /* Allow text to wrap */
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Initially hidden */
  width: max-content;
  max-width: 300px; /* Maximum width of tooltip */
  text-align: center; /* Center text within tooltip */
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth fade-in effect */
  z-index: 10; /* Ensure tooltip appears above other elements */
}

/* Tooltip arrow */
.testimonial-text::before {
  content: "";
  position: absolute;
  bottom: 100%; /* Position above the testimonial text */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent; /* Creates a downward-pointing arrow */
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Initially hidden */
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth fade-in effect */
  z-index: 10;
}


/* Footer of the testimonial card */
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1em; /* Adds spacing above the footer */
}

.testimonial-rating {
  font-size: 1.2em;
  color: #008000; /* Green color for stars */
}

.testimonial-author {
  font-weight: bold;
  color: #333;
  text-align: right; /* Align author name to the right */
}

.testimonial-link {
  text-decoration: none;
  color: inherit;
}

.testimonial-link:hover .testimonial-card {
  transform: scale(1.02); /* Slight zoom on hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for emphasis */
}

/* Scrolling Animation */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Scroll half the width (since duplicated) */
  }
}

.feature-icon {
  font-size: 3em; /* Adjust icon size as needed */
  margin-bottom: 0.5em; /* Space between icon and heading */
  color: #004080; /* Matching the color theme */
}

@media (max-width: 480px) {
  .testimonial-card {
    height: auto; /* Allow the card to expand */
  }
  
  .testimonial-text {
    -webkit-line-clamp: unset; /* Remove line clamp */
    display: block; /* Ensure full text is visible */
    overflow: visible; /* Show all content */
    text-overflow: unset; /* Remove ellipsis */
  }
  
  .testimonial-text::after,
  .testimonial-text::before {
    display: none; /* Hide tooltips on mobile */
  }
}

/* Visually hidden class for accessibility */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Tooltip container */
.testimonial-text {
  position: relative; /* Establish positioning context for tooltip */
  cursor: pointer; /* Indicates interactivity */
}

/* Tooltip text */
.testimonial-text[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 1000;
}


/* Show tooltip on hover and focus */
.testimonial-text:hover::after,
.testimonial-text:hover::before,
.testimonial-text:focus::after,
.testimonial-text:focus::before {
  opacity: 1; /* Fade in the tooltip */
  visibility: visible; /* Make it visible */
}

/* Pause the scrolling animation when hovering over the testimonials container */
.testimonials-container:hover .testimonials-track {
  animation-play-state: paused;
}

/* =========================
   CTA Button Styling
========================= */

.cta-button {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #e8491d; /* Vibrant orange color */
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  margin-top: 1em; /* Adds space above the button */
}

.cta-button:hover {
  background-color: #cf3e0d; /* Darker orange on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}

.cta-button:active {
  background-color: #b3300b; /* Even darker orange on click */
  transform: translateY(0); /* Remove lift on click */
  box-shadow: none; /* Remove shadow on click */
}

/* =========================
   Latest Courses Section
========================= */
.latest-courses {
  background: #87CEEB; /* Light grey background */
  padding: 3em 2em;
  text-align: center;
}

.latest-courses h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #004080; /* Dark blue heading */
}

.latest-courses p.section-subtitle {
  color: #555;
  margin-bottom: 2em;
}

.latest-courses-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  padding: 0 1em;
}

.latest-course-card {
  background: #fff; /* White background for cards */
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}

.latest-course-card:hover {
  transform: translateY(-5px); /* Slight lift effect */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.latest-course-card h3 {
  font-size: 1.2em; /* Standard font size */
  color: #004080; /* Retain the dark blue color */
  margin-bottom: 0.5em; /* Add some spacing below */
  font-weight: 600; /* Slightly bold for emphasis */
}

.latest-course-card p {
  font-size: 1em;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1em;
}

.latest-course-card .explore-link {
  align-self: flex-end;
  color: #e8491d; /* Orange link */
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  transition: color 0.3s;
}

.latest-course-card .explore-link:hover {
  color: #cf3e0d; /* Darker orange on hover */
  text-decoration: underline;
}

@media (max-width: 768px) {
  .latest-courses-cards {
    flex-direction: column;
    overflow-x: hidden;
  }
}

/* =========================
   Contact Section
========================= */
.contact-section {
  background: #F0EDE4; /* Changed to a light beige for contrast */
  padding: 3em 2em;
  text-align: center;
}

.contact-section h2 {
  font-size: 2em;
  color: #004080;
  margin-bottom: 0.5em;
}

.contact-intro {
  color: #555;
  max-width: 700px;
  margin: 0 auto 2em auto;
  line-height: 1.6;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.contact-card {
  background: #fff;
  flex: 1 1 300px;
  max-width: 400px;
  min-width: 250px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 2em;
  text-align: left;
  margin: 0 auto;
}

.contact-card h3 {
  margin-bottom: 0.8em;
  color: #333;
  font-size: 1.2em;
}

.contact-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.5em;
}

.contact-card a {
  color: #e8491d;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* =========================
   Footer Styles
========================= */
footer {
  background: #004080; /* Dark blue background */
  color: #fff; /* White text */
  text-align: center; /* Center align text */
  padding: 1em 2em;
  position: relative; /* Enable positioning for child elements */
}

footer p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.6;
}

.footer-policy-link {
  font-weight: bold; /* Bold text */
  font-size: 1.2em;
  color: #fff; /* White text for contrast */
  text-decoration: none; /* Remove underline */
  position: absolute; /* Position relative to the footer */
  right: 2em; /* Align to the right */
  top: 50%; /* Vertically center */
  transform: translateY(-50%); /* Adjust for centering */
}

.footer-policy-link:hover {
  text-decoration: underline; /* Add underline on hover for interactivity */
  color: #ffca28; /* Optional hover color for better feedback */
}

/* =========================
   Login Modal
========================= */
#loginModal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  padding: 2em;
  border-radius: 8px;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 1em;
  font-size: 1.5em;
  color: #333;
}

.modal-content .close {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.2em;
  cursor: pointer;
  color: #777;
}

.modal-content .close:hover {
  color: #333;
}

.modal-content .error {
  color: red;
  margin-bottom: 1em;
}

.modal-content form label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: bold;
}

.modal-content form input[type="text"],
.modal-content form input[type="password"] {
  width: 100%;
  padding: 0.7em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-content button[type="submit"] {
  background: #004080;
  color: #fff;
  padding: 0.7em 1.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.modal-content button[type="submit"]:hover {
  background: #003366;
}

/* =========================
   Course Modal
========================= */
.course-modal .enroll-btn {
  padding: 10px 20px;
  background-color: #e8491d;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.course-modal .enroll-btn:hover {
  background-color: #cf3e0d;
}

.module {
  margin-bottom: 15px;
}

.module h4 {
  margin-bottom: 5px;
  color: #004080;
}

.module p {
  margin-bottom: 10px;
  color: #555;
}

.module ul {
  list-style: disc inside;
  padding-left: 20px;
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 1024px) {
  /* No width adjustments needed for grid */
}

@media (max-width: 768px) {
  /* Adjust testimonial card width for smaller screens */
  .testimonial-card {
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  /* Further adjustments for mobile devices */
  .testimonial-card {
    min-width: 200px;
  }
}

/* =========================
   Additional Utility Classes
========================= */
.error {
  color: red;
  margin-bottom: 1em;
}

/* =========================
   LOGIN MODAL CLASS
========================= */
/* Modal Background */
.modal-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 400px;
    position: relative;
}

/* Close Button */
.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Form Styles */
.modal-content form {
    margin-top: 20px;
}

/* Modal Input Fields */
.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333; /* Dark text color for labels */
}

.modal-content input {
    width: 100%; /* Input fields take full container width */
    padding: 8px;
    margin-bottom: 15px; /* Space between fields */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px; /* Standard font size */
}

/* Login Button */
.modal-content button {
    width: auto; /* Button size adjusts to content */
    padding: 10px 20px; /* Add padding for better spacing */
    background-color: #004080; /* Blue background */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px; /* Standard font size */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transitions */
}

.modal-content button:hover {
    background-color: #e8491d; /* Darker blue on hover */
}

/* Register Link */
.register-link {
    font-size: 14px;
    color: #004080;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px; /* Space between Login button and Register link */
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #ff4500; /* Change to light red on hover */
    text-decoration: underline; /* Underline for emphasis */
}

