/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #D0D2D6; /* Light text for dark background */
    line-height: 1.5;
    background: #2E3E44; /* Dark bluish-gray background */
}

header, nav, main, footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

header h1 {
    margin: 0;
    color: #D0D2D6; /* Light text for brand name */
    font-weight: 600;
    font-size: 1.8rem;
}

a {
    color: #2AAFB5; /* Teal accent for all links */
    text-decoration: none;
}

a:hover {
    color: #75BB84; /* Green accent on hover */
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #D0D2D6; /* Light text for nav links */
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #2AAFB5; /* Teal accent on hover */
}

.hero {
    position: relative;
    background: url('images/hero-image.jpg') center/cover no-repeat;
    color: #fff;
    padding: 150px 20px 100px 20px;
    text-align: center;
}

/* Gradient Overlay on Hero */
.hero::before {
    content: "";
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    /* Teal to Green gradient overlay */
    background: linear-gradient(to bottom right, rgba(42,175,181,0.7), rgba(117,187,132,0.5));
    z-index: 1;
}

.hero h2, .hero p, .hero a {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.cta-button {
    background: #2AAFB5; /* Teal accent */
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #228F96; /* Slightly darker teal on hover */
}

main section {
    padding: 40px 20px;
    background: #36484D; /* Slightly lighter dark gray/blue for contrast */
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}

section h3 {
    font-size: 1.8rem;
    color: #D0D2D6; 
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #2AAFB5; /* Teal accent underline */
    display: inline-block;
    padding-bottom: 5px;
}

.about {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    color: #D0D2D6;
    margin-top: 50px;
}

.about img {
    width: 150px;
    height: 150px;
    margin: 0 20px 20px 0;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.about p {
    flex: 1;
    font-size: 1rem;
    margin-top: 0;
}

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

li {
    margin-bottom: 10px;
    font-size: 1rem;
    padding-left: 20px;
    /* Using teal accent bullet */
    background: url('data:image/svg+xml;utf8,<svg width="8" height="8" viewBox="0 0 8 8" fill="%232AAFB5" xmlns="http://www.w3.org/2000/svg"><circle cx="4" cy="4" r="4"/></svg>') no-repeat left center/8px;
    color: #D0D2D6;
}

.case-study-item {
    margin-bottom: 20px;
    background: #3E5055;
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid #2AAFB5; /* Teal accent border */
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.case-study-item h4 {
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.insights ul li, .resources ul li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #D0D2D6;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #D0D2D6;
}

form input, form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #2E3E44;
    color: #D0D2D6;
}

form button {
    background: #2AAFB5; /* Teal accent for submit */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

form button:hover {
    background: #228F96; /* Slightly darker teal on hover */
}

/* Ensure specificity for the photo in the About Founder section */
.about-founder .about-content .founder-photo {
    width: 150px;
    height: auto;
    float: left;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #8A9BA0;
    font-size: 0.9rem;
}

footer p {
    margin: 4px 0;
}

footer a,
.footer-links a {
    color: #8A9BA0 !important;
}

footer a:hover,
.footer-links a:hover {
    color: #2AAFB5 !important;
}

/* Contact form */
.contact-form {
    margin-top: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

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

.required {
    color: #2AAFB5;
}

form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 0;
    border: 1px solid #444;
    border-radius: 5px;
    background: #2E3E44;
    color: #D0D2D6;
    appearance: none;
    cursor: pointer;
}

form select option[value=""][disabled] {
    color: #8A9BA0;
}

form button[type="submit"] {
    padding: 12px 30px;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.contact-alt {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #3E5055;
    color: #8A9BA0;
    font-size: 0.95rem;
}

.contact-alt p {
    margin: 4px 0;
}

/* Responsive nav wrapping on small screens */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    nav a {
        margin: 0 6px 6px 0;
        display: inline-block;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}