
/* Grid Layout */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}



.type-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 700;
    color: #092B46;
    transition: 0.3s;
}


/* Paragraph */
.type-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.more-text {
    display: none;
}

.read-more-btn {
    color: #1d3e57;
    font-weight: 600;
    cursor: pointer;
    margin-left: 5px;
}

/* Responsive */
@media(max-width:992px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
}
.type-card {
    padding: 21px;
    border-radius: 18px;
    box-sizing: border-box;
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(47, 93, 124, 0.2);
    width: 100%;
    min-width: 250px;
    min-height: 182px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    position: relative;
}


.type-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
  
    border-radius: 22px 22px 0 0;
}

/* Hover */
.type-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
/* Dark Mode */
body.dark-mode .type-card{
    background: linear-gradient(135deg,
            #1a2a36 0%,
            #1f3443 50%,
            #1a2a36 100%);
    border: 2px solid #3f6f8f;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

body.dark-mode .type-title{
    color:#9fd3ff;
}

body.dark-mode .type-card:hover .type-title{
    color:#c6e6ff;
}

body.dark-mode .type-text{
    color:#d6e2ea;
}

body.dark-mode .read-more-btn{
    color:#9fd3ff;
}

body.dark-mode .type-card:hover{
    box-shadow: 0 22px 50px rgba(0,0,0,0.8);
    border-color:#7bb6e0;
}
