@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat;
}

/* header */
li, a {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 15px;
  color: #000000;
  cursor: pointer;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background-color: rgb(255, 255, 255);
  border-bottom: #363333 2px solid;
  position: relative;
}

.BOAI-Logo {
  width: auto;
  height: 50px;
  max-width: 300px;
  margin-right: 10px; /* 10px space to the next logo */
  vertical-align: middle;
  display: inline-block;
}

.BOMCI-Logo {
  width: auto;
  height: 50px;
  max-width: 275px;
  margin-right: 0; /* Remove auto margin so it sits next to BOAI-Logo */
  vertical-align: middle;
  display: inline-block;
}

.BOAI-Logo,
.BOMCI-Logo {
  display: inline-block;
  vertical-align: middle;
}

/* Nav list styles */
.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 0 325px; /* Added margin-left here */
}

.nav-list li {
  padding: 10px 15px;
}


.nav-list a {
  text-decoration: none;
}

.nav-list a:hover {
  font-weight: bold; 
  color: #2d549f; 
}

/* Apply button container */
.header-buttons {
  display: flex;
  align-items: center;
  margin-left: 20px; /* Space between nav and button */
}

/* Apply button styles */
.Applybtn {
  border: #080808 2px solid;
  border-radius: 6px;
  background-color: #2d549f;
  padding: 8px 20px;
  cursor: pointer;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 15px;
  transition: .5s;
  color: white;
  margin-left: 15px;
}

.Applybtn a {
  color: rgb(255, 255, 255);
}

.Applybtn:hover {
  background-color: #ffffff; 
  color: #2d549f;
}

.Applybtn:hover a {
  color: rgb(226, 136, 0);
}

.Applybtn a:link {
  text-decoration: none; 
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

/* User Icon - Front End */
.user-front {
  margin-right: 30px; /* Space between user icon and other elements */
  width: 40px;
  height: 40px;
  border: #000000 2px solid;
  border-radius: 50%; /* Changed to percentage for perfect circle */
}

/* Additional styles for better spacing when buttons are hidden */
.header-content {
 display: flex; 
 align-items: center; 
 flex-grow: 1; /* Allows this section to grow and fill space */
 justify-content: space-between; /* Space between title brand and nav list */
}

.hidden{
  display: none;
}

.sub-menu-wrap {
  position: absolute;
  top: 12.5%;
  right: 2%;
  width: 275px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s;
  z-index: 1000; /* Add this to ensure it appears above other elements */
}

.sub-menu-wrap.open-menu{
  max-height: 400px;
}

.sub-menu {
  background: #fff;
  padding: 20px;
  margin: 10px;
  border: #000000 1px solid;
  position: relative; /* Add this to establish a new stacking context */
  z-index: 1001; /* Higher than the wrap for extra safety */
}

.user-info{
  display: flex;
  align-items: center;
}

.user-info h3{
  font-weight: 500;
}

.user-info img{
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.sub-menu hr{
  border: 0;
  height: 1px;
  width: 100%;
  background: #ccc;
  margin: 15px 0 10px;
}

.sub-menu-logo{
  width: 30px;
  height: 30px;
  background: #e5e5e5;
  border-radius: 50%;
  padding: 8px;
  margin-right: 10px;
}

.sub-menu-link{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #525252;
  margin: 15px 0;
}

.sub-menu-link p{
  width: 100%;
  padding: 5px;
}

.sub-menu-link:hover p{
  font-weight: 600;
}

.sub-menu-link span{
  font-size: 22px;
  transition: transform 0.5s;
}

.sub-menu-link:hover span{
  transform: translateX(5px);
}

.modal_container{

  position:fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%) scale(0);
  width: 500px;
  max-width: 80%;
  height: 30%;
  transition: 200ms ease-in-out;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  background-color:#ffffff;
  display: inline-block;
  z-index:3;
}

.modal_container.active{
  transform: translate(-50%, -50%) scale(1);
}

.modal_header{
 padding: 10px 15px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 border-bottom: 1px solid black;
 background-color:#003890;
}

.modal_title{
  font-size: 1.25rem;
  font-weight: bold;
  align-items: center;
  color: #FFFFFF;
}

.modal_header .close_button{
 cursor: pointer;
 border: none;
 outline: none;
 background: none;
 font-size: 1.25rem;
 font-weight: bold;
 color: #ffffff;
}

.modal_body {
  margin-top: 5px;
  display: flex; /* This will allow children to be displayed in a row */
  justify-content: center; /* Center the buttons horizontally */
  margin-right: 20px;
  gap: 70px;
}

.modal_body .image-button {
  width: 65px; /* Set a reasonable width for the buttons */
  height: 65px; /* Set a reasonable height for the buttons */
  cursor: pointer;
  margin: 0 20px; /* Add some space between buttons */
  margin-top: 20px;
  border-radius: 5px;
  background-color: #ffffff;
}

.modal_body .image-button img {
  max-width: 150%; /* Ensure images fit within button dimensions */
  max-height: 150%; /* Ensure images fit within button dimensions */
}

.modal-signin{
  margin-left: 65px;
}

.modal-signin p {
  font-size: 12px;
  text-align: center;
  margin-right: 10px;
  color: #000;
}

.modal-signup p {
  font-size: 12px;
  text-align: center;
  margin-right: 10px;
  color: #000;
}

#overlay{
  position: fixed;
  transition: 200ms ease-in-out;
  opacity: 0;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: none;
}


/* Index Css*/


.whychoose-section {
  padding: 5rem 2rem;
  background-color: #003890;
  text-align: center;
  position: relative;
}

.whychoose-title h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  position: relative;
  text-align: center;
  margin: 60px 30px 30px 30px;
}

.whychoose-title h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--accent);
}

.whychoose-cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.whychoose-card {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  background-color: var(--primary);
  border-radius: 20px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 3px solid #000;
  margin: 10px;
}

.whychoose-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.whychoose-img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.whychoose-card:hover .whychoose-img {
  transform: scale(1.1);
}

.whychoose-text {
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
  position: relative;
  cursor: pointer;
}


/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block; /* Ensures the tooltip is inline with the text */
  cursor: pointer; 
}

