/* Import the Begum Light font */
@font-face {
    font-family: 'Begum Light';
    src: url('fonts/Begum-W03-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* General Body Styling */
body {
    font-family: 'Begum Light', sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff; /* White text */
    background-color: #333333; /* Dark grey background */
    line-height: 1.6;
}

/* Header Styling */
header {
    background: #2c2c2c; /* Slightly darker grey */
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .logo img {
    max-width: 450px; /* Larger logo size for desktop */
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    header .logo img {
        max-width: 150px; /* Smaller logo size for mobile */
    }
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #cccccc; /* Lighter grey on hover */
}

/* Main Section Styling */
main {
    padding: 20px; /* Consistent padding for all pages */
    margin: 0 auto;
    max-width: 1200px; /* Consistent width */
    text-align: left; /* Default text alignment */
}

/* Page Container */
.page-container {
    background-color: #444444; /* Medium grey background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    padding: 30px; /* Internal padding */
    margin: 20px auto; /* Centered with consistent margin */
    max-width: 1200px;
}

/* Center Headings Globally */
h1, h2 {
    text-align: center;
}

/* Card Container (Services Page) */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: #555555; /* Medium-dark grey */
    border: 1px solid #666666; /* Slightly darker border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
    max-width: 300px; /* Fixed width for consistency */
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none; /* Remove underline */
    display: block; /* Make the entire card clickable */
    cursor: pointer; /* Show pointer cursor on hover */
}

.card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    color: #dddddd; /* Slightly lighter grey */
}

/* Footer Styling */
footer {
    background: #2c2c2c; /* Dark grey */
    color: #ffffff; /* White text */
    text-align: center;
    padding: 10px 0;
    border-top: 2px solid #555555; /* Subtle border */
}

/* Links */
a {
    color: #ffffff; /* Match text color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s;
}

a:hover {
    color: #cccccc; /* Lighter grey on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .page-container {
        max-width: 90%; /* Adjust for smaller screens */
    }
}
/* Centering and Styling for the Back Button */
.back-button-container {
    text-align: center; /* Center-aligns the button */
    margin-top: 20px; /* Adds spacing above the button */
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #555555; /* Match card color */
    color: #ffffff; /* White text */
    border-radius: 5px;
    text-decoration: none; /* Remove underline */
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.back-button:hover {
    background-color: #777777; /* Lighter grey on hover */
    transform: translateY(-3px); /* Slight lift effect */
}
/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #666666;
    border-radius: 5px;
    background-color: #555555;
    color: #ffffff;
    font-size: 1em;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #cccccc;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #555555;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-form button:hover {
    background-color: #777777;
    transform: translateY(-3px);
}
