/* style.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}
a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

/* Header Styling */
header {
    background: linear-gradient(to right, #333, gray);
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: center; /* Center-align the nav items */
    align-items: center;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 0px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: gray;
}

/* Main Content Sections */
main {
    padding: 20px;
    text-align: center;
}

/* ////////// */
.intro {
    text-align: center;
    padding: 20px;
}

.image-frame {
    margin-top: 20px;
    display: inline-block;
    border: 5px solid #ddd;
    border-radius: 50%; /* Tạo hình ảnh tròn */
    overflow: hidden;
    width: 200px; /* Đặt chiều rộng cố định */
    height: 200px; /* Đặt chiều cao cố định */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh vừa khung tròn */
    display: block;
}

.image-frame a {
    text-decoration: none; /* Xóa gạch chân */
}


.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
}

.nav-links li a:hover {
    background-color: #555;
    color: #fff;
}

.intro {
    text-align: center;
    padding: 20px;
}

.info-sections {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.info-cards {
    flex: 1;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.card-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 200px; /* Chiều rộng cố định */
    height: 300px; /* Chiều cao cố định */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.card p {
    font-size: 14px;
    flex-grow: 1;
}

.card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline;
}

/* About Section */
.about {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

/* Services Section */
.services {
    margin: 30px 0;
    padding: 20px;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    flex: 1;
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-top: 0;
    color: #333;
}

/* Contact Section */
.contact {
    margin: 30px 0;
    padding: 20px;
    background-color: #333;
    color: white;
    border-radius: 10px;
}

.btn-secondary {
    padding: 10px 20px;
    background-color: white;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: black;
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
}
