*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background: #f3f4f6;
    min-height: 100vh;
}

.menu-dropdown{
    position: relative;
    display: inline-block;

    margin: 20px;
}

.dropdown-btn{
    background: #1f4e79;
    color: white;

    border: none;
    border-radius: 10px;

    padding: 14px 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.dropdown-btn:hover{
    background: #163a5c;
}

.dropdown-content{
    position: absolute;
    top: 110%;
    left: 0;

    min-width: 240px;

    background: white;

    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: 0.3s;

    z-index: 999;
}

.menu-dropdown:hover .dropdown-content{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a{
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;

    text-decoration: none;

    color: #333;
    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.dropdown-content a:hover{
    background: #f1f5f9;
    color: #1f4e79;
}

.logo{
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: bold;
    color: #1f4e79;
    font-size: 18px;
}

.logo i{
    font-size: 22px;
}

.header{
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
}

.header h1{
    font-size: 48px;
    color: #1f4e79;
    font-weight: bold;
}

.header p{
    margin-top: 10px;
    color: #5b728a;
    font-size: 16px;
}

.container{
    width: 90%;
    max-width: 1200px;  
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.card{
    background: transparent;
    position: relative;

    width: 100%;
    height: 260px;

    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    transition: 0.3s ease;
}

.card:hover{
    transform: translateY(-8px);
}

.card img{
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.4s ease;
}

.card:hover img{
    transform: scale(1.08);
}

.card:hover{
    transform: translateY(-8px);
}

.overlay{
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.2)
    );

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    padding: 20px;

    z-index: 2;
}

.overlay h2{
    font-size: 30px;
    margin-bottom: 10px;
}

.overlay p{
    font-size: 16px;
    margin-bottom: 5px;
}

.overlay span{
    font-size: 13px;
    line-height: 1.5;
}

.overlay button{
    margin-top: 18px;

    padding: 10px 18px;

    border: none;
    border-radius: 30px;

    background: white;
    color: #222;

    font-size: 12px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.overlay button:hover{
    background: #1f4e79;
    color: white;
}

.content2{
  padding:60px 80px;
  background:#1f4f75;
  color:white;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:50px; 
}

.banner{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:20px;
  text-align:center;
}

.banner img{
  max-width:700px;
  display:block;
}

.bottom-content{
  width:100%;
  max-width:1100px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:40px;
}

.info-left{
  flex:1;
  text-align:left;
}

.info-right{
  flex:1;
  text-align:left;
  font-size:16px;
  line-height:1.7;
}

.info-left h2{
  color:#E5EB14;
  margin-bottom:15px;
}

.info-left p{
  margin:8px 0;
}

.divider{
  width:2px;
  background:white;
  min-height:150px;
}


@media(max-width: 768px){

    .dropdown-btn{
        width: 100%;
        justify-content: center;
    }

    .dropdown-content{
        width: 100%;
        min-width: unset;
    }

    .header h1{
        font-size: 36px;
    }

    .header p{
        font-size: 14px;
    }

    .container{
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 15px;
    }

    .card{
        width: 100%;
        max-width: 350px;
        height: 240px;
    }

    .overlay h2{
        font-size: 24px;
    }

    .bottom-content {
        flex-direction: column;
        gap: 30px;
    }

    .bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .info-left, .info-right {
        text-align: center;
    }

    .divider {
        width: 100%;
        height: 2px;
        min-height: auto;
        margin: 20px 0;
    }

    .banner img {
        width: 100%; 
        height: auto;
    }
}

@media(max-width: 480px){

    .navbar{
        padding: 15px;
    }

    .logo{
        font-size: 16px;
    }

    .header{
        margin-top: 35px;
    }

    .header h1{
        font-size: 28px;
    }

    .header p{
        font-size: 13px;
    }

    .content, .content2 {
        padding: 40px 20px;
    }

    .container{
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 15px;
    }

    .card{
        width: 100%;
        max-width: 340px;
        height: 240px;
    }
}