/* ===============================
   Global Styles & Reset
   =============================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --primary-color: #1a3a52;
    --secondary-color: #2c5f7d;
    --accent-color: #c8a96c;
    --dark-blue: #0d1f2d;
    --light-gray: #f5f7fa;
    --medium-gray: #e8edf2;
    --text-dark: #2c3e50;
    --text-light: #6b7c93;
    --white: #ffffff;
    --success: #28a745;
    --error: #dc3545;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    text-align: justify;
}

/* Text alignment overrides for specific elements */
nav, .nav-menu, .nav-menu a,
button, .btn, 
label, .form-group label,
.hero-content, .page-header,
.cta-content, .footer,
ul, ol, li,
.credential-label, .credential-number,
.contact-item, .license-box,
.form-note, .form-message {
    text-align: left;
}

.section-title, .section-subtitle,
.hero-content h2, .page-header h1,
.cta-content h2 {
    text-align: center;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--primary-color);
    font-weight: 600;
    text-align: left;
}

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

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* ===============================
   Navigation
   =============================== */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 0;
}

.logo .tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.logo {
    display: block;
    flex-shrink: 0;
}

.logo-branding {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.company-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.company-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.company-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: relative;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
}

.has-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 400;
    border-bottom: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

/* ===============================
   Buttons
   =============================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===============================
   Hero Section
   =============================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-content h2 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================
   Credentials Bar
   =============================== */

.credentials-bar {
    background-color: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

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

.credentials-grid-five {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.credential-item {
    padding: 1rem;
}

.credential-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 0.5rem;
    display: block;
}

.credential-sublabel {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    font-weight: 500;
}

.credential-number,
.credential-license {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.credential-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
}

/* ===============================
   Services Overview
   =============================== */

.services-overview {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.service-link:hover {
    transform: translateX(5px);
}

/* ===============================
   Why Choose Section
   =============================== */

.why-choose {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.why-text h2 {
    margin-bottom: 2.5rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
}

.check-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.why-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.why-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.cert-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    padding: 3rem;
    color: var(--white);
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 58, 82, 0.2);
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badge-title {
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.9;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.badge-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.badge-org {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* ===============================
   CTA Section
   =============================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===============================
   Footer
   =============================== */

.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

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

.license-info {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===============================
   Page Header
   =============================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===============================
   Content Sections
   =============================== */

.content-section {
    padding: 4rem 0;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main h2 {
    margin-bottom: 1.5rem;
}

.content-main p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.section-spacing {
    margin-top: 3rem;
}

.approach-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.approach-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-light);
}

.approach-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.info-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--primary-color);
}

.info-item span {
    color: var(--text-light);
    text-align: right;
}

.cert-list {
    list-style: none;
}

.cert-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* ===============================
   Leadership Section
   =============================== */

.leadership-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.leader-profile {
    background-color: var(--white);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.leader-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border-bottom: 2px solid var(--medium-gray);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.leader-photo {
    width: 140px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.leader-title h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.leader-position {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.leader-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-style: italic;
}

.leader-license {
    color: var(--secondary-color);
    font-weight: 600;
}

.leader-bio h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.leader-bio p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.experience-list,
.expertise-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.experience-list li {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.experience-list strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.experience-list p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.expertise-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--text-light);
}

.expertise-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.credential-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.credential-highlight h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.credential-highlight p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.team-section {
    margin-top: 3rem;
}

.team-section h3 {
    margin-bottom: 1.5rem;
}

.team-section > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.team-highlight {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent-color);
}

.team-highlight h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.team-highlight p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===============================
   Values Section
   =============================== */

.values-section {
    padding: 4rem 0;
    background-color: var(--white);
}

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

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

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===============================
   Service Detail Pages
   =============================== */

.service-detail {
    padding: 4rem 0;
}

.service-detail.alt-bg {
    background-color: var(--light-gray);
}

.service-detail-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.service-detail-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center !important;
}

.service-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.service-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    text-align: center !important;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin: 2rem 0;
}

