/* Reset */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: black;
  font-family: monospace;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    font-family: monospace;
    font-size: 30px;
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: black;
  font-family: monospace;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: black;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.social-media-icons {
    margin-top: 10px;
}

/* Social media icon styles */
.socialmediaicon {
    color: #aaaaaa;
    transition: color 0.2s;
    text-decoration: none;
    margin-top: 10px;
    font-size: 2em
}

.socialmediaicon:hover {
    color: #333333;
}

/* New or modified styles for the footer */
.site-footer {
    background-color: #ff7f00;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 30px;
    align-items: center;
}

.footer-container {
    width: 80%;
    margin: 0 auto;
    font-size: 15px;
    align-items: center;
}
.footer-links {
    display: flex;
    align-items: center;
    gap: 10px; /* This will add spacing between the links and the slashes */
    justify-content: center;
    
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
    padding: 0 5px; /* Add some horizontal padding for spacing */
}

.footer-links a:hover {
    color: #aaaaaa;
    transform: scale(1.05);
}

.footer-links a span:hover {
    transform: scale(1.05);
}

/* Removed the last-child rule since we're using :not(:last-child) */


/* Body and container styles */
body {
    margin: 0;
    font-family: monospace;
    font-weight: 800;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Header styles */
header {
  background: orange;
}

header::after {
  content: '';
  display: table;
  clear: both;
}

.logo {
  float: left;
  padding: 10px 0;
}

nav {
  float: right;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  display: inline-block;
  margin-left: 70px;
  padding-top: 23px;
  position: relative;
}

nav a {
  color: #444;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

nav a:hover {
  color: #000;
}

nav a::before {
  content: '';
  display: block;
  height: 5px;
  background-color: #444;
  position: absolute;
  top: 0;
  width: 0%;
  transition: all ease-in-out 250ms;
}

nav a:hover::before {
  width: 100%;
}

.countries-container {
    display: flex;
    flex-wrap: wrap; /* Allows the boxes to wrap to the next line if they don't fit */
    gap: 20px; /* Space between boxes */
    justify-content: center; /* Centers the boxes horizontally */
}

.country-link {
    text-decoration: none; /* Removes the underline */
}

.country-box {
    background-color: #ff7f00; /* Orange background to match the footer */
    color: #fff; /* White text */
    padding: 15px 30px; /* Space inside the box */
    border-radius: 20px; /* Rounded corners */
    text-align: center;
    transition: transform 0.3s, background-color 0.3s; /* Smooth hover effect */
}

.country-box:hover {
    transform: scale(1.05); /* Slightly enlarges the box on hover */
    background-color: #e57000; /* Slightly darkens the box on hover */
}

/* Overall styling */
body {
    font-family: monospace;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}

/* Form styling */
form {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

form div {
    margin-bottom: 15px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    font-family: monospace;
}

input[type="checkbox"] {
    position: relative;
    top: 3px;
}

input[type="submit"],
input[type="reset"] {
    padding: 10px 20px;
    background-color: #ff7f00;
    color: white;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    font-family: monospace;
    transition: background-color 0.3s;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #e57000;
}

#m_emailConfirm {
    margin-right: 10px;
}

/* ... Your existing styles ... */

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

.create-account-btn {
    color: #ff7f00;
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.create-account-btn:hover {
    background-color: #ff7f00;
    color: white;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack children vertically */
}

.countries-container {
    flex: 1;  /* This ensures that it takes up all the available space */
}

.main-content {
  flex: 1;
}

.main-content > *:first-child {
  margin-top: 0;
}

.description {
  max-width: 800px; /* Adjust as needed */
  margin: 30px auto; /* Vertical space of 30px, horizontally centered */
  padding: 20px;
  background-color: #f5f5f5; /* Light gray background, adjust color as needed */
  border-radius: 8px; /* Rounded corners */

  /* Optional: Add a box shadow for a more lifted appearance */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style for the heading to make it stand out */
.description h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

/* Style for the subheading */
.description h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
}

/* Style for the list items for better readability */
.description li {
  margin-bottom: 10px;
}

.universities-container {
  display: flex;
  flex-wrap: wrap; /* Allows the boxes to wrap to the next line if they don't fit */
  gap: 20px; /* Space between boxes */
  justify-content: center; /* Centers the boxes horizontally */
  padding: 20px 0; /* Padding around the entire container for better spacing */
}

.university-box {
  background-color: #f2f2f2; /* Soft gray background */
  color: #333; /* Darker text color for better contrast */
  padding: 15px 30px; /* Space inside the box */
  border-radius: 10px; /* Rounded corners */
  text-align: center;
  transition: transform 0.3s, background-color 0.3s; /* Smooth hover effect */
  width: 250px; /* Consistent width for all boxes */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for a lifted effect */
  text-decoration: none; /* Removes the underline from the link */
  border: 2px solid orange; /* Adds an orange bezel around each box */
}

.university-box:hover {
  transform: scale(1.05); /* Slightly enlarges the box on hover */
  background-color: #e6e6e6; /* Slightly darkens the box on hover */
}

.services-section {
  text-align: center;
  padding: 50px 0;
  background-color: #f5f5f5; /* Light grey background for contrast */
}

.services-section h2 {
  margin-bottom: 50px;
  font-size: 32px;
  color: orange; /* Using the same orange as the navbar for consistency */
}

.service-card {
  display: inline-block;
  width: 180px;       /* Increased width */
  height: 120px;      /* Decreased height */
  margin: 10px 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for a lifted effect */
  transition: transform 0.3s; /* Smooth hover effect */
  vertical-align: top; /* This line ensures all boxes are vertically aligned to the top */

}

.service-card:hover {
  transform: scale(1.05); /* Slightly enlarge the box on hover */
}

.service-card h3 {
  font-size: 18px;
}

.why-choose-us {
  background: linear-gradient(160deg, #f0f0f0, #e0e0e0); /* subtle gradient */
  border: 5px solid #ffa500;  /* border to make it pop */
  padding: 30px;
  margin: 20px 0; /* Provide spacing from the sections above and below */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
}

.choose-section {
  background-color: #f4f4f4; /* Soft gray background */
  padding: 50px 0;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
}

.choose-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.choose-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px; /* Space between each item */
}

.choose-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: calc(20% - 20px); /* Makes sure each box has even width, accounting for the gap */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.choose-item:hover {
  transform: translateY(-10px);
}

.choose-icon {
  font-size: 36px;
  margin-bottom: 10px;
  color: #ffa500; /* Orange color, to keep brand consistency */
  display: flex;
  justify-content: center;
}

.choose-item strong {
  display: block;
  text-align: center;
  margin: 10px 0;
}

.choose-item p {
  font-size: 15px;
  line-height: 1.5;
  color: #666; /* Soft text color */
}

.premier-banner {
  background-image: linear-gradient(to bottom, rgba(255, 127, 0, 0.7), rgba(255, 127, 0, 0.7)), url('strickingimage.avif'); /* Custom orange rgba values */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 80vh; 
  color: #ffffff; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.2);
}

.premier-banner h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  
}

.premier-banner p {
  font-size: 1.5em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.cta-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #ff7f00; 
  padding: 15px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  transition: background-color 0.3s, transform 0.3s;
  font-weight: 700;
}

.cta-btn:hover {
  background-color: #ff7f00;
  color: #ffffff;
  transform: translateY(-3px);
}

.premier-banner a {
  text-decoration: none;
}

/* Registration Form Styles with 'reg-' prefix */

.reg-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f4f4f4;
}

.reg-form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.reg-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.reg-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.reg-btn {
  background-color: #ff7f00;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reg-btn:hover {
  background-color: #e56d00;
}

/* About Section Styling */
.about-section {
  background-color: #f8f8f8; /* Light background for distinction */
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.about-section h2, .about-section h3 {
  color: #333333; /* Darker text for headings */
  margin-bottom: 10px;
}

.about-section p {
  color: #666666; /* Slightly lighter text for paragraphs */
  line-height: 1.6;
}

.about-section ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #666666;
}

.about-section li {
  margin-bottom: 5px;
}

/* Ensure the about-section follows the same font as the rest of the site */
.about-section {
  font-family: 'Your Font Family', sans-serif; /* Replace 'Your Font Family' with your actual font family used in the site */
}
