/* General Styles */
body,
h1,
h2,
p,
a,
ul,
li {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --fixed-header-height: 4.5rem;
  --font-size-body-text: clamp(14px, 1.6vw, 16px);
  --h1-font-size: calc(var(--font-size-body-text) * 2.4);
  --h2-font-size: calc(var(--h1-font-size) - 15px);
  --h3-font-size: calc(var(var(--h2-font-size)) - 8px);
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}
/* Header */
header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/background.jpg") no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  border-bottom: 3px solid #014bae;
  transition: background-color 0.3s;
  position: relative;
  z-index: 1;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeIn 2s ease-out;
}

header p {
  font-size: 1.5rem;
  animation: fadeIn 2s ease-out 0.5s;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #014bae;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
  background-color: #004080;
  transform: scale(1.05);
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.services-header {
  color: #014bae;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 10px;
  position: relative;
  background-color: #f4f4f4;
  border-radius: 5px;
}

.services-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px; /* Thin line */
  background-color: #014bae;
  opacity: 0.3; /* Low opacity */
  position: absolute;
  bottom: 0;
  left: 0;
}

.services-header a {
  color: #014bae;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s; /* Smooth color transition on hover */
}

.services-header a:hover {
  color: #0056b3; /* Darker shade on hover for better visibility */
}

.services div {
  flex: 1 1 250px;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #fff;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.services div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.services img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.services h3 {
  font-size: 1.4em;
  margin: 15px 0 10px;
  color: #333;
}

.services p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.services a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.services a:hover {
  text-decoration: underline;
}

.learn-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #014bae;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.learn-more:hover {
  background-color: #003c8b;
  transform: scale(1.05);
}

.experience-header {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  margin-top: 15px;
}

.experience-header a {
  color: #014bae;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.experience-header a:hover {
  color: #0056b3;
}

.evaluation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.evaluation div {
  flex: 1 1 250px;
  max-width: 300px;
  border: 1px solid #0054ad;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #fff;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.evaluation div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.evaluation img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #0054ad; /* Border under the image */
  object-fit: cover; /* Ensures the image covers the area without distortion */
}

.evaluation h3 {
  font-size: 1.4em;
  margin: 15px 0 10px;
  color: #333;
}

.evaluation p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.evaluation a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.evaluation a:hover {
  text-decoration: underline;
}

/* General styles for team section */
.team {
  padding: 50px 0;
}

/* Founder Cards Style */
.team-card.founder {
  border: 2px solid #014bae;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: #f9f9f9;
}

/* Additional styling to make founder cards stand out */
.team-card.founder img {
  border-bottom: 2px solid #014bae;
}

.team-card.founder h3 {
  color: #014bae;
}

.team-card.founder p {
  color: #555;
}

.team-card.founder .learn-more {
  background-color: #014bae;
  color: #fff;
}

.team h2 {
  text-align: center;
  margin-bottom: 30px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.team-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Ensures all team cards have the same height */
  min-height: 400px; /* Adjust based on your needs */
}

.team-card img {
  width: 100%;
  height: auto;
  display: block;
}

.team-card h3 {
  margin: 15px 0;
  font-size: 1.2em;
}

.team-card p {
  padding: 0 15px 15px;
  font-size: 0.9em;
  color: #333;
  /* Makes description text uniform in height */
  flex: 1;
}

.learn-more {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #014bae;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}
.learn-more:hover {
  background-color: #003c8b;
  transform: scale(1.05);
}

/* ==== Table SECTION ==== */

.table-container {
  display: flex;
  flex-direction: column; /* Stack the table and button vertically */
  align-items: center;
  margin: 20px 0;
}

table {
  width: 80%;
  border-collapse: collapse;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f4f4f4;
  color: #014bae;
  font-weight: bold;
  font-size: 16px;
}

td {
  color: #333;
  font-size: 14px;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

table thead {
  border-bottom: 2px solid #014bae;
}

.view-more-container {
  margin-top: 20px; /* Space between table and button */
}

.view-more-button {
  display: inline-block;
  padding: 10px 20px;
  color: #ffffff;
  background-color: #014bae;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.view-more-button:hover {
  background-color: #002d72; /* Darker shade on hover */
}

@media screen and (max-width: 768px) {
  th,
  td {
    padding: 5px 5px;
  }

  th {
    font-size: 10px;
  }

  td {
    font-size: 10px;
  }
}

/* ==== Company SECTION ==== */
#company-registration .main-heading {
  color: #014bae;
}

#company-registration .info-text {
  color: #333;
}

#company-registration .contact-form input,
#company-registration .contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

#company-registration .contact-form button {
  background-color: #014bae;
  color: #fff;
  border: none;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

#company-registration .contact-form button:hover {
  background-color: #003c8b;
}

.company-size-buttons {
  margin-bottom: 20px;
}

.company-size-label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.company-size-options {
  display: flex;
  gap: 10px;
}

