:root {
    --aphn-blue: rgb(11, 59, 96);
    --aphn-orange: rgb(230, 81, 0);
    --aphn-teal: rgb(32, 178, 170);
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: 'Roboto Slab', serif;
    color: var(--aphn-blue);
}

.navbar {
    background-color: var(--aphn-blue);
    padding: 16px 0;
}

/* Target screens smaller than the 'xl' breakpoint (1200px) where the menu collapses */
@media (max-width: 1199.98px) {
    #mainNav {
        padding-top: 90px; /* Pushes the menu items down below the absolute logo */
    }
}

/* Adjusted font size and padding to fit all 12 menu items */
.nav-link {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

    .nav-link:hover {
        color: var(--aphn-teal) !important;
    }

/* Top Utility Bar CSS */
.btn-primary-aphn {
    background-color: var(--aphn-orange);
    border: none;
    color: white;
}

    .btn-primary-aphn:hover {
        background-color: #cc4800;
        color: white;
    }

.footer-link:hover {
    color: var(--aphn-teal) !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.footer-link-bottom:hover {
    color: var(--aphn-orange) !important;
    text-decoration: underline !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============ COMMITTEE PAGE STYLES ============ */

/* Committee Member Card Styles */
.committee-member-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.committee-member-card:hover {
    box-shadow: 0 8px 24px rgba(11, 59, 96, 0.2);
    transform: translateY(-5px);
}

.committee-member-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, var(--aphn-blue), var(--aphn-teal));
}

.committee-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.committee-member-card:hover .committee-member-image img {
    transform: scale(1.05);
}

.committee-member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 59, 96, 0.9);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.committee-member-card:hover .committee-member-overlay {
    opacity: 1;
}

.committee-member-bio {
    color: white;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

.committee-member-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.committee-member-content h5 {
    color: var(--aphn-blue);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.committee-designation {
    font-size: 0.9rem;
    color: var(--aphn-orange);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.committee-member-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.info-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.info-item i {
    color: var(--aphn-teal);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    text-align: center;
}

/* ============ COMMITTEE SECTION ON HOME PAGE ============ */

.committee-teaser-section {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.05) 0%, rgba(32, 178, 170, 0.05) 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.committee-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.committee-type-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(11, 59, 96, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border-top: 4px solid transparent;
}

.committee-type-card:hover {
    box-shadow: 0 12px 32px rgba(11, 59, 96, 0.15);
    transform: translateY(-8px);
}

.committee-type-card.state {
    border-top-color: var(--aphn-orange);
}

.committee-type-card.state:hover {
    border-top-color: var(--aphn-orange);
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.02) 0%, rgba(230, 81, 0, 0.01) 100%);
}

.committee-type-card.district {
    border-top-color: var(--aphn-teal);
}

.committee-type-card.district:hover {
    border-top-color: var(--aphn-teal);
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.02) 0%, rgba(32, 178, 170, 0.01) 100%);
}

.committee-type-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--aphn-blue);
    transition: all 0.3s ease;
}

.committee-type-card.state .committee-type-icon {
    color: var(--aphn-orange);
}

.committee-type-card.district .committee-type-icon {
    color: var(--aphn-teal);
}

.committee-type-card:hover .committee-type-icon {
    transform: scale(1.1) rotate(5deg);
}

.committee-type-title {
    color: var(--aphn-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Roboto Slab', serif;
}

.committee-type-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.committee-member-count {
    display: inline-block;
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--aphn-blue);
    font-weight: 600;
    margin-bottom: 20px;
}

.committee-view-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: var(--aphn-blue);
    color: white;
}

.committee-type-card.state .committee-view-btn {
    background: var(--aphn-orange);
}

.committee-type-card.state .committee-view-btn:hover {
    background: #cc4800;
}

.committee-type-card.district .committee-view-btn {
    background: var(--aphn-teal);
}

.committee-type-card.district .committee-view-btn:hover {
    background: #1a968f;
}

.committee-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@@media (max-width: 768px) {
    .committee-member-image {
        height: 250px;
    }

    .committee-member-content {
        padding: 15px;
    }

    .committee-member-content h5 {
        font-size: 1rem;
    }

    .committee-designation {
        font-size: 0.85rem;
    }

    .info-item {
        font-size: 0.8rem;
    }

    .committee-type-card {
        padding: 30px 20px;
    }

    .committee-type-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
    }

    .committee-type-title {
        font-size: 1.3rem;
    }

    .committee-teaser-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============ CONTACT PAGE STYLES ============ */