.tooltip:hover{ text-decoration: underline #07006e 2px solid;}

/* Tooltip text */
.tooltip-text {
  visibility: hidden;
  width: 300px;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 1rem;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  border: 1px solid var(--accent);
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Card Grid Testimonials Container */
.testimonials-section {
  padding: 5rem 2rem;
  background-color: #fff;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-title {
  margin-top: 50px;
  font-size: 1.5rem;
  color: #003890;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.testimonials-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--accent);
}

.testimonials-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Individual Testimonial Card */
.testimonial-card {
  background: var(--primary-dark);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--primary);
  text-align: center;
  max-width: 325px;
  min-width: 250px;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center align all elements */
}

.testimonial-card {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #003890;
  box-shadow: var(--shadow);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* Testimonial Author Section */
.testimonial-author {
  display: flex;
  flex-direction: column; /* Stack author image and info vertically */
  align-items: center;
  justify-content: flex-start; /* Center author info */
}

/* Author Image */
.testimonial-picture {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

/* Author Info */
.testimonial-author h4 {
  color: var(--accent);
  margin-bottom: 0.3rem;
  text-align: left;
}

.testimonial-author {
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: left;
}

.testimonial-user-type {
  font-size: 12px;
  color: #fff;
  margin-bottom: 10px; 
}

/* Testimonial Text */
.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  text-align: center; /* Center-align the feedback */
  font-size: 12px; /* Adjust font size for better readability */
}

.testimonial-text::before {
  font-size: 3rem;
  color: var(--accent);
  position: absolute;
  opacity: 0.5;
}

.testimonials {
  padding: 20px;
  background-color: #f9f9f9; /* Change this color as needed */
}

.feedback-form-section {
  margin: 20px 0;
  text-align: center;
}

.feedback-form {
  display: inline-block;
  max-width: 500px;
  width: 100%;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.feedback-form button {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.feedback-form button:hover {
  background-color: var(--primary-dark);
}

.footer-break {
  border: none;
  height: 3px;
  background-color: #ad2929; /* Color for the break line */
  margin: 0;
  margin-top: 3.5%;
}

.footer {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center align all items */
  padding: 20px;
  background-color: #003890; /* Footer background color */
  color: rgb(255, 255, 255); /* Change footer text color to black for visibility */
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 20px; /* Space between icons */
  align-self: center; /* Align the social icons to the left */
  margin-bottom: 30px;
}

.social-icons .tooltip-footer {
  position: relative; /* Positioning for tooltip */
  display: inline-block; /* Ensures tooltip is inline with icon */
}

.social-icons img {
  width: 24px; /* Icon width */
  height: 24px; /* Icon height */
  transition: filter 0.3s;
}

.social-icons img:hover {
  filter: blur(1px); /* Hover effect */
}

/* Tooltip text styling Footer */
.tooltip-textfooter {
  visibility: hidden; 
  width: 120px; 
  background-color: #555; 
  color: #fff;
  text-align: center;
  padding: 5px; 
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%; 
  left: 50%;
  margin-left: -60px; 

  opacity: 0;
  transition: opacity 0.3s; 
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-footer:hover .tooltip-textfooter {
  visibility: visible;
  opacity: 1; 
}


/* Pagination Styles */
.pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    grid-column: 1 / -1; /* Make pagination span all columns */
}

.pagination {
    display: flex;
    gap: 5px;
}

.pagination-link {
    padding: 8px 12px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.pagination-link.active {
    background-color: var(--accent);
    font-weight: bold;
    cursor: default;
}

.pagination-link.active:hover {
    transform: none;
    background-color: var(--accent);
}


/* Sign Up Css */

.container {
  display: flex;
  justify-content: center; /* Centers the form horizontally */
  align-items: center;
}

.container-form, .container-info {
  border: 1px solid #ccc; /* Optional: Add a border for visual separation */
  padding: 5px;
}

form {
    margin-top: 15px;
    margin-bottom: 10px;
  }

 .container-form {
  border: 3px solid #0f0f0f;
  border-radius: 10px;
  background: #003890; /* Gradient from blue to light blue */
  width: 35%;
  height: 800px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  margin-top: 35px;
  margin-bottom: 25px;
  box-shadow: 0 0 10px #4169e1, 0 0 20px #4169e1, 0 0 30px #4169e1, 0 0 40px #4169e1;
  position: relative; /* Ensure absolute positioning works within this container */
}
  
  #signup-contact {
    margin-left: -20px;
  }

  #submit-signup{
   margin-left: 125px;
  }

  input[type=text]{
    width: 25%;
    font-family: Montserrat;
    display: inline-block;
    border: 2px solid #000000;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 8px 0;
    text-align: justify;
    color: rgb(0, 0, 0);
    height: 35px;
    width: 275px;
    padding: 5px;
  }
  
  input[type=number]{
    width: 25%;
    font-family: Montserrat;
    display: inline-block;
    border: 2px solid #000000;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 8px 0;
    text-align: justify;
    color: rgb(0, 0, 0);
    height: 35px;
    width: 200px;
    padding: 5px;
  }

  #age-signup{
    width: 120px;
    padding: 5px;
  }

  #contact-signup{
    width: 275px;
    padding: 5px;
  }

  #fname-signup, #lname-signup{
    width: 220px;
    padding: 5px;
  }



  input[type=password]{
    width: 25%;
    font-family: Montserrat;
    display: inline-block;
    border: 2px solid #000000;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 8px 0;
    text-align: justify;
    color: rgb(0, 0, 0);
    height: 35px;
    width: 275px;
    padding: 5px;
  }

  .passwrd{
    position: relative;
    width: fit-content;
    display: inline-block;
  }
  .pass-icon{
    position: absolute;
    right: 282px; /* Adjust the right position to fit the input */
    top: 85.5%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
   
  }
  .pass-icon1 {
    position: absolute;
    right: 282px; /* Adjust the right position to fit the input */
    top: 94%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    z-index: 10;
  }

form label{
  display:inline-block;
  min-width:30%;
  text-align: left;
  margin-top: 20px;
  font-size: 14px;
}

  .submitbtn{
    background-color: transparent;
    color: rgb(255, 255, 255);
    padding: 14px 20px;
    width: 40%;
    font-weight: bold;
    border: 2px white solid;
    border-radius: 10px;
    cursor: pointer;
    font-family: Montserrat;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }
  
  .submitbtn:hover {
    background-color: white;
    color: #4169E1;
  }
  

  .container-form h1{
    text-align: center;
    margin-top: 10px;
    font-family: Montserrat;
    color: white;
    margin-bottom: 25px;
  }

  .BOAILogos {
    width: 100px;
    height: 80px;
  }
  
  .container-info {
    font-family: Montserrat;
    text-align: left;  
    color: white;
    margin: 25px;
    padding-left: 30px;
    margin-top: 70px;
  }
  
  .container-info .submitbtn {
    text-align: center; 
  }
    
.signup-form-group{
    display: flex;
    flex-direction: inline;
    gap: 5px
  }



  #BaiVid {
    position: fixed; /* Make the video fixed */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Cover the entire area */
    z-index: -1; /* Send the video behind other elements */
}

.validation-message {
  color: rgb(255, 255, 255);
  font-size: 10px;
  margin-top: 3px;
  font-weight: bold;
}


