/* Styles for Contact Page */

.contact-page-content {
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: #f0f4f8; /* Light grey-blue background for the main content area */
}

#contact-intro {
    text-align: left; /* As per image */
    margin-bottom: 40px;
    padding: 20px 0 0 0;
}

#contact-intro h1 {
    font-size: 2.5rem;
    color: #0f2136;
    margin-bottom: 8px;
}

#contact-intro .subtitle {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 700px; /* Limit width of intro text */
}

#contact-main {
    padding-top: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes more space */
    gap: 40px;
}

.contact-form-container {
    background-color: #fff;
    padding: 30px 35px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 0.95rem;
    color: #495057;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #0118D8; /* Orange focus border */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.form-group textarea {
    resize: vertical; /* Allow vertical resize only */
}

.btn-form-submit {
    background-color: #3D90D7; /* Orange */
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: block; /* Make button full width of its container if needed, or inline-block */
    width: 100%; /* Full width button as in image */
}

.btn-form-submit:hover {
    background-color: #0118D8; /* Darker orange */
}

.form-status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
}
.form-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Contact Info Sidebar */
.contact-info-sidebar .info-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    margin-bottom: 25px;
}
.contact-info-sidebar .info-card:last-child {
    margin-bottom: 0;
}

.contact-info-sidebar h3 {
    font-size: 1.15rem;
    color: #0f2136;
    margin-bottom: 15px;
}

.contact-info-sidebar p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.contact-info-sidebar p i {
    color: #3D90D7; /* Orange icons */
    margin-right: 12px;
    width: 20px; /* Fixed width for alignment */
    text-align: center;
}

.social-icons-contact {
    display: flex;
    gap: 18px; /* Space between social icons */
}

.social-icons-contact a {
    color: #0f2136; /* Dark blue for social icons */
    font-size: 1.5rem; /* Larger social icons */
    transition: color 0.2s ease;
}
.social-icons-contact a:hover {
    color: #3D90D7; /* Orange on hover */
}


/* Responsive adjustments for contact page */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack form and sidebar */
    }
    .contact-info-sidebar {
        margin-top: 30px; /* Space above sidebar when stacked */
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 25px 20px;
    }
     #contact-intro h1 {
        font-size: 2.2rem;
    }
    #contact-intro .subtitle {
        font-size: 0.95rem;
    }
}

/* Ensure global Header & Footer styles are present in style.css */
/* (Already provided in previous full code example) */

/* === FOOTER STYLES === */
footer {
    background-color: #0f2136; /* Dark blue */
    color: #adb5bd; /* Lighter text color for footer */
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2c3e50; /* Slightly lighter border */
}

.footer-about h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4, .footer-connect h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}
.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
}

.social-icons a {
    color: #adb5bd;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #3D90D7; /* Orange on hover for social icons */
}
.social-icons a:last-child {
    margin-right: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.85rem;
}
.footer-bottom p {
    margin: 0;
}

/* Responsive adjustments for Header/Footer - (You might have more detailed ones) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    header nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        padding-left: 0;
    }
    header nav ul li {
        margin-left: 0;
        margin-bottom: 5px;
        width: 100%;
    }
    header nav ul li a {
        display: block;
        padding: 8px 0;
    }
    .theme-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about, .footer-links, .footer-connect {
        margin-bottom: 20px;
    }
    /* .social-icons {
        justify-content: center; No, they are inline-block and center via text-align of parent
    } */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom p {
        margin-bottom: 5px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8; /* Overall page background */
}

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

/* === HEADER STYLES === */
header {
    background-color: #0f2136; /* Dark blue */
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

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

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

header nav ul li a {
    color: #e0e0e0;
    padding: 5px 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active { /* Style for the active link */
    color: #fff;
    font-weight: 500;
}