/* Contact Office Section */
.contact-office-section {
    margin-top: 30px;
    margin-bottom: 50px;
}

.contact-office-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(11, 59, 96, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--aphn-orange);
    line-height: 1.8;
}

.contact-office-card:hover {
    box-shadow: 0 8px 24px rgba(11, 59, 96, 0.15);
    transform: translateY(-3px);
}

.contact-office-card h4 {
    color: var(--aphn-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-office-card h5 {
    color: var(--aphn-blue);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 20px;
}

.contact-office-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.contact-link {
    color: var(--aphn-teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--aphn-orange);
    text-decoration: underline;
}

/* Social Links */
.contact-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aphn-blue), var(--aphn-teal));
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: var(--aphn-orange);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.3);
}

/* Google Map Embed */
.contact-map-card {
    background: white;
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(11, 59, 96, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--aphn-teal);
    height: 100%;
}

.contact-map-card:hover {
    box-shadow: 0 8px 24px rgba(11, 59, 96, 0.15);
}

.contact-map-card h4 {
    color: var(--aphn-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-map-iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(11, 59, 96, 0.1);
}

/* Contact Grid - Department Contacts */
.contact-dedicated-section {
    margin-top: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(11, 59, 96, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card:nth-child(1) {
    border-top-color: var(--aphn-orange);
}

.contact-card:nth-child(2) {
    border-top-color: var(--aphn-teal);
}

.contact-card:nth-child(3) {
    border-top-color: var(--aphn-orange);
}

.contact-card:nth-child(4) {
    border-top-color: var(--aphn-teal);
}

.contact-card:nth-child(5) {
    border-top-color: var(--aphn-orange);
}

.contact-card:nth-child(6) {
    border-top-color: var(--aphn-teal);
}

.contact-card:hover {
    box-shadow: 0 12px 32px rgba(11, 59, 96, 0.15);
    transform: translateY(-8px);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--aphn-blue);
    transition: all 0.3s ease;
}

.contact-card:nth-child(1) .contact-card-icon {
    color: var(--aphn-orange);
}

.contact-card:nth-child(2) .contact-card-icon {
    color: var(--aphn-teal);
}

.contact-card:nth-child(3) .contact-card-icon {
    color: var(--aphn-orange);
}

.contact-card:nth-child(4) .contact-card-icon {
    color: var(--aphn-teal);
}

.contact-card:nth-child(5) .contact-card-icon {
    color: var(--aphn-orange);
}

.contact-card:nth-child(6) .contact-card-icon {
    color: var(--aphn-teal);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(10deg);
    background: #f0f0f0;
}

.contact-card-title {
    color: var(--aphn-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Roboto Slab', serif;
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
    text-align: left;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info-item i {
    color: var(--aphn-teal);
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    color: var(--aphn-blue);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item p {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.contact-info-item a {
    color: var(--aphn-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--aphn-orange);
    text-decoration: underline;
}

/* Responsive Design */
@@media (max-width: 768px) {
    .contact-office-card {
        padding: 25px;
    }

    .contact-office-card h4 {
        font-size: 1.1rem;
    }

    .contact-office-card h5 {
        font-size: 0.95rem;
    }

    .contact-office-card p {
        font-size: 0.9rem;
    }

    .contact-map-iframe {
        height: 300px;
    }

    .contact-map-card {
        padding: 25px 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-card-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .contact-card-title {
        font-size: 1.1rem;
    }

    .contact-info-item {
        gap: 12px;
    }

    .contact-info-item i {
        font-size: 1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ============================================ */
/* ABOUT PAGE STYLES */
/* ============================================ */

/* About Section Styling */
.about-section {
    background-color: #ffffff;
    border-radius: 8px;
}

.about-content-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--aphn-teal);
}

.about-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

    .about-paragraph:last-child {
        margin-bottom: 0;
    }

/* Vision & Mission Cards */
.about-vision-card,
.about-mission-card {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.02) 0%, rgba(32, 178, 170, 0.02) 100%);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .about-vision-card:hover,
    .about-mission-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(11, 59, 96, 0.15);
        border-color: var(--aphn-teal);
    }

.about-vision-icon,
.about-mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.about-vision-icon {
    color: var(--aphn-teal);
}

.about-mission-icon {
    color: var(--aphn-orange);
}

.about-vision-title,
.about-mission-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-vision-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 0;
}

.about-mission-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .about-mission-list li {
        font-size: 0.95rem;
        line-height: 1.8;
        color: #555555;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: flex-start;
    }

        .about-mission-list li i {
            color: var(--aphn-orange);
            margin-right: 0.75rem;
            flex-shrink: 0;
            margin-top: 0.2rem;
        }

    .about-mission-list li:last-child {
        margin-bottom: 0;
    }

/* Objectives Grid */
.about-objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.about-objective-card {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.05) 0%, rgba(32, 178, 170, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--aphn-orange);
    transition: all 0.3s ease;
    text-align: center;
}

    .about-objective-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(11, 59, 96, 0.15);
        border-left-color: var(--aphn-teal);
    }

    .about-objective-card i {
        font-size: 2.5rem;
        color: var(--aphn-teal);
        margin-bottom: 1rem;
        text-align: center;
    }

    .about-objective-card h5 {
        color: var(--aphn-blue);
        font-weight: 700;
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .about-objective-card p {
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.6;
        margin-bottom: 0;
    }

/* History Card */
.about-history-card {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.2);
}

/* Reason Cards */
.about-reason-card {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.03) 0%, rgba(32, 178, 170, 0.03) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(11, 59, 96, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

    .about-reason-card:hover {
        transform: translateX(8px);
        box-shadow: 0 8px 20px rgba(11, 59, 96, 0.12);
    }

.about-reason-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--aphn-orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.about-reason-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.about-reason-card p {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Role Card */
.about-role-card {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--aphn-teal);
}

.about-role-subtitle {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-role-list {
    list-style: none;
    padding-left: 0;
}

    .about-role-list li {
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.8;
        margin-bottom: 0.75rem;
        padding-left: 0;
        display: flex;
        align-items: flex-start;
    }

        .about-role-list li:before {
            content: "✓";
            color: var(--aphn-orange);
            font-weight: bold;
            margin-right: 0.75rem;
            flex-shrink: 0;
        }

    .about-role-list li:last-child {
        margin-bottom: 0;
    }

/* Importance Card */
.about-importance-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.15);
}

.about-stat-box {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(11, 59, 96, 0.05) 100%);
    padding: 1.75rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

    .about-stat-box:hover {
        transform: translateY(-5px);
        background: linear-gradient(135deg, rgba(32, 178, 170, 0.15) 0%, rgba(11, 59, 96, 0.1) 100%);
    }

    .about-stat-box i {
        font-size: 2rem;
        color: var(--aphn-teal);
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .about-stat-box h6 {
        color: var(--aphn-blue);
        font-weight: 700;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .about-stat-box p {
        font-size: 0.9rem;
        color: #555555;
        line-height: 1.5;
        margin-bottom: 0;
    }

/* Stats Cards */
.about-stat-card {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.08) 0%, rgba(32, 178, 170, 0.08) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
}

    .about-stat-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(11, 59, 96, 0.15);
        border-color: var(--aphn-orange);
    }

    .about-stat-card i {
        font-size: 2.5rem;
        color: var(--aphn-orange);
        margin-bottom: 1rem;
        text-align: center;
    }

.about-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--aphn-blue);
    margin: 0.75rem 0;
}

