/* General Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #fff;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-color);
    text-decoration: none;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Header */
header {
    background-color: var(--dark-bg);
    color: var(--white);
}

header nav {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--white);
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.hero {
    background: url('../images/hero.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Facility Grid */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.facility-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
}

.facility-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-item h3 {
    margin: 20px 0 10px;
    color: var(--primary-color);
}

.facility-item p {
    padding: 0 20px 20px;
    font-size: 15px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 40px 0 20px;
    font-size: 14px;
}

footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

footer .footer-section {
    flex: 1;
    min-width: 200px;
    margin-right: 20px;
}

footer .footer-section:last-child {
    margin-right: 0;
}

footer h3 {
    color: var(--white);
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

footer .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Services Page */
.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-item img {
    width: 40%;
    height: auto;
    border-radius: 8px;
    margin: 0 30px;
    object-fit: cover;
}

.service-item div {
    flex: 1;
}

/* Pricing Page */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.pricing-table th, .pricing-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.pricing-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.pricing-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

.pricing-table tr:hover {
    background-color: #e9ecef;
}

/* Contact Page */
.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: calc(100% - 24px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--primary-color);
}

/* Policy Pages */
.policy-content h2 {
    margin-top: 30px;
}

.policy-content ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content ol {
    list-style: decimal inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .facility-grid {
        grid-template-columns: 1fr;
    }

    footer .footer-content {
        flex-direction: column;
    }

    footer .footer-section {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .service-item {
        flex-direction: column;
    }

    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-item img {
        width: 100%;
        margin: 0 0 20px 0;
    }
}
