* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, #f0f4f8, #e0ecf5);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #002b5c, #00509e);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* GRID SECTION */
.departments {
    padding: 70px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* CARD STYLE */
.dept-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dept-card i {
    font-size: 35px;
    color: #00509e;
    margin-bottom: 15px;
}

.dept-card h3 {
    margin-bottom: 10px;
    color: #002b5c;
}

.dept-card p {
    font-size: 14px;
    color: #555;
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* FOOTER */
footer {
    background: #002b5c;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 50px 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .departments {
        padding: 50px 5%;
        gap: 20px;
    }
    
    .dept-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .dept-card i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .hero {
        padding: 30px 15px;
    }
    
    .hero h1 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 13px;
    }
    
    .departments {
        padding: 20px 3%;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .dept-card {
        padding: 16px;
        border-radius: 10px;
    }
    
    .dept-card i {
        font-size: 24px;
    }
    
    .dept-card h3 {
        font-size: 16px;
    }
    
    .dept-card p {
        font-size: 12px;
    }
}