.about-stat-label {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Achievements Grid */
.about-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-achievement-card {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.05) 0%, rgba(11, 59, 96, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--aphn-teal);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .about-achievement-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(11, 59, 96, 0.15);
        border-left-color: var(--aphn-orange);
    }

.about-achievement-icon {
    font-size: 2.5rem;
    color: var(--aphn-orange);
    margin-bottom: 1rem;
}

.about-achievement-card h5 {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.about-achievement-card p {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Future Objectives Card */
.about-future-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(11, 59, 96, 0.1);
}

.about-future-item {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.06) 0%, rgba(32, 178, 170, 0.06) 100%);
    padding: 1.75rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(32, 178, 170, 0.15);
    transition: all 0.3s ease;
}

    .about-future-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(11, 59, 96, 0.12);
        border-color: var(--aphn-teal);
    }

    .about-future-item i {
        font-size: 2rem;
        color: var(--aphn-teal);
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .about-future-item h6 {
        color: var(--aphn-blue);
        font-weight: 700;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .about-future-item p {
        font-size: 0.9rem;
        color: #555555;
        line-height: 1.5;
        margin-bottom: 0;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-content-card,
    .about-role-card,
    .about-history-card,
    .about-importance-card,
    .about-future-card {
        padding: 1.5rem;
    }

    .about-vision-card,
    .about-mission-card {
        padding: 1.75rem;
    }

    .about-vision-icon,
    .about-mission-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .about-objective-card,
    .about-stat-card,
    .about-achievement-card {
        padding: 1.5rem;
    }

    .about-stat-card i,
    .about-objective-card i {
        font-size: 2rem;
    }

    .about-stat-number {
        font-size: 1.5rem;
    }

    .about-stat-label {
        font-size: 0.95rem;
    }

    .about-reason-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .about-future-item i {
        font-size: 1.5rem;
    }

    .about-paragraph {
        font-size: 0.95rem;
    }
}

/* ============================================ */
/* MEMBERSHIP PAGE STYLES */
/* ============================================ */

/* Membership Section Styling */
.membership-section {
    background-color: #ffffff;
    border-radius: 8px;
}

.membership-intro-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--aphn-teal);
}

