/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

a {
    color: #007BFF;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

/* ✅ Header */
.header {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.header .logo {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.header .logo img {
    width: 50px;
    margin-right: 10px;
}

.header .nav {
    list-style: none;
    display: flex;
    gap: 15px;
}

.header .nav li {
    display: inline-block;
}

.header .nav li a {
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.header .nav li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ✅ Footer */
.footer {
    background-color: #007BFF;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

/* ✅ Hero Section */
.hero-section {
    background: url('/static/images/banner.jpg') no-repeat center center/cover;
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* ✅ Buttons */
.btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    text-align: center;
}

.btn-primary {
    background-color: #007BFF;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline-dark {
    color: #333;
    border: 2px solid #333;
}

.btn-outline-dark:hover {
    background-color: #333;
    color: white;
}

/* ✅ Cards */
.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ✅ Why Choose Us Section */
.why-choose-us {
    background: #007bff;
    padding: 40px;
    text-align: center;
    color: white;
}

.why-choose-us .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* ✅ Testimonials */
.testimonials-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.testimonial-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

/* ✅ Contact Section */
.contact-section {
    background: #e9ecef;
    text-align: center;
    padding: 40px 0;
}

.contact-section form {
    max-width: 400px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* ✅ Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.table th {
    background-color: #007BFF;
    color: white;
}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tr:hover {
    background-color: #f1f1f1;
}

/* ✅ Forms */
form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background-color: #0056b3;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
    .header .header-container {
        flex-direction: column;
    }

    .stats-cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }
}
