/* === Global Styles === */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #d1d1d1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* === Navbar Styles === */
nav {
  background-color: #0a2e4e;
  text-align: center;
  padding: 20px;
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 1);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav li {
  margin: 0 8px;
}

nav li img {
  max-width: 100%;
  height: auto;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav li {
    margin: 8px 0;
  }
}

/* === Menu Styles === */
#menu {
  background-color: #1c3b55;
  font-size: 15px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  border-bottom: 3px solid #283744;
  padding: 10px 0;
}

#menu ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#menu li {
  margin: 0 10px;
  position: relative;
}

#menu a {
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  text-shadow: 1px 1px 0px #283744;
  border-right: 1px solid #576979;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#menu li:last-child a {
  border-right: none;
}

#menu a:hover,
#menu a:active {
  background-color: #8c99a4;
  color: #233647;
}

/* Submenu Styles */
#menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #455868;
  z-index: 1000;
}

#menu ul ul li {
  margin: 0;
  width: 200px;
}

#menu ul ul a {
  padding: 10px 20px;
  border-right: none;
  border-bottom: 1px solid #576979;
}

#menu li:hover > ul {
  display: block;
}

/* Responsive Menu */
@media screen and (max-width: 768px) {
  #menu ul {
    flex-direction: column;
    align-items: center;
  }

  #menu li {
    margin: 5px 0;
  }

  #menu a {
    border-right: none;
    border-bottom: 1px solid #576979;
    width: 100%;
    text-align: center;
  }

  #menu ul ul {
    position: static;
    display: none;
  }

  #menu li:hover > ul {
    display: block;
  }
}

/* === Slide Section === */
#slide {
  width: 100%;
  height: 391px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 1);
}

#slide div {
  display: block;
  width: 0;
  float: left;
  transition: all 0.75s;
}

#slide img {
  width: 100%;
  height: 391px;
}

/* === Section Styles === */
.section,
.section-colored {
  padding: 50px 0;
}

.section-colored {
  background-color: #e1e1e1;
  color: #233647;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35vh; /* Adjusted height */
}

.section-colored h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-colored p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.section-colored hr {
  border: 0;
  height: 1px;
  background-color: #233647;
  margin: 20px auto;
  width: 50%;
}

/* === Section Title Styles === */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #233647;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
  padding: 10px 0;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #233647;
  margin: 0 15px;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #233647;
  border-radius: 50%;
  margin-right: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.icon-wrapper i {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.title-text {
  position: relative;
  transition: color 0.3s ease;
}

/* Hover Effects */
.section-title:hover .icon-wrapper {
  background-color: #8c99a4;
  transform: rotate(360deg);
}

.section-title:hover .title-text {
  color: #8c99a4;
}

.section-title:hover::before,
.section-title:hover::after {
  background-color: #8c99a4;
}

/* === Card Styles === */
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-content {
  padding: 15px;
}

.card-content iframe {
  border: none;
  border-radius: 4px;
}

.card-footer {
  padding: 15px;
  text-align: right;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.read-more {
  color: #233647;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #8c99a4;
}

.read-more i {
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.read-more:hover i {
  margin-left: 10px;
}

/* === Responsive Grid === */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col-lg-4 {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding: 15px;
}

@media (max-width: 992px) {
  .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* === Footer Styles === */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 10px 0;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f39c12;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f39c12;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 14px;
}

/* === About Section Styles === */
.about-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.about-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #233647;
}

.about-section h3 {
  font-size: 1.75rem;
  color: #233647;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.about-section ul {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
}

.about-section ul li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.about-section .highlight {
  font-weight: bold;
  color: #0a2e4e;
}

/* === Our Team Section Styles === */
.team-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.team-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #233647;
}

.team-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.team-section .column {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding: 0 8px;
  margin-bottom: 16px;
}

.team-section .card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: 8px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.team-section .card img {
  width: 100%;
  height: auto;
}

.team-section .container {
  padding: 0 16px;
}

.team-section .title {
  color: grey;
}

.team-section .button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.team-section .button:hover {
  background-color: #555;
}

@media screen and (max-width: 650px) {
  .team-section .column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* === Contact Section Styles === */
.contact-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #233647;
}

.contact-info {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.contact-info h3 {
  font-size: 1.75rem;
  color: #233647;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.contact-info strong {
  color: #0a2e4e;
}

.contact-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 1.1rem;
  color: #233647;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0a2e4e;
  outline: none;
}

.submit-button {
  background-color: #0a2e4e;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #1c3b55;
}