.membership-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

    .membership-paragraph:last-child {
        margin-bottom: 0;
    }

/* Eligibility Criteria Cards */
.membership-criteria-card {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.03) 0%, rgba(32, 178, 170, 0.03) 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .membership-criteria-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(11, 59, 96, 0.15);
        border-color: var(--aphn-teal);
    }

.membership-criteria-icon {
    font-size: 2.5rem;
    color: var(--aphn-orange);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.membership-criteria-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.membership-criteria-list {
    list-style: none;
    padding-left: 0;
}

    .membership-criteria-list li {
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.8;
        margin-bottom: 0.75rem;
        padding-left: 1.75rem;
        position: relative;
    }

        .membership-criteria-list li:before {
            content: "✓";
            color: var(--aphn-teal);
            font-weight: bold;
            position: absolute;
            left: 0;
            font-size: 1.1rem;
        }

    .membership-criteria-list li:last-child {
        margin-bottom: 0;
    }

/* Membership Types Grid */
.membership-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.membership-type-card {
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(11, 59, 96, 0.1);
}

    .membership-type-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(11, 59, 96, 0.2);
    }

.membership-type-general {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.06) 0%, rgba(56, 142, 60, 0.04) 100%);
    border-left: 4px solid #4caf50;
}

.membership-type-associate {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.06) 0%, rgba(25, 103, 210, 0.04) 100%);
    border-left: 4px solid #2196f3;
}

.membership-type-honorary {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.06) 0%, rgba(255, 152, 0, 0.04) 100%);
    border-left: 4px solid #ffc107;
}

.membership-type-special {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.06) 0%, rgba(103, 58, 183, 0.04) 100%);
    border-left: 4px solid #9c27b0;
}

.membership-type-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(11, 59, 96, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .membership-type-header i {
        font-size: 2rem;
        color: var(--aphn-orange);
    }

.membership-type-name {
    color: var(--aphn-blue);
    font-weight: 700;
    margin: 0;
    font-size: 1.3rem;
}

.membership-type-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.membership-type-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

    .membership-type-list li {
        font-size: 0.9rem;
        color: #555555;
        line-height: 1.7;
        margin-bottom: 0.75rem;
    }

        .membership-type-list li strong {
            color: var(--aphn-blue);
            font-weight: 600;
        }

    .membership-type-list li:last-child {
        margin-bottom: 0;
    }

.membership-type-badge {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    .membership-type-badge .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        font-weight: 600;
    }

/* Individual vs Institutional Cards */
.membership-ind-inst-card {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.04) 0%, rgba(32, 178, 170, 0.04) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
}

    .membership-ind-inst-card:hover {
        transform: translateX(8px);
        box-shadow: 0 8px 20px rgba(11, 59, 96, 0.12);
    }