.user-type-selection {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  
}

.user-type-selection label {
  font-size: 14px;
  cursor: pointer;
  margin-left: 30px;
}

.user-type-selection input[type="checkbox"] {
  margin-right: 10px;
}

#userType-validation-message {
  text-align: center;
}

/*About Us page Css */
:root {
  --primary: #24035a;       /* Deep purple */
  --secondary: #dda409;     /* Gold */
  --dark: #1A1A2E;          /* Navy blue */
  --light: #f8f9fa;         /* Off-white */
  --accent: #4a6bff;        /* Bright blue */
  --gray: #eceaea;          /* Light gray */
  --white: #ffffff;         /* Pure white */
  --black: #0f0f0f;         /* Dark black */
  --light-bg: #f5f7fa;      /* Very light blue-gray */
  --section-bg: #f0f2f5;    /* Slightly darker light bg */
  --card-bg: #ffffff;       /* White for cards */
  --text-dark: #333333;     /* Dark gray for text */
  --text-light: #f5f5f5;    /* Light text */
  --success: #4CAF50;       /* Green */
  --warning: #FFC107;       /* Yellow */
  --error: #F44336;         /* Red */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  margin: 0;
  padding: 0;
}

/* Header Section */
.containerAu-head {
  background: linear-gradient(135deg, #003890, var(--primary));
  height: auto;
  padding: 4rem 1rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.containerAu-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(221, 164, 9, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(74, 107, 255, 0.1) 0%, transparent 25%);
  z-index: 0;
}

.containerAu-head h1 {

  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;

}

/* Main Content Containers */
.containerAU {
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 3, 90, 0.1);
}

.containerAU::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(135deg, rgba(36,3,90,0.05) 0%, rgba(221,164,9,0.05) 100%);
  z-index: 0;
}

.BAI-coverAU {
  width: 100%;
  max-width: 1100px;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 1;
  border: 2px solid rgba(36, 3, 90, 0.2);
}

.BAI-coverAU:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary);
}

.containerAU-info {
  margin: 2rem auto;
  margin-bottom: 4rem;
  min-width: 300px;
  max-width: 1000px;
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(36, 3, 90, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding-left:120px;
  padding-right: 120px;
  text-align: justify;
}

.containerAU-info h2 {
  color: #003890;
  font-size: 1.8rem;
  margin-top: 0;
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
}

.containerAU-info h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.containerAU-info p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin: 1.5rem 0;

}

/* Info Boxes */
.containerAU-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: var(--section-bg);
  border-radius: 10px;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(221, 164, 9, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(36, 3, 90, 0.05) 0%, transparent 20%);
}

.containerAU-info1, 
.containerAU-info2 {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: justify;
  line-height: 35px;
}

.containerAU-info1 {
  background: linear-gradient(135deg, var(--dark), #003890);
  color: var(--white);
  border: 1px solid rgba(221, 164, 9, 0.3);
}

.containerAU-info2 {
  background: linear-gradient(135deg, #ffffff, #f5f5f5);
  border: 1px solid rgba(36, 3, 90, 0.1);
}

.containerAU-info1:hover, 
.containerAU-info2:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.containerAU-info1 h2, 
.containerAU-info2 h2 {
  font-size: 1.5rem;
  margin-top: 0;
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
}

.containerAU-info1 h2::after,
.containerAU-info2 h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
}

.containerAU-info1 h2::after {
  background: var(--secondary);
}

.containerAU-info2 h2::after {
  background: var(--primary);
}

.containerAU-info1 p,
.containerAU-info2 p {
  margin: 1rem 0;
  font-size: 1rem;
}

/* Bottom Section */
.containerAU-infodown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 3rem auto;
  gap: 3rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  background-image: 
    linear-gradient(to right, #003890 10%, var(--primary) 80%);

}

.containerAU-info3 {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(221, 164, 9, 0.2);
}

.BAI-coverdown {
  flex: 1;
  padding: 1rem;
  margin: 1rem;
  min-width: 300px;
  max-width: 550px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(36, 3, 90, 0.1);
  transition: var(--transition);
  
}

.BAI-coverdown:hover {
  transform: scale(1.02);
  border-color: var(--secondary);
}

/* Mission & Vision */
.containerAU-mnv {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #003890, var(--dark));
  padding: 4rem 2rem;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
  margin: 5rem 0;
  position: relative;
  border: 1px solid rgba(36, 3, 90, 0.1);
}

.containerAU-mnv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(221, 164, 9, 0.05) 0%, transparent 30%);
  z-index: 0;
}

.containerAU-mnv1 {
  flex: 1;
  height: 225px;
  width: 600px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 1rem;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(221, 164, 9, 0.2);
}

#vision-container {
    
}