.company-size-options label {
  display: block;
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

@media screen and (max-width: 768px) {
  .company-size-options label {
    display: block;
    font-size: 10px;
  }
}

.company-size-options label:hover {
  background-color: #f0f0f0;
}

.company-size-options input[type="radio"] {
  display: none;
}

.company-size-options input[type="radio"]:checked + label {
  background-color: #014bae;
  color: white;
  border-color: #014bae;
}

select[name="company_type"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
select[name="company_type"] option {
  background-color: #fff;
  color: #333;
  font-size: 14px;
  padding: 8px;
}
/* Additional styles for form elements */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.contact-form button {
  background-color: #014bae;
  color: #fff;
  border: none;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: rgb(0, 69, 143);
}

/* ==== CONTACT SECTION ==== */
.contact {
  padding: 5rem 0;
  background-color: #fafafa;
}

.contact .container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact .grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact .grid-item-1,
.contact .grid-item-2 {
  text-align: center;
}

.contact .main-heading {
  font-size: var(--h2-font-size);
  color: #014bae;
  margin-bottom: 1.5rem;
}

.contact .info-text {
  font-size: 16px;
  line-height: 24px;
  color: #334157;
  margin-bottom: 2rem;
}

.contact .btn_wrapper {
  margin-top: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  height: 50px;
  background-color: #014bae;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form button:hover {
  background-color: #0047a5;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #014bae;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  z-index: 1000;
}

.notification.error {
  background-color: #e74c3c;
}

.notification.success {
  background-color: #2ecc71;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 768px) {
  header {
    padding: 2rem 1rem;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }
  form {
    padding: 1rem;
  }

  form input,
  form textarea {
    width: 100%;
  }
}

@media (min-width: 768px) {
  header {
    padding: 5rem;
  }

  header h1 {
    font-size: 3rem;
  }

  header p {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  header {
    padding: 6rem;
  }

  header h1 {
    font-size: 3.5rem;
  }

  header p {
    font-size: 1.8rem;
  }

  form {
    padding: 2rem;
  }

  form input,
  form textarea {
    font-size: 1.1rem;
  }
}

/* Responsive styles */
@media (max-width: 1200px) {
  .team-card {
    max-width: 300px;
  }
}

@media (max-width: 992px) {
  .team-card {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .team-card {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .team-card {
    max-width: 100%;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .contact .grid-cols-2 {
    gap: -4rem;
  }
  .contact .info-text {
    margin-bottom: 0;
  }

  .contact .grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0rem;
  }
  #contact {
    padding: 7rem 0;
  }
}

@media (max-width: 600px) {
  #contact {
    padding: 20px;
  }

  #contact h2 {
    font-size: 1.6rem;
  }

  #contact button[type="submit"] {
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 769px) {
  .contact .container {
    padding: 0 2rem;
  }

  .contact .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .contact .grid-item-1,
  .contact .grid-item-2 {
    text-align: left;
  }

  .contact .info-text {
    text-align: justify;
  }
}
/* General Styles for the Main Sections */
main {
  padding: 2rem;
  background-color: #f5f5f5;
}

#countriesChart {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 0 auto;
}

#numbers .card {
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Adjustments for small screens */
@media (max-width: 768px) {
  #countriesChart {
    max-width: 90%;
    height: 200px;
  }

  #numbers .card {
    max-width: 100%;
  }
}

#numbers h2,
#features h2 {
  font-size: var(--h2-font-size);
  color: #014bae;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Cards in Numbers Section */
#numbers .card {
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

#numbers .card h3 {
  font-size: var(--h3-font-size);
  color: #014bae;
  margin-bottom: 1rem;
}

#countries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.number {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
}

.label {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* Partners Section */
#partners {
  background-color: #e9f0fa;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem 1rem;
  margin: 2rem 0;
  cursor: pointer;
}

#partners h2 {
  font-size: var(--h2-font-size);
  color: #014bae;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.partners-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.partners-container li {
  flex: 1 1 calc(33.333% - 1rem); /* Three logos per row */
  max-width: 200px; /* Ensures logos don’t stretch too much */
  text-align: center;
  margin: 0.5rem 0;
}

.partners-container img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.partners-container img:hover {
  filter: none;
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .partners-container li {
    flex: 1 1 calc(50% - 1rem); /* Two logos per row on smaller screens */
  }
}

@media (max-width: 480px) {
  .partners-container li {
    flex: 1 1 calc(100% - 1rem); /* One logo per row on very small screens */
  }
}

/* Cards in Features Section */
#features .card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

#features .card h3 {
  font-size: var(--h3-font-size);
  color: #014bae;
  margin-bottom: 1rem;
}

#features .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#features .card ul li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  #numbers .card,
  #features .card {
    padding: 1rem;
  }

  #countries {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
}

.features-section {
  padding: 40px 0;
}

.feature-box {
  text-align: center;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-container {
  font-size: 50px;
  color: #0054de;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.feature-box p {
  font-size: 16px;
  color: #666;
}

.features-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.features-section .feature-box {
  flex: 0 0 32%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .features-section .feature-box {
    flex: 0 0 48%;
  }
}

@media (max-width: 576px) {
  .features-section .feature-box {
    flex: 0 0 100%;
  }
}