.membership-ind-inst-icon {
    font-size: 2.5rem;
    color: var(--aphn-teal);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.membership-ind-inst-title {
    color: var(--aphn-blue);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.membership-ind-inst-text {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1.5rem;
}

.membership-ind-inst-benefits {
    list-style: none;
    padding-left: 0;
}

    .membership-ind-inst-benefits li {
        font-size: 0.9rem;
        color: #555555;
        line-height: 1.7;
        margin-bottom: 0.5rem;
        padding-left: 1.5rem;
        position: relative;
    }

        .membership-ind-inst-benefits li:before {
            content: "→";
            color: var(--aphn-orange);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

/* Membership Fees */
.membership-fees-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.15);
}

.membership-fees-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.membership-fees-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

    .membership-fees-table thead {
        background-color: var(--aphn-blue);
        color: white;
    }

        .membership-fees-table thead th {
            padding: 1rem;
            font-weight: 700;
            text-align: center;
            border: none;
        }

    .membership-fees-table tbody tr {
        border-bottom: 1px solid rgba(11, 59, 96, 0.1);
        transition: background-color 0.2s ease;
    }

        .membership-fees-table tbody tr:hover {
            background-color: rgba(32, 178, 170, 0.08);
        }

        .membership-fees-table tbody td {
            padding: 1rem;
            text-align: center;
            color: #555555;
            font-size: 0.95rem;
        }

            .membership-fees-table tbody td.fees-amount {
                font-weight: 700;
                color: var(--aphn-orange);
                font-size: 1.1rem;
            }

.membership-fee-info-card {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.06) 0%, rgba(32, 178, 170, 0.06) 100%);
    padding: 1.75rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(32, 178, 170, 0.15);
    transition: all 0.3s ease;
}

    .membership-fee-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(11, 59, 96, 0.1);
    }

    .membership-fee-info-card i {
        font-size: 2rem;
        color: var(--aphn-teal);
        margin-bottom: 0.75rem;
        display: block;
    }

    .membership-fee-info-card h6 {
        color: var(--aphn-blue);
        font-weight: 700;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .membership-fee-info-card p {
        font-size: 0.9rem;
        color: #555555;
        line-height: 1.5;
        margin-bottom: 0;
    }

/* Required Documents Cards */
.membership-doc-card {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.07) 0%, rgba(11, 59, 96, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
}

    .membership-doc-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(11, 59, 96, 0.15);
        border-color: var(--aphn-teal);
    }

    .membership-doc-card i {
        font-size: 2.5rem;
        color: var(--aphn-orange);
        margin-bottom: 1rem;
        /*display: block;*/
    }

    .membership-doc-card h5 {
        color: var(--aphn-blue);
        font-weight: 700;
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .membership-doc-card p {
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.6;
        margin-bottom: 0;
    }

/* Application Process */
.membership-process-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.membership-process-card {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.06) 0%, rgba(32, 178, 170, 0.06) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(11, 59, 96, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

    .membership-process-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(11, 59, 96, 0.15);
    }

.membership-process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--aphn-orange);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(230, 81, 0, 0.3);
}

.membership-process-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.membership-process-card p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Membership Benefits Grid */
.membership-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.membership-benefit-card {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.07) 0%, rgba(11, 59, 96, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--aphn-teal);
    transition: all 0.3s ease;
    text-align: center;
}

    .membership-benefit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(11, 59, 96, 0.15);
        border-left-color: var(--aphn-orange);
    }

    .membership-benefit-card i {
        font-size: 2.5rem;
        color: var(--aphn-orange);
        margin-bottom: 1rem;
        /*display: block;*/
    }

    .membership-benefit-card h5 {
        color: var(--aphn-blue);
        font-weight: 700;
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .membership-benefit-card p {
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.6;
        margin-bottom: 0;
    }

/* Code of Conduct */
.membership-coc-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.15);
}

.membership-coc-card {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.03) 0%, rgba(32, 178, 170, 0.03) 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--aphn-orange);
    transition: all 0.3s ease;
}

    .membership-coc-card:hover {
        transform: translateX(8px);
        box-shadow: 0 6px 15px rgba(11, 59, 96, 0.1);
    }

.membership-coc-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

    .membership-coc-title i {
        color: var(--aphn-orange);
    }

