/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background: #21459C;/*#fffaaf;*/ /*#7292B3;*/
    color: #ffbf00; /*#fff;*/ /*#333;*/
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Hero section h1 */
.hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem); /* Dynamic scaling */
    line-height: 1.2;
    margin: 10px 0;
    text-align: center; /* Keep centered */
}

/* Hero section h2 */
.hero h2 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.2;
    margin: 10px 0;
    text-align: center;
}


/* Extra small screens (e.g., iPhone SE, ~320px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 14.4px; /* Fallback */
        font-size: clamp(0.9rem, 1.8vw, 1.2rem); /* Slightly smaller */
    }
    .hero h2 {
        font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ddd;
}

.face-image {
    max-width: 90%; /* Ensures responsiveness */
    width: 600px; /* Set desired width (adjust as needed) */
    height: auto; /* Maintains aspect ratio */
    margin: 20px 0; /* Existing spacing */
    border-radius: 8px; /* Optional: Existing styling */
}

/* Hero Section */
.hero {
    background: #f4f4f4;
    text-align: center;
    padding: 5rem 1rem;
}

.hero-paragraph {
    background: #f4f4f4;
    text-align: left;
    padding: 5rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #555;
}

/* Sections */
.section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    text-align: left;
}

.portfolio-item img {
    max-width: 100%;
    border-radius: 5px;
}

.portfolio-item h3 {
    margin: 1rem 0 0.5rem;
}

.qualifications-list, .special-education-list {
    list-style: none; /* Removes default bullets */
    padding-left: 20px; /* Indents the list slightly */
    margin: 10px 0; /* Adds vertical spacing */
}

.qualifications-list li, .special-education-list li {
    margin-bottom: 8px; /* Spacing between list items */
    font-size: 16px; /* Adjust font size as needed */
    text-align: left; /* Ensures left alignment */
}

.target-clients-heading {
    margin-top: 100px; /* Adds 40px of space above the heading */
}

/* Card container for each subsection */
.target-client-section {
    background-color: #f9f9f9; /* Light gray background for a subtle contrast */
    border: 1px solid #ddd; /* Light border for definition */
    border-radius: 8px; /* Rounded corners for a modern look */
    padding: 20px; /* Inner spacing */
    margin-bottom: 20px; /* Space between cards */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effect */
}

/* Hover effect for interactivity */
.target-client-section:hover {
    transform: translateY(-3px); /* Slight lift on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

/* Styling for the subheadings */
.target-subheading {
    font-size: 20px; /* Larger font for emphasis */
    color: ##333;
    margin-bottom: 10px; /* Space below heading */
    position: relative; /* For the underline effect */
    padding-bottom: 5px; /* Space for the underline */
}

/* Optional: Improve readability with custom styling */
.qualifications-list li:before, .special-education-list li:before {
    content: attr(data-number); /* Uses data-number attribute if you want custom numbering */
    margin-right: 10px; /* Space between number and text */
    color: #007bff; /* Optional: Color for numbers */
}

/* Contact Form */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-form button {
    padding: 0.75rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#contact-form button:hover {
    background: #555;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    .logo {
                font-size: clamp(1.0rem, 2.0vw, 1.3rem); /* Slightly smaller for tablets/mobiles */
    }
    .hero h2 {
            font-size: clamp(1rem, 2vw, 1.4rem);
    }
    .hero {
                padding: 2rem 1rem;
            }
            .hero-paragraph {
                padding: 2rem 1rem;
            }
}