.service-detail.alt-bg .feature-box {
    background-color: var(--white);
}

.service-detail:not(.alt-bg) .feature-box {
    background-color: var(--light-gray);
}

.feature-box h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-box ul {
    list-style: none;
    padding-left: 0;
}

.feature-box li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.feature-box li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.feature-box strong {
    color: var(--primary-color);
}

.sub-list {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.sub-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
}

.sub-list li:before {
    content: "→";
}

.two-column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.95);
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.highlight-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.highlight-box strong {
    color: var(--white);
}

/* ===============================
   Contact Page
   =============================== */

.contact-section {
    padding: 4rem 0;
}

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

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--accent-color);
}

.contact-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.phone-number-detail {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.license-box {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.license-box h3 {
    margin-bottom: 1rem;
}

.license-box p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-container {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 8px;
}

.form-container h2 {
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-align: center;
}

.form-message {
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.additional-info {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

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

.info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===============================
   Responsive Design
   =============================== */

@media (max-width: 968px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .company-name {
        font-size: 1.25rem;
    }
    
    .company-tagline {
        font-size: 0.8rem;
    }
    
    .footer-logo {
        height: 70px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .credentials-grid,
    .credentials-grid-four,
    .credentials-grid-five {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .credential-logo {
        height: 60px;
    }
}
    
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .team-highlights {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-column-list {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-branding {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .company-tagline {
        font-size: 0.75rem;
    }
    
    .footer-logo {
        height: 60px;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .credentials-grid,
    .credentials-grid-four,
    .credentials-grid-five {
        grid-template-columns: 1fr;
    }
    
    .credential-logo {
        height: 70px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .feature-box,
    .highlight-box,
    .form-container {
        padding: 1.5rem;
    }
}
/* Word Cloud Styling */
.wordcloud-section {
    text-align: center;
    margin: 1.5rem 0;
}

.wordcloud-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 640px) {
    .wordcloud-image {
        max-width: 100%;
    }
}

/* Professional Associations Section */
.associations-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.associations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.association-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 180px;
    min-height: 180px;
}

.association-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.association-logo {
    height: 100px;
    width: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: white !important;
    padding: 0.5rem;
    border-radius: 4px;
}

.association-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a3a52;
    text-align: center;
}

/* Charitable Organizations Section */
.charitable-section {
    padding: 4rem 0;
    background: white;
}

.charitable-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.charitable-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 220px;
    min-height: 220px;
}

.charitable-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.charitable-logo {
    height: 120px;
    width: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: white !important;
    padding: 0.5rem;
    border-radius: 4px;
}

.charitable-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a52;
    text-align: center;
}

@media (max-width: 968px) {
    .associations-grid {
        gap: 1.5rem;
    }
    
    .association-link {
        width: 150px;
        min-height: 150px;
        padding: 1rem;
    }
    
    .association-logo {
        height: 80px;
        width: 80px;
    }
    
    .charitable-link {
        width: 180px;
        min-height: 180px;
    }
    
    .charitable-logo {
        height: 100px;
        width: 100px;
    }
}

@media (max-width: 640px) {
    .associations-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .association-link {
        width: 100%;
        max-width: 300px;
    }
    
    .association-logo {
        height: 70px;
        width: 70px;
    }
    
    .charitable-grid {
        flex-direction: column;
    }
    
    .charitable-link {
        width: 100%;
        max-width: 300px;
    }
    
    .charitable-logo {
        height: 90px;
        width: 90px;
    }
    
    .leader-header {
        flex-direction: column;
        text-align: center;
    }
    
    .leader-photo {
        width: 120px;
        height: auto;
    }
    
    /* Mobile dropdown behavior */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
    }
    
    .has-dropdown:hover .dropdown-menu,
    .dropdown-menu {
        display: none;
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
}