.membership-coc-list {
    list-style: none;
    padding-left: 0;
}

    .membership-coc-list li {
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.7;
        margin-bottom: 0.75rem;
        padding-left: 1.75rem;
        position: relative;
    }

        .membership-coc-list li:before {
            content: "✓";
            color: var(--aphn-teal);
            font-weight: bold;
            position: absolute;
            left: 0;
            font-size: 1rem;
        }

    .membership-coc-list li:last-child {
        margin-bottom: 0;
    }

/* Approval Procedure */
.membership-approval-container {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.15);
}

.membership-approval-stage {
    margin-bottom: 2rem;
}

.membership-approval-step {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.03) 0%, rgba(32, 178, 170, 0.03) 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--aphn-teal);
}

.membership-approval-icon {
    font-size: 2.5rem;
    color: var(--aphn-orange);
    margin-bottom: 1rem;
    display: inline-block;
}

.membership-approval-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.membership-approval-text {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.membership-approval-details {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

    .membership-approval-details li {
        background-color: rgba(32, 178, 170, 0.15);
        color: var(--aphn-blue);
        padding: 0.5rem 1rem;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 500;
    }

.membership-approval-divider {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.5rem;
    color: var(--aphn-orange);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.membership-approval-info {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

    .membership-approval-info i {
        font-size: 1.5rem;
        color: #4caf50;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .membership-approval-info p {
        color: #555555;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .membership-types-grid {
        grid-template-columns: 1fr;
    }

    .membership-criteria-card,
    .membership-ind-inst-card,
    .membership-coc-card,
    .membership-approval-step {
        padding: 1.5rem;
    }

    .membership-type-card {
        padding: 0;
    }

    .membership-type-header,
    .membership-type-body {
        padding: 1.5rem;
    }

    .membership-fees-table thead th,
    .membership-fees-table tbody td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .membership-process-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .membership-benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .membership-approval-details {
        flex-direction: column;
        gap: 0.5rem;
    }

        .membership-approval-details li {
            display: block;
        }

    .membership-coc-title {
        font-size: 1rem;
    }

    .membership-paragraph {
        font-size: 0.95rem;
    }

    .membership-process-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ============================================ */
/* MEMBERSHIP TEASER SECTION ON HOME PAGE */
/* ============================================ */

.membership-teaser-section {
    background: linear-gradient(135deg, rgb(24 26 26 / 8%) 0%, #20b2aa 100%);
    padding: 70px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

    .membership-teaser-section::before {
        content: "";
        position: absolute;
        top: 0;
        right: -100px;
        width: 300px;
        height: 300px;
        background: rgba(230, 81, 0, 0.05);
        border-radius: 50%;
        z-index: 0;
    }

.membership-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.membership-teaser-card {
    background: white;
    border-radius: 14px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border-top: 4px solid var(--aphn-teal);
    display: flex;
    flex-direction: column;
}

    .membership-teaser-card:hover {
        box-shadow: 0 12px 35px rgba(11, 59, 96, 0.18);
        transform: translateY(-10px);
        border-top-color: var(--aphn-orange);
    }

.membership-teaser-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.15) 0%, rgba(11, 59, 96, 0.1) 100%);
    color: var(--aphn-teal);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

    .membership-teaser-card:hover .membership-teaser-icon {
        background: linear-gradient(135deg, rgba(230, 81, 0, 0.15) 0%, rgba(230, 81, 0, 0.1) 100%);
        color: var(--aphn-orange);
        transform: scale(1.15) rotate(-10deg);
    }

.membership-teaser-title {
    color: var(--aphn-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Roboto Slab', serif;
}

.membership-teaser-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.membership-teaser-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    text-align: left;
}

    .membership-teaser-benefits li {
        font-size: 0.85rem;
        color: #555;
        line-height: 1.8;
        margin-bottom: 8px;
        padding-left: 0;
    }

        .membership-teaser-benefits li i {
            color: var(--aphn-teal);
            font-size: 0.9rem;
            margin-right: 0.5rem;
        }

    .membership-teaser-benefits li:last-child {
        margin-bottom: 0;
    }

/* Outline button style for APHN Blue */
.btn-outline-aphn-blue {
    color: var(--aphn-blue);
    border: 2px solid var(--aphn-blue);
    background: transparent;
    transition: all 0.3s ease;
}

    .btn-outline-aphn-blue:hover {
        background: var(--aphn-blue);
        color: white;
        border-color: var(--aphn-blue);
    }

/* Responsive Design for Membership Teaser */
@@media (max-width: 768px) {
    .membership-teaser-section {
        padding: 50px 0;
        margin: 30px 0;
    }

        .membership-teaser-section::before {
            width: 200px;
            height: 200px;
            right: -80px;
        }

    .membership-teaser-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .membership-teaser-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .membership-teaser-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .membership-teaser-title {
        font-size: 1.15rem;
    }

    .membership-teaser-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .membership-teaser-benefits li {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

/* ============================================ */
/* GOVERNMENT PARTNERSHIP PAGE STYLES */
/* ============================================ */

/* Partnership Section Styling */
.partnership-section {
    background-color: #ffffff;
    border-radius: 8px;
}

.partnership-intro-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--aphn-teal);
}

.partnership-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

    .partnership-paragraph:last-child {
        margin-bottom: 0;
    }

/* Partnership Grid - 12 Key Areas */
.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.partnership-card {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.06) 0%, rgba(11, 59, 96, 0.04) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--aphn-teal);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .partnership-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(11, 59, 96, 0.15);
        border-left-color: var(--aphn-orange);
    }

.partnership-card-icon {
    font-size: 2.5rem;
    color: var(--aphn-orange);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.partnership-card-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.partnership-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.partnership-card-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .partnership-card-benefits li {
        font-size: 0.85rem;
        color: #666666;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        padding-left: 0;
    }

    .partnership-card-benefits li:last-child {
        margin-bottom: 0;
    }

/* Partnership Benefits Cards */
.partnership-benefit-card {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.03) 0%, rgba(32, 178, 170, 0.03) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(11, 59, 96, 0.1);
    transition: all 0.3s ease;
}

    .partnership-benefit-card:hover {
        transform: translateX(8px);
        box-shadow: 0 8px 20px rgba(11, 59, 96, 0.12);
    }

.partnership-benefit-icon {
    font-size: 2.5rem;
    color: var(--aphn-teal);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.partnership-benefit-title {
    color: var(--aphn-blue);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.partnership-benefit-list {
    list-style: none;
    padding-left: 0;
}

    .partnership-benefit-list li {
        font-size: 0.95rem;
        color: #555555;
        line-height: 1.8;
        margin-bottom: 0.75rem;
        padding-left: 0;
    }

        .partnership-benefit-list li i {
            color: var(--aphn-orange);
            margin-right: 0.5rem;
        }

    .partnership-benefit-list li:last-child {
        margin-bottom: 0;
    }

/* Partnership Framework */
.partnership-framework-container {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(32, 178, 170, 0.15);
}

.partnership-framework-stage {
    margin-bottom: 2rem;
}

.partnership-framework-step {
    background: linear-gradient(135deg, rgba(11, 59, 96, 0.03) 0%, rgba(32, 178, 170, 0.03) 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--aphn-teal);
}

.partnership-framework-icon {
    font-size: 2.5rem;
    color: var(--aphn-orange);
    margin-bottom: 1rem;
    display: inline-block;
}

.partnership-framework-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.partnership-framework-text {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 0;
}

.partnership-framework-divider {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.5rem;
    color: var(--aphn-orange);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Call to Action Card */
.partnership-cta-card {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(11, 59, 96, 0.05) 100%);
    padding: 3rem;
    border-radius: 14px;
    border: 2px solid rgba(32, 178, 170, 0.2);
    text-align: center;
}

.partnership-cta-title {
    color: var(--aphn-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-family: 'Roboto Slab', serif;
}

.partnership-cta-text {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.partnership-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design for Partnership Page */
@@media (max-width: 768px) {
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partnership-card,
    .partnership-intro-card,
    .partnership-benefit-card {
        padding: 1.5rem;
    }

    .partnership-framework-container {
        padding: 1.5rem;
    }

    .partnership-framework-step {
        padding: 1.5rem;
    }

    .partnership-card-icon,
    .partnership-benefit-icon,
    .partnership-framework-icon {
        font-size: 2rem;
    }

    .partnership-card-title,
    .partnership-benefit-title {
        font-size: 1rem;
    }

    .partnership-cta-card {
        padding: 2rem;
    }

    .partnership-cta-title {
        font-size: 1.5rem;
    }

    .partnership-cta-text {
        font-size: 0.95rem;
    }

    .partnership-cta-buttons {
        flex-direction: column;
    }

        .partnership-cta-buttons a {
            width: 100%;
        }

    .partnership-paragraph {
        font-size: 0.95rem;
    }
}

/* ============================================ */
/* PARTNERSHIP TEASER SECTION ON HOME PAGE */
/* ============================================ */

.partnership-teaser-section {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.08) 0%, rgba(11, 59, 96, 0.05) 100%);
    padding: 40px 0;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.partnership-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.partnership-teaser-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(11, 59, 96, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border-top: 3px solid var(--aphn-orange);
    display: flex;
    flex-direction: column;
}

    .partnership-teaser-card:hover {
        box-shadow: 0 12px 35px rgba(11, 59, 96, 0.18);
        transform: translateY(-10px);
        border-top-color: var(--aphn-teal);
    }

.partnership-teaser-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.12) 0%, rgba(11, 59, 96, 0.08) 100%);
    color: var(--aphn-orange);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

    .partnership-teaser-card:hover .partnership-teaser-icon {
        background: linear-gradient(135deg, rgba(32, 178, 170, 0.15) 0%, rgba(32, 178, 170, 0.1) 100%);
        color: var(--aphn-teal);
        transform: scale(1.15) rotate(10deg);
    }

.partnership-teaser-title {
    color: var(--aphn-blue);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    font-family: 'Roboto Slab', serif;
}

.partnership-teaser-text {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Responsive Design for Partnership Teaser */
@@media (max-width: 768px) {
    .partnership-teaser-section {
        padding: 30px 0;
        margin: 20px 0;
    }

    .partnership-teaser-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .partnership-teaser-card {
        padding: 1.25rem 1rem;
        border-radius: 8px;
    }

    .partnership-teaser-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .partnership-teaser-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .partnership-teaser-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Message Popup Component */
.message-popup-container {
    position: relative;
    display: inline-block;
}

.message-popup-trigger {
    transition: all 0.2s ease;
}

.message-popup-trigger:hover {
    background-color: var(--aphn-teal);
    color: white;
    border-color: var(--aphn-teal);
}

.message-popup {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 300px;
    min-height: auto;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.message-popup-container:hover .message-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.message-popup-content {
    padding: 1rem;
}

.message-popup-title {
    font-weight: 600;
    color: var(--aphn-blue);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.message-popup-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.message-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
    transition: color 0.2s ease;
}

.message-popup-close:hover {
    color: #333;
}

/* Healthcare Page Styles */
.healthcare-section {
    margin-bottom: 3rem;
}

.healthcare-intro-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--aphn-teal);
}

.healthcare-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.healthcare-paragraph:last-child {
    margin-bottom: 0;
}

/* Healthcare Services Grid */
.healthcare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.healthcare-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.healthcare-card:hover {
    border-color: var(--aphn-teal);
    box-shadow: 0 8px 16px rgba(32, 178, 170, 0.15);
    transform: translateY(-5px);
}

.healthcare-card-icon {
    font-size: 3rem;
    color: var(--aphn-teal);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background-color: rgba(32, 178, 170, 0.1);
    border-radius: 8px;
}

.healthcare-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--aphn-blue);
    margin-bottom: 1rem;
    margin-top: 0;
}

.healthcare-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
    flex-grow: 1;
}

/* Healthcare Commitment Card */
.healthcare-commitment-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--aphn-orange);
}

.commitment-point {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.commitment-point h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.commitment-point p {
    font-size: 0.95rem;
}

.commitment-point:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Healthcare Page */
@media (max-width: 1200px) {
    .healthcare-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }

    .healthcare-card {
        padding: 1.5rem 1.25rem;
    }

    .healthcare-card-icon {
        font-size: 2.5rem;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .healthcare-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .healthcare-card {
        padding: 1.5rem;
    }

    .healthcare-card-icon {
        font-size: 2.5rem;
        height: 70px;
    }

    .healthcare-card-title {
        font-size: 1.1rem;
    }

    .healthcare-card-text {
        font-size: 0.9rem;
    }

    .healthcare-intro-card {
        padding: 1.5rem;
    }

    .healthcare-commitment-card {
        padding: 1.5rem;
    }

    .commitment-point {
        margin-bottom: 1rem;
    }
}


