/* General Styles */
:root {
  scroll-behavior: smooth;
  --primary-color: #2c4a7c;
  --secondary-color: #47b2e4;
  --accent-color: #00d9ff;
  --text-color: #4a5568;
  --light-bg: #f8f9fa;
  --dark-bg: #4a4a4a;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  color: #4154f1;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #717ff5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito", sans-serif;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
}

.back-to-top:hover {
  background: #6776f4;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 0;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo img {
  max-height: 80px;
  margin: 10px 0;
}

/* Navigation */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #013289;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover > a {
  color: #4154f1;
}

.home-icon i.bi {
  font-size: 28px;
}

.mobile-nav-toggle {
  color: #012970;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navbar ul {
    display: none;
  }
  
  .header .logo img {
    max-height: 60px;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(1, 22, 61, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #012970;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #4154f1;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background-color: var(--light-bg);
  margin-top: 90px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.title-underline {
  width: 180px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 0 auto;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-top: 10%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.profile-image-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: -80px auto 20px;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
}

.verification-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verification-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.team-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-role {
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Footer */
.footer {
  font-size: 14px;
  background-color: #e6f0fa;
  padding: 0;
}

.footer-top {
  padding: 40px 0 20px 0;
}

.footer .logo {
  display: block;
  text-align: left;
  margin-bottom: 20px;
}

.footer-logo-img {
  max-height: 80px;
  width: auto;
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0a2463;
  position: relative;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  padding: 5px 0;
}

.footer-links ul li a {
  color: #5e7ca1;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer-links ul li a:hover {
  color: #0a2463;
  text-decoration: underline;
}

.footer-contact p {
  line-height: 24px;
  color: #5e7ca1;
}

.footer-contact strong {
  color: #0a2463;
}

.footer-bottom {
  padding: 20px 0;
  background-color: #4a4a4a;
  color: #fff;
  text-align: center;
}

.footer-bottom .copyright {
  margin-bottom: 5px;
}

.footer-bottom .credits {
  font-size: 13px;
}

.footer-bottom .credits a {
  color: #fff;
  opacity: 0.8;
}

.footer-bottom .credits a:hover {
  opacity: 1;
}

/* Responsive Styles */
@media (min-width: 1921px) {
  .container {
    max-width: 1600px;
  }
  
  .team-container {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .section-title h1 {
    font-size: 48px;
  }
  
  .team-name {
    font-size: 24px;
  }
  
  .team-role {
    font-size: 18px;
  }
}

@media (max-width: 1200px) {
  .team-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .team-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 60px 0;
    margin-top: 70px;
  }
  
  .section-title h1 {
    font-size: 32px;
  }
  
  .title-underline {
    width: 140px;
    height: 3px;
  }
  
  .team-container {
    gap: 20px;
  }
  
  .team-card {
    padding: 25px 15px;
  }
  
  .profile-image-container {
    width: 150px;
    height: 150px;
    margin-top: -60px;
  }
  
  .team-name {
    font-size: 20px;
  }
  
  .team-role {
    font-size: 14px;
  }
  
  .footer-top {
    text-align: center;
  }
  
  .footer .logo {
    text-align: center;
  }
  
  .footer-logo-img {
    margin: 0 auto;
  }
  
  .footer-links, .footer-contact {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .team-container {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-title h1 {
    font-size: 28px;
  }
  
  .profile-image-container {
    width: 140px;
    height: 140px;
    margin-top: -50px;
  }
  
  .verification-badge {
    width: 25px;
    height: 25px;
  }
  
  .verification-badge svg {
    width: 15px;
    height: 15px;
  }
}