/* General Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 0;
}

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

/* Header & Navigation */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

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

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

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

header nav li {
    margin-left: 25px;
}

header nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

header nav a:hover, header nav a.active {
    color: #007bff;
}

/* Main Content Area */
.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

h1, h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

p {
    margin-bottom: 20px;
    font-size: 17px;
}

/* Hero Section (Homepage) */
.hero {
    background-color: #007bff;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 15px;
}

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

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #007bff;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #f0f0f0;
}

/* Features Section (Homepage) */
.features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex-basis: 31%;
    text-align: center;
}

.feature-item h3 {
    color: #007bff;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex-basis: 60%;
}

.contact-details {
    flex-basis: 35%;
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Important for padding */
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 40px 0;
    margin-top: 40px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    flex-basis: 300px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col p, .footer-col ul {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 13px;
    color: #95a5a6;
}
