:root {
  /* --color-primary: #feb900; */
  --primary: #fc6119;
  --secondary: #5f656f;
  --light: #f5f5f5;
  --dark: #02245b;
  --color-secondary: #52565e;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}

.text-brown{
  color: #5A3E36;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.btn {
    transition: .5s;
    font-weight: 500;
    border-radius: 30px; /* Rounded corners for all buttons */
}

.btn-square {
    width: 38px;
    height: 38px;
    border-radius: 50%; /* Perfect circle for square buttons */
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Perfect circle for small square buttons */
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    border-radius: 50%; /* Perfect circle for large square buttons */
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-dark {
    color: #5A3E36;
    border-color: #5A3E36;
}

.btn-outline-dark:hover {
    background-color: #5A3E36;
    color: white;
    border-color: #5A3E36;
}

/*** Navbar ***/
.contact-btn-container {
  position: absolute;
  top: 30px; /* Adjust as needed */
  right: 20px; /* Adjust as needed */
  z-index: 1000;/* Ensure it's above other elements */
}

/* Center content container */
.container2 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  gap: 100px;
  flex-wrap: wrap;
  padding-top: 8%;
  background-color: #ffffff;
  background: linear-gradient(rgba(245, 245, 245, 0.6), rgba(245, 245, 245, 0.6)), url('../img/bgimage2.png');
  background-size: cover;
  background-position: center;
  margin-top: 0; /* Ensure no top margin */
}

.btn-orange {
  background-color: #ff5e14;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: darkorange;
}

.btn-blue {
  background-color: #0057b3;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-blue:hover {
  background-color: rgba(68, 0, 255, 0.253);
}
/* Adjust logo size and alignment */
.box1 img {
  width: 100px; /* Increased logo size */
  height: 100px; /* Increased logo size */
  margin-bottom: 20px;
  margin-top: 10px; /* Add consistent spacing below the logo */
}

.box2 img {
  width: 100px; /* Increased logo size */
  height: 100px; /* Increased logo size */
  margin-bottom: 30px;
}

/* Ensure both boxes use the same styling for alignment */
.box1 {
  width: 550px;
  height: 450px;
  background: #ffffff;
  color: #333333;
  text-align: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
  border: 2px solid #0057b3; /* Blue border for AFS box */
}

.box2 {
  width: 550px;
  height: 450px;
  background: #ffffff;
  color: #333333;
  text-align: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
  border: 2px solid #f37021; /* Orange border for AES box */
}

.box1:hover,
.box2:hover {
  transform: scale(1.08); /* Same hover effect */
}

.box1 h2 {
  padding-top: 10px;
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #001b49;
}

.box2 h2 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5A3E36;
  padding-bottom: 20px;
}

.box1 p{
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 20px 20px;
  color: #02245b;
}

.box2 p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 20px 20px;
  color:#5A3E36;
}

.box1 button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #1E88E5;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.box2 button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #1E88E5;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.box1 button:hover,
.box2 button:hover {
  background-color: #02245b;
}


/*** Footer ***/
.footer {
  width: 100%;
  background-color: #001b49; /* Adjust color as needed */
  padding: 10px 0; /* Add padding for better spacing */
}

.footer-container {
  max-width: 200%; /* Adjust max width as needed */
  margin: 0 auto; /* Center content within the footer */
  padding: 0 10px; /* Add some padding for mobile */
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #b0b9ae;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}

/* Ensure even spacing for columns */
.row.g-4 > div {
  text-align: left; /* Align content to the left */
}

/* Adjust column width and spacing */
.footer .col-lg-4 {
  max-width: 30%; /* Keeps columns proportional */
  flex: 0 0 auto; /* Prevent shrinking */
  margin: 0 auto; /* Centers the columns */
}

/* Optional: Add padding for equal spacing */
.footer .row.g-4 {
  justify-content: space-around; /* Adds space between columns */
  gap: 30px; /* Adds consistent gap */
}

/* General styling for responsiveness */
@media (max-width: 768px) {
  .footer .col-lg-4 {
    max-width: 100%;
    margin-bottom: 20px; /* Adds spacing for smaller screens */
  }
}
