/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #F5F8FF;
  color: #003087;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  background: linear-gradient(90deg, #003087, #0059FF);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.navbar {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.navbar-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-link:hover {
  color: #E6F0FA;
}

.btn {
  background: #0059FF;
  color: #FFFFFF;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #003087;
}

.nav-open-btn,
.nav-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

/* Hero Section */
.hero {
  padding: 6rem 0 3rem;
  background: #F5F8FF;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  color: #003087;
  margin: 0.5rem 0;
  font-weight: 700;
}

.hero-text {
  font-size: 1rem;
  color: #003087;
  margin-bottom: 1.5rem;
}

.hero .btn {
  background: #0059FF;
}

.hero .btn:hover {
  background: #003087;
}

/* Services Section */
.service {
  padding: 3rem 0;
  background: #F5F8FF;
}

.section-title {
  font-size: 2rem;
  color: #003087;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title.underline::after {
  content: '';
  width: 80px;
  height: 3px;
  background: #0059FF;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  list-style: none;
}

.service-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-3px);
}

.card-icon ion-icon {
  font-size: 2rem;
  color: #0059FF;
}

.service-card .title {
  font-size: 1.3rem;
  color: #003087;
  margin: 0.8rem 0;
}

.service-card .text {
  font-size: 0.9rem;
  color: #003087;
}

.card-btn {
  background: none;
  border: none;
  color: #0059FF;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 0.8rem;
}

/* Footer */
.footer {
  background: #003087;
  padding: 1.5rem 0;
  color: #FFFFFF;
  text-align: center;
}

.copyright a {
  color: #E6F0FA;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

/* Go to Top */
.go-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #0059FF;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.go-top.active {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #003087;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .navbar.active {
    right: 0;
  }

  .navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #003087;
  }

  .navbar-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
  }

  .navbar-link {
    font-size: 1.5rem;
    text-decoration: none;
  }

  .nav-open-btn {
    display: block;
  }

  .nav-close-btn {
    display: block;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 998;
  }

  .overlay.active {
    display: block;
  }

  .btn {
    display: block;
  }

  .service-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .navbar {
    position: static;
    background: none;
    width: auto;
    height: auto;
  }

  .navbar-list {
    flex-direction: row;
  }

  .nav-open-btn,
  .nav-close-btn,
  .navbar-top,
  .overlay {
    display: none;
  }
}