* {
    border: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Helvetica', sans-serif;
}

body {
    background-color: #e3e7ea;
}  

.med{
    color: #275176;
}

.header-layout{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d0d0d0; 
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.logo img{
    height: 42px;
}

.logo h1{
    font-size: 20px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    color: #275176;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    padding-bottom: 3px;
    position: relative;
    text-decoration: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #275176;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    font-weight: 700;
}

.news-section {
    text-align: center;
    padding: 0px 40px 50px;
    margin: 1px 0;
}

.news-title {
    font-size: 100px !important;
    font-weight: bold;
    color: #9fc0d0;
    letter-spacing: 2px;
    margin: 0 0 35px 0;
    text-shadow: #275176
        -2px -2px 0 #4d5a63,
         2px -2px 0 #4d5a63,
        -2px  2px 0 #4d5a63,
         2px  2px 0 #4d5a63;
}

.news-title span {
    color: #275176;
}

.news-title span1 {
    color: #83a8b4;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.card1, .card2, .card3, .card4 {
    display: flex;
    flex-direction: column;
    width: 260px; 
    height: 420px; 
    border-radius: 15px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.card1 img, .card2 img, .card3 img, .card4 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card1 p, .card2 p, .card3 p, .card4 p {
    font-size: 15px;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
    flex-grow: 1; 
}

.card1, .card3 {
    background-color: #8fb0bf; 
}

.card2, .card4 {
    background-color: #b1d4e0; 
}

.read-more1, .read-more2 {
    align-self: flex-end;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    color: #333;
    padding: 8px 16px;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
}

.read-more1 {
    background-color: #b1d4e0;
}

.read-more2 {
    background-color: #8fb0bf;
}

.card1:hover, .card2:hover, .card3:hover, .card4:hover {
    transform: translateY(-5px);
}

.read-more1 {
    display: inline-block; 
    background-color: #b1d4e0;
    color: black;
    font-size: 10px;
    font-weight: bold;
    padding: 8px 11px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: auto;    
    text-align: center;
    margin-top: auto;
    align-self: flex-end; 
}

.read-more2 {
    display: inline-block; 
    background-color:#83a8b4;
    color: black;
    font-size: 10px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: auto;    
    text-align: center;
    margin-top: auto;
    align-self: flex-end; 
}

.card::after {
    content: "";
    display: block;
    clear: both;
}

.news-section {
    text-align: center;
    padding: 30px 40px 50px;
}

.news-title {
    font-size: 60px;
    font-weight: bold;
    color: #9fc0d0;
    letter-spacing: 2px;
    margin-bottom: 35px;
    text-shadow: 
        -2px -2px 0 #4d5a63,
         2px -2px 0 #4d5a63,
        -2px  2px 0 #4d5a63,
         2px  2px 0 #4d5a63;
}

.news-title span {
    color: #2c5f8b;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.card {
    background-color: #8fb0bf;
    width: 160px;
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    box-sizing: border-box;
}

.card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 14px;
}

.card p {
    font-size: 16px;
    line-height: 1.35;
    color: #111;
    margin: 0 0 12px;
}

.read-more {
    display: inline-block;
    background-color: #c7dce5;
    color: #4d5a63;
    font-size: 10px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 8px;
}

.card::after {
    content: "";
    display: block;
    clear: both;
}

.footer-layout{
    margin-top: 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid #d0d0d0;
    font-size: 12px;
    color: #333;
}

.footer-right{
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links{
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a{
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.footer-links a:hover{
    color: #275176;
}

.footer-seal{
    height: 42px;
}