:root {
    --primary-color: #0056b3;
    --bg-light: #f4f7f6;
    --text-dark: #333;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo img {
    display: block;
    height: 50px; /* Adjust this height to your preference */
    width: auto;  /* Maintains aspect ratio */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Tightened padding for the image logo */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Cards / Services */
.services {
    padding: 60px 0;
    background: var(--bg-light);
}

.grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #222;
    color: #ccc;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

/* Sub-page Specifics */
.content-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-light);
    min-height: 60vh;
}

.narrow {
    max-width: 700px;
}

.info-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.btn-large {
    font-size: 1.1rem;
    padding: 15px 40px;
    margin-top: 25px;
    font-weight: 600;
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
}

/* Form Container Styling */
.form-container {
    background: var(--white);
    padding: 0px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 30px;
    min-height: 500px; /* Prevents layout jump while script loads */
}

/* Ensure the narrow container allows enough width for the form on desktop */
.narrow {
    max-width: 800px; 
}

/* Success Page Specifics */
.success-icon {
    font-size: 80px;
    color: #28a745; /* Green color for success */
    background: #e9f7ef;
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

/* Optional: Add a smooth fade-in effect */
.content-section {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}