*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #162b6f;
  --gold: #f8bf12;
  --btn-blue: #233782;
  --text-dark: #000000;
  --text-mid: #707070;
  --card-bg: #EAEAEA;
  --dropdown-bg: #EAEAEA;
  --white: #ffffff;
}
html {
  scroll-behavior: smooth;
}

body {
font-family: "poppins", sans-serif;
font-weight: 400;
font-style: normal;
  color: var(--text-dark);
}

.container{
    max-width: 1320px;
    margin: 0 auto;
   
}

nav {
  position: relative;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 52px;
 
}

.logo img {
  display: block;
  height: 56px;
}

.logo-text {
  display: none;
}

.nav-links {
    width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 1.2rem;
  
}

.nav-links a:hover {
  color: var(--navy);
}

.dropdown {
  position: relative;
}

.dropdown > a {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown > a::after {
  content: '<';
  margin-left: 8px;
  transform: rotate(-90deg);
  font-size: 1.2rem;
  color: var(--text-mid);
  transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown:hover > a::after,
.dropdown > a:hover::after {
  transform: rotate(90deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 80%;
  transform: translateX(-50%);
  background: var(--dropdown-bg);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 25, 70, 0.14);
  min-width: 250px;
  padding: 12px 0;
  z-index: 200;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 22px;
  font-size: 0.92rem;
  color: var(--text-mid);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #dfdfdf;
}

.hero {
  position: relative;
  width: 100%;
 
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}



.cards-section {
  max-width: 1320px;
  margin: 48px auto 60px;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border-radius: 30px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  min-height: 340px;
  box-shadow: 0 25px 60px rgba(15, 25, 70, 0.08);
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
flex:1;
}

.card h3 {
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;

}

.card p {
  font-size: 1.2rem;
  color: var(--text-mid);
  line-height: 1.5;
  max-width: 18rem;
}

.card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 36px;
  border-radius: 999px;
  background: var(--btn-blue);
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease;
  margin-top: 24px;
}

.card .btn:hover {
  background: #122d72;
  transform: translateY(-1px);
}

.card:first-child p {
  display: none;
}

@media (max-width: 1080px) {
  .cards-section {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 760px) {
  nav {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 18px;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 22px;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .dropdown > a::after {
    font-size: 0.7rem;
  }

  

  .cards-section {
    margin-top: 30px;
    padding: 0 18px 48px;
    grid-template-columns: 1fr;
  }

  .card {
    padding: 34px 24px;
    min-height: auto;
  }

  .card-body {
    gap: 18px;
  }

  .card h3 {
    font-size: 1.6rem;
  }

  .card p {
    font-size: 1rem;
    max-width: 100%;
  }

  .card .btn {
    font-size: 0.95rem;
    padding: 12px 30px;
    min-width: 150px;
  }
}

 