.containerAU-mnv h1 {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  color: var(--white); 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.containerAU-mnv1 h4{
  color: #003890;
  text-align: center;
  font-weight: 600;
}

/* Core Values Section */
.containerAU-values {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 2rem;
  text-align: center;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.containerAU-values h1 {
    color: #003890;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.containerAU-values h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary);
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.value-card {
  flex: 1;
  min-width: 150px;
  max-width: 170px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid #003890;
  text-align: center;
  position: relative;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-top-color: var(--secondary);
}

.value-icon img {
    margin-bottom: 1rem;
    width: 50px;
    height: 50px;
}

.value-card h3 {
  color: #003890;
  font-size: 1.2rem;
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.value-card h3:hover {
  color: var(--secondary);
}

.value-card p {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 250px;
  background-color: #fff;
  backdrop-filter: blur(5px);
  color:  #000;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 2px solid var(--secondary); 
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

.value-card h3:hover + p,
.value-card p:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(110%);
}

@media (max-width: 768px) {
  .value-card {
    min-width: 150px;
  }
  
  .value-card p {
    width: 200px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .value-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .value-card p {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    margin-top: 1rem;
    box-shadow: none;
    padding: 0.5rem 0;
  }
  
  .value-card h3:hover + p,
  .value-card p:hover {
    transform: none;
  }
}

/* President Section */
.containerAU-person {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 5rem auto;
  gap: 3rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  background-image: 
    linear-gradient(135deg, rgba(36, 3, 90, 0.03) 0%, rgba(221, 164, 9, 0.03) 100%);
}

.containerAU-personinfo {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.containerAU-personinfo h3 {
  font-style: italic;
  font-size: 1.4rem;
  color: #003890;
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
}

.containerAU-personinfo h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1rem;
  font-size: 4rem;
  color: #003890;
  opacity: 0.3;
}

.containerAU-personinfo h4 {
  color: #003890;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  text-align: right;
  font-weight: 600;
}

.containerAU-personinfo p {
  color: var(--text-dark);
  font-size: 1rem;
  text-align: right;
  font-style: italic;
}

.BAI-Pres {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 3px solid var(--secondary);
}

.BAI-Pres:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Team Section */
.team {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 2rem;
  background-color: var(--section-bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.team-title h1 {
  color: #003890;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.team-title h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--secondary);
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: 220px;
  border-top: 4px solid var(--secondary);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(221, 164, 9, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.team-member:hover img {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.team-member p.name {
  font-weight: bold;
  color: #003890;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.team-member p.position {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .containerAu-head h1 {
    font-size: 2rem;
  }
  
  .containerAU-info h2,
  .containerAU-mnv h1,
  .team-title h1 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .containerAU-personinfo h3,
  .containerAU-personinfo h4,
  .containerAU-personinfo p {
    text-align: center;
  }
  
  .containerAU-personinfo h4 {
    margin-top: 1rem;
  }
  
  .BAI-Pres {
    margin: 2rem auto;
  }
  
  .containerAU,
  .containerAU-topics,
  .containerAU-infodown,
  .team {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .containerAu-head {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    padding: 3rem 1rem;
  }
  
  .containerAu-head h1 {
    font-size: 1.8rem;
  }
  
  .containerAU-mnv h1,
  .team-title h1 {
    font-size: 1.5rem;
  }
  
  .Bai-pres, 
  .Bai-Treasurer, 
  .Bai-Secretary {
    width: 100%;
    max-width: 250px;
  }
  
  .BAI-coverAU {
    height: 250px;
  }
}
  
  .containerAu-head h1 {
    font-size: 1.8rem;
  }
  
  .containerAU-mnv h1,
  .team-title h1 {
    font-size: 1.5rem;
  }
  
  .Bai-pres, .Bai-Treasurer, .Bai-Secretary {
    width: 100%;
    max-width: 250px;
  }


/* Contact Page Css */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('Pictures/corpo.jpg') no-repeat center center;
  background-size: cover;
  padding: 2rem;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 2rem;
  background: #003890;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-info iframe {
  width: 100%;
  height: 250px;
  border: 2px solid #e6990b;
  border-radius: 10px;
  margin: 1rem 0;
}

.contact-info h2, .contact-info h3 {
  color: #e6990b;
  margin: 1.5rem 0 0.5rem;
}

.contact-info p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-info a {
  color: #4caf50;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #2e7d32;
  text-decoration: underline;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 2rem;
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2d549f;
  font-size: 2rem;
}

.form-container {
  margin-bottom: 1.5rem;
}

.form-container h3 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1rem;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  flex: 1;
  min-width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2d549f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 84, 159, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.button-container {
  text-align: center;
  margin-top: 2rem;
}

.send-message-btn {
  padding: 12px 30px;
  background-color: #2d549f;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.send-message-btn:hover {
  background-color: #1a3a7a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.alert {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.alert-danger {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}



/* SIGN IN ERROR MESSAGE */
.alert {
  padding: 10px;
  margin: 20px 0;
  border-radius: 5px;
  position: absolute; /* Prevent pushing content down */
  top: 85px;        /* Adjust as needed */
  left: 10px;       /* Adjust as needed */
  right: 10px; 
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

/* SIGN UP ERROR MESSAGE */

.alerts {
  padding: 10px;
  margin: 20px 0;
  border-radius: 5px;
  position: absolute; /* Prevent pushing content down */
  top: 60px; /* Adjust as needed */
  left: 10px; /* Adjust as needed */
  right: 10px; /* Adjust as needed */
  z-index: 1; /* Ensure it appears above other elements */
}

/* Edit Profile CSS */
.edit-profile {
  margin: 70px auto;
  max-width: 800px;
  padding: 0 20px;
}

.edit-profile-container{
  background: linear-gradient(135deg, rgba(214, 209, 209, 0.911), rgba(41, 33, 165, 0.815));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 40px;
  margin-bottom: 30px;
}

.profile-edit-pfp{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto 20px;
}

.edit-profile-container h3{
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 1.5rem;
}

.edit-profile-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
  justify-content: center; /* Center the groups */
}


.edit-profile-info h4{
  margin-top: 5px;
 
}

.edit-prof-input {
  width: 100%;
  padding: 10px 12px; /* Slightly reduced padding */
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 300px; /* Added max-width to prevent over-expansion */
  box-sizing: border-box;
}


.edit-prof-input:focus {
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
  outline: none;
}

.edit-profile-group {
  flex: 1;
  min-width: 250px;
  max-width: 300px; /* Added max-width */
}

.edit-profile-group h4 {
  margin-bottom: 8px;
  color: #444;
  font-size: 0.9rem;
}

input[type="file"] {
  width: 100%;
  max-width: 300px;
  padding: 8px;
  border: 1px dashed #ccc;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.8);
  display: block;
  margin: 0 auto;
}

input[type="file"]::file-selector-button {
  background: #4a6cf7;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
  background: #3a5bd9;
}

.edit-profile-group input{
  gap: 20px;
  width: 150%;
}

/* Placeholder styling */
.edit-prof-input::placeholder {
  color: #888; /* Change placeholder color */
  font-size: 12px; /* Adjust font size to make it more readable */
  font-style: italic; /* Italicize placeholder text */
  opacity: 1; /* Ensure full opacity (especially for Firefox) */
}

.edit-profile-upload {
  margin: 25px 0;
}

.edit-profile-upload h4 {
  margin-bottom: 10px;
  color: #444;
}

.edit-profile-update {
  text-align: center;
  margin-top: 30px;
}

.button-edit-up {
  background: linear-gradient(135deg, #4a6cf7, #6a4af7);
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.button-edit-up:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
}



/* Sign In CSS */
.container-login{
  display: flex;

}

.container-form-login h1{
  font-size: 2em; /* Made the title much larger */
  margin: 0;
  font-weight: bold;
  color: #2d549f;
  /*text-shadow: 2px 2px #24035a; */
  padding-left:18px;
  margin-top: 30px;
}

.container-info-login{
   font-family: Montserrat;
    text-align: center;  
    color: white;
    margin: 25px;
}

.sign-in-btn{
  margin-top: 10px;
  padding: 5px; /* Increased padding */
  width: 75%;
  height: 40px;
  background-color: #2d549f;
  color:rgb(255, 255, 255);
  border: 2px solidrgb(0, 0, 0);
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s;
  font-size: 15px; /* Made button text larger */
  margin-left:25px;
  margin-bottom: 10px;
}

.sign-in-btn:hover {
  background-color: #ddd;
  color: #24035a;
}

.recaptcha-container {
  width: 180px; /* Adjust this value as needed for smaller size */
  height: auto;
  margin: 0 auto; /* Center it horizontally */
  display: flex;
  justify-content: center;
  margin-top: 10px;
}


.g-recaptcha {
  width: 100%; /* Fill the container */
  transform: scale(0.7); /* Optional scaling if you want further reduction */
  transform-origin: 0 0; /* Scale from top-left corner */
}

.error{
  color: red;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
  font-family: Montserrat;
}
.success{
  color: green;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
  font-family: Montserrat;
}

.disabled-form input,
.disabled-form textarea,
.disabled-form button {
    pointer-events: none;
    background-color: #f0f0f0;
    color: #999;
}

.disabled-form .send-message-btn {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-disabled {
    opacity: 0.5;
}

.password-container {
  position: relative;
  width: 100%;
}

.password-container input {
  padding-right: 40px; /* Make space for the eye icon */
  width: 90%
}

.login-toggle-password {
  position: absolute;
  right: 25px;
  top: 65%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
  background: none;
  border: none;
  font-size: 1.2em;
}

.login-toggle-password:hover {
  color: #333;
}


/* CSS for Jobs */

.job-listing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.job-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1; /* Default stacking level */
  border: #003890 4px solid;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.job-card h2{
  color: #000;
  text-align: center;
  margin-bottom: 15px;
  border-bottom: #ffffff 2px solid;
}

.job-card p{
  color: #003890;
  margin-top: 15px;
}

.job-card img{
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.applyjob-btn {
  background: linear-gradient(135deg, #e6990b 0%, #ffbb33 100%);
  color: #24035a;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: auto;
  display: inline-block;
  margin: 25px 0 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(230, 153, 11, 0.3);
}

.applyjob-btn:hover {
  background-color: #24035a; /* Darker shade on hover */
}

.applyjob-btn a:hover {
  color: #fff;
  font-weight: bold;
}

.success-message {
  color: green;
  font-weight: bold;
  padding: 10px;
  background-color: #dff0d8;
  border-radius: 5px;
  margin: 10px 0;
}






/*Service Page */
.company-break{
  border: none;
  height: 3px;
  background-color: #2c2a2a; /* Color for the break line */
  margin: 0;
  margin-top: 7%;
}

.company-title{
  color: #24035a;
  margin-top: 5px;
  margin-left: 10px;
}

.company_affil{
  margin-top: 1%;
  display: flex;
  gap: 80px; /* Space between cards */
  border: #0a0a0a 2px solid;
  border-radius: 5px;
  padding-bottom: 20px;
  border: none;
  margin-left: 10%;
  margin-right: 10%;
}

.company-card{
  height: 150px;
  width: 150px;
  display: inline-block; /* Ensures cards are inline blocks */
  margin-top: 3%; /* Space above cards */
  text-align: center; /* Center align text within cards */

}

.company-img {
  height: 115px;
  width: 105px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  border: #000000 3px solid;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Adjust the arrows to be more visible */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: var(--primary);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Adjust the dots navigation */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}


/* Services */

.services-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.service-container-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-image: url('Pictures/services-bg.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
opacity: 0.3; /* Adjust opacity as needed */
}

.service-container-bg {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: -1;
}

.service-container-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Adjust opacity as needed */
   }

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h1 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.services-header p {
  font-size: 18px;
  color: #7f8c8d;
  max-width: 800px;
  margin: 0 auto;
}

.services-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
max-width: 1100px;
margin: 0 auto;
}

.flip-card {
perspective: 1000px;
width: 100%;
max-width: 500px;
margin: 0 auto;
height: 300px;
}

.flip-card p {
  font-size: 16px;
  color: #2c3e50;
  margin-top: 10px;

}

.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
transition: transform 0.8s;
transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 8px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
background: white;
text-align: center;
}

.flip-card-back {
transform: rotateY(180deg);
}

.flip-card h2 {
  margin-top: 20%;
  font-size: 24px;
  color: #2c3e50;
}

#front-liners h2{
margin-top: 10px;
color: #2d549f;
}

#front-liners {
border: 2px solid #007bff;
animation: glow 2s infinite alternate;
}

@keyframes glow {
from {
box-shadow: 0 0 5px -5px #007bff;
} to {
box-shadow: 0 0 5px 5px #007bff;
}
}

#others{
padding-top: 60px;
color: #2d549f;
border: 2px solid #007bff;
animation: glow 2s infinite alternate;
}

@keyframes glow {
from {
box-shadow: 0 0 5px -5px #007bff;
} to {
box-shadow: 0 0 5px 5px #007bff;
}
}

.flip-card p {
  list-style: none;
  text-align: left;
}

.flip-card p {
  padding: 8px 0;
  font-size: 16px;
  color: #fff;
  position: relative;
  padding-left: 25px;
}

.flip-card p:before {
  content: "•";
  color: #3498db;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 5px;
}

#head-hunt, #manpower {
background-color: #1A1A2E;
}
#head-hunt h2, #manpower h2,
#head-hunt-back h2, #manpower-back h2 {
color: #fff;
}

#head-hunt-back, #manpower-back {
background-color: #1A1A2E;
}



/*Service */
.industry-bai-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.industry-bai-container h1 {
  color: #003890;
  text-align: center;
  padding-top: 30px;
  margin-bottom: 30px;
}

.industry-bai-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.industry-bai-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.industry-bai-card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  border: #000000 2px solid;
  background-color: #003890;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.industry-bai-card:hover {
  transform: translateY(-5px);
}

.industry-bai-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.industry-bai-card h3 {
  color: white;
  text-align: center;
  padding: 15px 10px;
  margin: 0;
}

/* Three-dot menu styles */
.testimonial-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.testimonial-menu-dots {
  font-size: 20px;
  color: #666;
  padding: 5px;
}

.testimonial-menu-dropdown {
  position: absolute;
  right: 0;
  top: 30px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: none;
  z-index: 1;
  min-width: 120px;
}

.testimonial-menu-dropdown.show {
  display: block;
}

.testimonial-menu-dropdown button {
  background: none;
  border: none;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #333;
}

.testimonial-menu-dropdown button:hover {
  background-color: #f5f5f5;
  color: #ff0000;
}

.testimonial-card {
  position: relative;
}


/*BOMCI-CSS*/
.inquiry-container {
    max-width: 800px;
    margin: 50px auto; /* Center the container horizontally and add spacing */
    padding: 20px;
    background-color: #ffffff; /* White background for better contrast */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: left; /* Align text to the left */
}

.inquiry-container h2 {
    font-size: 24px;
    color: #24035a; /* Match the theme color */
    margin-bottom: 20px;
    text-align: center; /* Center-align the headings */
}

.inquiry-container .form-container {
    margin-bottom: 20px;
}

.inquiry-container .form-container h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.inquiry-container .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Adjusting form-group for inline inputs */
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between inputs */
    justify-content: space-between; /* Align inputs in a row */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"]
 {
    flex: 1;
    min-width: calc(50% - 10px); /* Ensure two inputs fit in one row */
    max-width: calc(50% - 10px); /* Adjust width for better alignment */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #2d549f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 84, 159, 0.2);
}


.form-group textarea {
width: 600px;
}

.inquiry-container .button-container {
    text-align: center;
}

.inquiry-container .send-message-btn {
    padding: 10px 20px;
    background-color: #2d549f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inquiry-container .send-message-btn:hover {
    background-color: #1a3a7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}




/*Media Screen Size */

/* Service Page Responsive Design */
@media (max-width: 1000px) {
  .industry-bai-card {
    min-width: calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .industry-bai-row {
    flex-direction: column;
  }
  
  .industry-bai-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .industry-bai-container h1 {
    font-size: 24px;
  }
}

/*Front Login Page Responsive Design */
@media (max-width: 768px) {

    .container-login {
        margin-top: 50px;
        flex-direction: column;
        align-items: center;
    }
    .container-form-login {
        width: 80%;
        padding: 10px;
    }

    .container-info-login input {
        width: 100%;
        font-size: 14px;
    }

    .forgot-password-href {
        font-size: 12px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .Applybtn {
        display: none;
    }

    .Applybtn.mobile-visible {
        display: block;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .container-form-login {
        width: 90%;
        padding: 5px;
    }

    .container-info-login input {
        font-size: 12px;
    }

    .forgot-password-href {
        font-size: 10px;
    }

    .nav-list {
        top: 50px;
    }
}


/* Header and Navigation Responsive Design */
/* Header and Navigation Responsive Design - Large Screens (1440px and up) */
@media (min-width: 1440px) {
  header {
    padding: 15px 8%; /* Slightly less padding for tighter layout */
  }

  .BOAI-Logo {
    height: 55px;
    max-width: 300px;
  }

  .BOMCI-Logo {
    height: 55px;
    max-width: 275px;
  }

  .nav-list {
    margin-left: 250px; /* Less margin to prevent overflow */
  }

  .nav-list li {
    padding: 12px 16px;
  }

  li, a {
    font-size: 17px;
  }

  .Applybtn {
    padding: 10px 24px;
    font-size: 17px;
  }

  .user-front {
    width: 45px;
    height: 45px;
  }

  .sub-menu-wrap {
    width: 260px;
  }
}


@media (max-width: 1200px) {
  .nav-list {
    margin-left: 300px;
  }
}

@media (max-width: 992px) {
  .BOAI-Logo {
    height: 40px;
  }
  
  .nav-list {
    margin-left: 200px; /* Further reduced margin */
  }
  
}

@media screen and (max-width: 768px) {
  header {
    padding: 10px 15px;
    flex-wrap: nowrap; /* Prevent wrapping of header items */
    align-items: center;
  }
  
  .mobile-menu-btn {
    display: block;
    order: 3; /* Move hamburger menu to the right */
    margin-left: auto;
    padding: 5px;
    background: none;
    border: none;
    color: #000;
    font-size: 24px;
    cursor: pointer;
    z-index: 101; /* Higher than header */
  }

  .BOAI-Logo, 
  .BOMCI-Logo {
    height: 35px;
    width: auto;
    margin: 0 5px 0 0; /* Small gap between logos */
    display: inline-block;
    vertical-align: middle;
  }
  
  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 4;
    margin: 0;
    padding: 0;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 99; /* Below header but above page content */
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .nav-list.active {
    display: flex;
    max-height: 500px; /* Adjust based on your content */
    padding: 10px 0;
  }
  
  .nav-list li {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
  }

  .Applybtn {
    order: 3;
    width: calc(100% - 40px);
    margin: 10px 20px;
    text-align: center;
    z-index: 101; /* Same as hamburger button */
    position: relative; /* Ensure z-index works */
  }

  .Applybtn.mobile-visible {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 40px);
    margin: 10px auto;
  }

    .Applybtn.mobile-visible:not(.hidden) {
      display: block;
      position: relative;
      top: auto;
      left: auto;
      width: calc(100% - 40px);
      margin: 10px auto;
    }

    .Applybtn.hidden {
      display: none !important;
    }
  
    .header-buttons {
      order: 3;
      margin-left: auto;
      z-index: 101; /* Same as hamburger button */
      position: relative; /* Ensure z-index works */
    }

    .user-front {
    order: 4; /* Keep profile picture on the right */
    margin-left: 10px;
    width: 35px;
    height: 35px;
    z-index: 101; /* Same as hamburger button */
    }

    /* Adjust sub-menu position on mobile */
    .sub-menu-wrap {
      top: 100%;
      right: 20px;
      z-index: 102; /* Above everything else when open */
    }

      /* Animation keyframes */
      @keyframes slideDown {
        from {
          opacity: 0;
          transform: translateY(-10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      
      .nav-list.active li {
        animation: slideDown 0.3s ease forwards;
      }
      
      /* Stagger the animations */
      .nav-list.active li:nth-child(1) { animation-delay: 0.1s; }
      .nav-list.active li:nth-child(2) { animation-delay: 0.2s; }
      .nav-list.active li:nth-child(3) { animation-delay: 0.3s; }
      .nav-list.active li:nth-child(4) { animation-delay: 0.4s; }
      .nav-list.active li:nth-child(5) { animation-delay: 0.5s; }
    }

    @media (max-width: 768px) {
  .BOAI-Logo {
    height: 35px;
    max-width: 150px;
    margin-right: 8px; /* keep gap on mobile */
  }
  .BOMCI-Logo {
    height: 35px;
    max-width: 140px;
    margin-right: 0;
  }
}

/* If you want to center the logos together in the header on mobile: */
@media (max-width: 768px) {
  header {
    justify-content: flex-start;
  }
  .BOAI-Logo,
  .BOMCI-Logo {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

  @media screen and (max-width: 576px) {
  .BOAI-Logo {
    height: 25px;
    max-width: 100px;
    margin-right: 8px; /* keep gap on mobile */
  }
  .BOMCI-Logo {
    height: 25px;
    max-width: 120px;
    margin-right: 0;
  }

    .mobile-menu-btn {
      font-size: 20px;
      padding: 8px;
    }
    
    .nav-list {
      top: 65px;
    }
    
    .sub-menu-wrap {
      width: 85%;
    }
  }

  @media (max-width: 576px) {
  header {
    justify-content: flex-start;
  }
  .BOAI-Logo,
  .BOMCI-Logo {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}


/*header - Apply Now Button */
@media screen and (max-width: 768px) {
  .Applybtn {
    width: 100px; /* Fixed width for medium mobile screens */
    margin-left: auto; /* Push to the right */
    margin-right: 10px; /* Add some spacing */
    padding: 5px 7px; /* Adjust padding */
    font-size: 10px; /* Slightly smaller font */
  }
}

@media screen and (max-width: 667px) {
  .Applybtn {
    width: 100px; /* Smaller width for small mobile screens */
    padding: 6px 8px; /* Tighter padding */
    font-size: 11px; /* Smaller font */
  }
}

@media screen and (max-width: 576px) {
  .Applybtn {
    width: 100px; /* Smaller width for small mobile screens */
    padding: 6px 8px; /* Tighter padding */
    font-size: 11px; /* Smaller font */
  }
}

@media screen and (max-width: 480px) {
  .Applybtn {
    width: 90px; /* Even smaller for very small screens */
    padding: 5px; /* Minimal padding */
    font-size: 11px; /* Smallest readable font */
    margin-right: 5px; /* Reduce spacing */
  }
}

@media screen and (max-width: 375px) {
  .Applybtn {
    width: 100px; /* Smaller width for small mobile screens */
    padding: 6px 8px; /* Tighter padding */
    font-size: 11px; /* Smaller font */
  }
}



/* Index Page Responsive Design */
@media (max-width: 1024px) {
  .whychoose-card {
    flex: 1 160px;
  }
}

@media (min-width: 1024px) {
  .whychoose-section {
    display: flex;
    flex-direction: row; 
    justify-content: center; 
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .whychoose-cards-container {
    flex-direction: column;
    align-items: center;
  }
  
  .whychoose-card {
    max-width: 100%;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .whychoose-card:last-child {
    margin-bottom: 0;
  }
}

/* Responsive adjustments */
@media (min-width: 1024px) {
  .testimonials-section {
    grid-template-columns: repeat(4, 1fr); /* 3 cards in a row for smaller screens */
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    grid-template-columns: repeat(2, 1fr); /* 2 cards in a row for tablets */
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    grid-template-columns: 1fr; /* Display 1 card per row */
  }
}

@media (max-width: 480px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
  }
  
  .whychoose-section h1,
  .testimonials-title h2 {
    font-size: 2rem;
  }
  
  .whychoose-cards-container {
    grid-template-columns: 1fr;
  }
  
  .whychoose-card {
    max-width: 100%;
  }
}

/* Contacts Page Responsive Design */
@media (max-width: 768px) {
  .contact-container {
      padding: 1rem;
      flex-direction: column;
  }
  
  .contact-info, .contact-form {
      width: 100%;
      max-width: 100%;
  }
  
  .form-group input {
      min-width: 100%;
  }
}

/*Edit Profile Page Responsive Design */
@media (max-width: 768px) {
  .edit-profile {
      margin: 50px 15px;
  }
  
  .edit-profile-container {
      padding: 30px 20px;
  }
  
  .edit-profile-info {
      flex-direction: column;
      gap: 15px;
  }
  
  .edit-profile-group {
      min-width: 100%;
  }
  
  .modal-content {
      margin: 20% auto;
      width: 85%;
  }

  .edit-prof-input {
    max-width: 100%;
}
}


@media (max-width: 480px) {
  .profile-edit-pfp {
      width: 100px;
      height: 100px;
  }
  
  .edit-profile-container h3 {
      font-size: 1.3rem;
  }
  
  #confirmUpdateButton, #cancelUpdateButton {
      margin: 5px;
      width: 100px;
  }
}

/* Job Page Responsive Design */
@media (max-width: 768px) {
  .job-listing {
    grid-template-columns: 1fr;
  }
  
  .job-applicant-btn {
    margin-left: 15px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
      grid-template-columns: 1fr;
      max-width: 500px;
  }
  
  .services-header p {
      font-size: 16px;
  }
}

/* Sign up Page Responsive Design */
@media (max-width: 1024px) {
  .container-form {
    width: 80%;
    margin: 0 auto;
  }

  .container-info {
    padding: 10px;
  }

  .signup-form-group {
    flex-direction: column;
    gap: 10px;
  }

  .submitbtn {
    width: 100%;
  }
}

/* Fix for container-form on smaller screens */
@media (max-width: 768px) {
  .container-form {
    width: 90%;
    padding: 5px;
  }

  .signup-form-group {
    flex-direction: row;
    gap: 3px; /* Reduce gap between inputs */
  }

  .signup-form-group input {
    height: 35px; /* Reduce input height */
    padding: 5px; /* Adjust padding */
  }

  #fname-signup, #lname-signup {
    width: 50%;
  }

  #email-label-signup, #usrnm-label-signup, #pass-label-signup, #confpass-label-signup {
  margin-top: 5px;
  }

  .privacy-modal-content {
    width: 90%;
    max-width: 600px;
  }

  .submitbtn {
    width: 100%;
    margin-top: 8px; /* Reduce margin */
  }

  .BOAI-Logo,
  .BOMCI-Logo {
    height: 30px;
    margin: 5px;
  }

  .mobile-menu-btn {
    font-size: 20px;
    padding: 8px;
  }

  .nav-list {
    top: 65px;
  }

  .sub-menu-wrap {
    width: 85%;
  }

  .container-info {
    flex-direction: row;
  }
}

@media (max-width: 576px) {
  .container-form {
    width: 95%; /* Further reduce width for smaller screens */
    padding: 5px; /* Adjust padding */
    height: auto; /* Allow height to adjust dynamically */
  }

  .container-info {
    padding: 5px; /* Reduce padding for smaller screens */
  }

  .signup-form-group input {
    width: 100%; /* Ensure inputs take full width */
  }

  .user-type-selection {
    flex-direction: column; /* Stack checkboxes vertically */
    align-items: flex-start; /* Align checkboxes to the left */
    margin-top: 10px; /* Add spacing above checkboxes */
  }

  #submit-signup {
    margin: 20px auto; /* Center the submit button */
    display: block; /* Ensure it stays within the container */
  }
}

@media (max-width: 480px) {
  .container-form {
    width: 95%;
    padding: 8px; /* Further reduce padding */
  }

  .signup-form-group input {
    height: 35px; /* Further reduce input height */
    padding: 6px; /* Adjust padding */
  }

  .privacy-modal-content {
    width: 95%;
  }

  .BOAI-Logo,
  .BOMCI-Logo {
    height: 25px;
    margin: 5px;
  }

  .mobile-menu-btn {
    font-size: 18px;
    padding: 6px;
  }

  .nav-list {
    top: 60px;
  }

  .sub-menu-wrap {
    width: 90%;
  }

  .submitbtn {
    width: 100%;
    margin-top: 10px; /* Adjust margin */
  }

  .password-container {
    padding-right: 30px;
  }

  .toggle-password {
    right: 5px;
  }
}



/*OTP Page Responsive Design */
@media (min-width: 768px) {
  .otp-container {
      margin: 5rem auto;
      padding: 3rem;
  }

  .button-otp {
      flex-direction: row;
      justify-content: space-between;
  }

  .otp-confirm, .otp-resend {
      width: 48%;
  }
}

@media (max-width: 480px) {
  .otp-container {
      padding: 1.5rem;
      margin: 1.5rem auto;
  }

  .otp-container h1 {
      font-size: 1.5rem;
  }
}

/*Reset Password Page Responsive Design */
@media (max-width: 768px) {
  .reset-container {
      margin: 3rem auto;
      padding: 1.5rem;
  }

  .reset-container h1 {
      font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .reset-container {
      margin: 2rem auto;
      padding: 1.5rem;
  }
}

/* Adjust slider-container and images for screens 768px and below */
@media (max-width: 768px) {
  .slider-container {
    height: 50vh; /* Reduce height for smaller screens */
  }

  .slider img {
    object-fit: contain; /* Ensure the entire image is visible */
    object-position: center; /* Center the image */
    height: 100%; /* Adjust image height */
    width: 100%; /* Maintain aspect ratio */
  }
}

/* Adjust slider-container and images for screens 480px and below */
@media (max-width: 480px) {
  .slider-container {
    height: 40vh; /* Further reduce height for very small screens */
  }

  .slider img {
    object-fit: contain; /* Ensure the entire image is visible */
    object-position: center; /* Center the image */
    height: 100%; /* Adjust image height */
    width: 100%; /* Maintain aspect ratio */
  }
}

/* Adjust containerAU-info for mobile screens */
@media (max-width: 768px) {
  .containerAU-info {
    padding: 1rem; /* Reduce padding for smaller screens */
    text-align: left; /* Align text to the left for better readability */
    font-size: 0.9rem; /* Adjust font size for smaller screens */
  }

  .containerAU-info h2 {
    font-size: 1.5rem; /* Reduce heading size */
    text-align: center; /* Center-align the heading */
  }

  .containerAU-info p {
    line-height: 1.6; /* Adjust line height for better readability */
  }
}

@media (max-width: 480px) {
  .containerAU-info {
    padding: 0.8rem; /* Further reduce padding for very small screens */
    font-size: 0.8rem; /* Adjust font size for very small screens */
  }

  .containerAU-info h2 {
    font-size: 1.3rem; /* Further reduce heading size */
  }
}

@media (max-width: 430px) {
  .containerAU-info {
    padding-left: 0.5rem; /* Reduce left padding */
    padding-right: 0.5rem; /* Reduce right padding */
    font-size: 0.85rem; /* Slightly adjust font size */
  }

  .containerAU-info h2 {
    font-size: 1.4rem; /* Adjust heading size */
  }
}

@media (max-width: 390px) {
  .containerAU-info {
    padding-left: 0.3rem; /* Further reduce left padding */
    padding-right: 0.3rem; /* Further reduce right padding */
    font-size: 0.8rem; /* Adjust font size for very small screens */
  }

  .containerAU-info h2 {
    font-size: 1.2rem; /* Further reduce heading size */
  }
}

@media (max-width: 768px) {
  .value-card {
    position: relative; /* Ensure z-index works */
    z-index: 1; /* Default stacking order */
  }

  .value-card:hover {
    z-index: 10; /* Bring the hovered card to the front */
  }

  .value-card p {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 250px;
    background-color: #fff;
    backdrop-filter: blur(5px);
    color: #000;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--secondary);
    z-index: 20; /* Ensure the tooltip is above everything */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
  }

  .value-card h3:hover + p,
  .value-card p:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(110%);
  }
}
@media (max-width: 480px) {
  .value-card p {
    width: 220px; /* Reduce width for smaller screens */
    font-size: 0.85rem; /* Adjust font size */
    padding: 0.8rem; /* Reduce padding */
  }
}

@media (max-width: 430px) {
  .value-card p {
    width: 200px; /* Further reduce width */
    font-size: 0.8rem; /* Adjust font size */
    padding: 0.7rem; /* Reduce padding */
  }
}

@media (max-width: 390px) {
  .value-card p {
    width: 180px; /* Further reduce width for very small screens */
    font-size: 0.75rem; /* Adjust font size */
    padding: 0.6rem; /* Reduce padding */
  }
}


@media (max-width: 1024px) {
  .services-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 cards in a row for tablets */
  }
}

@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: 1fr; /* 1 card per row for mobile */
  }
}

/* Schedule Page Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        align-items: stretch;
    }
    .container, .notif-container {
        width: 100% !important;
        margin-top: 20px;
        height: auto;
        min-height: 300px;
    }
    .notif-container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .calendar-header h1#currentMonthYear {
        font-size: 1.2rem;
        margin: 10px 0;
    }
    .calendar .day {
        padding: 6px;
        font-size: 0.9rem;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .calendar-header button {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    .calendar .day {
        padding: 4px;
        font-size: 0.8rem;
    }
}

/*Modal Sign Up and Sign In */

/* Add this at the end of your CSS file, before any @media queries */

/* Mobile Responsive Styles for Modal */
@media (max-width: 768px) {
  .modal_container {
    width: 90%; /* Make modal wider on mobile */
    height: auto; /* Let height adjust to content */
    padding-bottom: 20px; /* Add some bottom padding */
  }
  
  .modal_body {
    flex-direction: row; /* Stack items vertically */
    gap: 20px; /* Space between items */
    margin-right: 0; /* Remove right margin */
    align-items: center; /* Center items */
  }
  
  .modal-signin, 
  .modal-signup {
    margin-left: 0; /* Remove left margin */
    text-align: center; /* Center text */
    width: 100%; /* Full width */
  }
  
  .modal_body .image-button {
    width: 80px; /* Slightly larger buttons */
    height: 80px;
    margin: 0 auto; /* Center buttons */
  }
  
  .modal_body .image-button img {
    max-width: 100%; /* Ensure images fit */
    max-height: 100%;
  }
  
   
  .modal-signup p {
    margin-top: 10px; /* Space between image and text */
    font-size: 14px; /* Slightly larger text */
  }

 .modal-signin p {
   margin-top: 10px; /* Space between image and text */
   font-size: 9.5px;
 }

}

@media (max-width: 480px) {
  .modal_container {
    width: 95%; /* Even wider on very small screens */
  }
  
  .modal_title {
    font-size: 1rem; /* Smaller title */
  }
  
  .modal_body .image-button {
    width: 70px; /* Slightly smaller buttons */
    height: 70px;
  }
   
  .modal-signup p {
    font-size: 13px; /* Smaller text */
  }

  .modal-signin p {
    font-size: 9.5px; /* Smaller text */
  }
}

