/*
Theme Name: Medicair
Description: Professional healthcare NGO theme for Medicair South Sudan - Compatible with Elementor and Gutenberg
Author: Medicair Team
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: medicair
Domain Path: /languages
Tags: healthcare, ngo, nonprofit, medical, responsive, elementor-ready, gutenberg-ready
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme is designed for healthcare NGOs and is fully compatible with Elementor and Gutenberg editors.
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* WordPress Core Styles */
.sticky {
    /* Sticky post styling */
}

.gallery-caption {
    /* Gallery caption styling */
}

.bypostauthor {
    /* Post author styling */
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background-color: #68BDE2;
    color: white;
}

.btn-primary:hover {
    background-color: #5AADE0;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: #68BDE2;
    border: 2px solid #68BDE2;
}

.btn-secondary:hover {
    background-color: #68BDE2;
    color: white;
    text-decoration: none;
}

.btn-donate {
    background-color: #e74c3c;
    color: white;
}

.btn-donate:hover {
    background-color: #c0392b;
    color: white;
    text-decoration: none;
}

.btn-donate-large {
    background-color: #e74c3c;
    color: white;
    padding: 16px 32px;
    font-size: 18px;
}

.btn-donate-large:hover {
    background-color: #c0392b;
    color: white;
    text-decoration: none;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    max-width: 350px;
    width: auto;
}

.logo-img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-title {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-title a {
    text-decoration: none;
    color: inherit;
}

.logo-title a:hover {
    color: #68BDE2;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-logo-link {
    display: inline-block !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    flex-shrink: 0;
    overflow: hidden;
}

.custom-logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Additional logo fixes */
.logo img,
.footer-logo img,
.footer-logo-img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Ensure header doesn't break */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Force logo container constraints */
.site-branding,
.logo-container {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

/* Emergency logo size override */
img[class*="logo"],
img[src*="logo"],
.header img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain !important;
}
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
}

/* Skip Link */
.skip-link {
    background: #f1f1f1;
    color: #21759b;
    text-decoration: none;
    padding: 8px 16px;
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 999999;
    text-transform: none;
}

.skip-link:focus {
    top: 7px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.current-menu-item {
    color: #68BDE2;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.gradient-text {
    background: linear-gradient(135deg, #68BDE2 0%, #5AADE0 50%, #4C9CDE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ceo-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.ceo-card:hover {
    transform: translateY(-10px);
}

.ceo-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.ceo-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.ceo-title {
    color: #68BDE2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ceo-credentials {
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

.ceo-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #68BDE2;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-description {
    font-size: 1.125rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Who We Are Section */
.who-we-are-section {
    background: #f8fbff;
}

.mission-vision {
    margin-bottom: 4rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-vision-item {
    text-align: center;
    padding: 2rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #68BDE2, #5AADE0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-wrapper i {
    font-size: 2rem;
    color: white;
}

/* Acronym Section */
.acronym-section {
    margin-bottom: 4rem;
}

.acronym-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.acronym-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.acronym-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.acronym-letter {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #68BDE2;
    margin-bottom: 0.5rem;
}

.acronym-word {
    font-weight: 600;
    color: #333;
}

/* Values Section */
.values-section {
    margin-bottom: 4rem;
}

.values-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #68BDE2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: white;
}

.value-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.value-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Leadership Section */
.leadership-section {
    margin-bottom: 2rem;
}

.leadership-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.leader-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.leader-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.leader-position {
    color: #68BDE2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.leader-credentials {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.leader-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* What We Do Section */
.what-we-do-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #f8fbff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #68BDE2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-description {
    color: #666;
    margin: 0;
}

/* Where We Work Section */
.where-we-work-section {
    background: #f8fbff;
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.state-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.state-card:hover {
    transform: translateY(-5px);
}

.state-icon {
    width: 60px;
    height: 60px;
    background: #68BDE2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.state-icon i {
    font-size: 1.5rem;
    color: white;
}

.state-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.state-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Blog Section */
.blog-section {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-date {
    color: #666;
}

.blog-category {
    color: #68BDE2;
    font-weight: 600;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-link {
    color: #68BDE2;
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

.blog-cta {
    text-align: center;
}

/* Contact Section */
.contact-section {
    background: #f8fbff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #68BDE2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-details p {
    color: #666;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #68BDE2;
}

.form-group textarea {
    resize: vertical;
}

/* Donate Section */
.donate-section {
    background: linear-gradient(135deg, #68BDE2 0%, #5AADE0 100%);
    color: white;
    text-align: center;
}

.donate-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.donate-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.donate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-logo-text h3 {
    margin: 0;
    font-size: 1.5rem;
}

.footer-logo-text p {
    margin: 0;
    color: #ccc;
    font-size: 0.875rem;
}

.footer-description {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-registration {
    font-size: 0.875rem;
    color: #999;
}

.footer-title {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
    color: #68BDE2;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-contact-item i {
    color: #68BDE2;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #68BDE2;
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: #999;
    margin: 0;
}

/* WordPress Editor Styles */
.wp-block-group {
    margin-bottom: 2rem;
}

.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.wp-block-column {
    flex: 1;
    min-width: 0;
}

.wp-block-button .wp-block-button__link {
    background-color: #68BDE2;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: #5AADE0;
    transform: translateY(-2px);
}

/* Elementor Compatibility */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
    color: inherit;
}

.elementor-widget-button .elementor-button {
    background-color: #68BDE2;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.elementor-widget-button .elementor-button:hover {
    background-color: #5AADE0;
    transform: translateY(-2px);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-vision-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .acronym-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leadership-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .acronym-grid,
    .values-grid,
    .leadership-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .states-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ceo-photo {
        width: 150px;
        height: 150px;
    }
    
    .leader-photo {
        width: 100px;
        height: 100px;
    }
}