/* Custom CSS for IFERB Website */

/* ============================================
   GREYCLIFF ARABIC CF FONT FAMILY
   ============================================ */


/* Apply greycliff-cf to body and all text */
body {
    font-family: 'greycliff-cf', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* Apply greycliff-cf to Arabic text with proper features */
.arabic-text {
    font-family: 'greycliff-cf', Arial, sans-serif;
    font-feature-settings: 'liga' 1, 'kern' 1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p {
    font-family: 'greycliff-cf', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}
a:hover {
   color: initial !important;
}
.footer a:hover, .footer a:focus {
    color: #ffffff !important;
}
/* Header and Footer Container */
/* Full width with padding, but max-width 1600px when viewport is wider */
.header-footer-container {
    width: 100%;
    max-width: 1600px;
}
.wrapper-container {
    max-width: 1600px;
    margin: 0 auto;
}


#bot-chat {
    bottom: 25px !important;
    right: 20px !important;
    background-color: #8F2825 !important;
    border: 1.5px solid #ffffff75 !important;
}
/* Logo Box Styling */
.logo-box {
    border-width: 1px;
    display: inline-flex;
}

/* Stick Figures Grid */
.stick-figures-grid {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stick-figure {
    width: 14px;
    height: 14px;
    background: transparent;
    position: relative;
}

/* Head (circle) */
.stick-figure::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #DC2626;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Body and arms (T-shape) */
.stick-figure::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background-color: #DC2626;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 
        -3px 0 0 0 #DC2626,
        3px 0 0 0 #DC2626;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Custom card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer Styling */
.footer-dark-red {
    background-color: #94292E;
}

/* Footer Logo Box */
.footer-logo-box {
    border-width: 1px;
    display: inline-flex;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .footer-logo-box {
        display: flex;
        width: 100%;
    }
}

/* Footer Stick Figures (red color) */
.stick-figure-footer {
    width: 14px;
    height: 14px;
    background: transparent;
    position: relative;
}

.stick-figure-footer::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #DC2626;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.stick-figure-footer::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background-color: #DC2626;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 
        -3px 0 0 0 #DC2626,
        3px 0 0 0 #DC2626;
}

/* Social Media Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background-color: #ac3a45;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Footer Layout */
.footer-main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-main-content {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-main-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 4rem;
    }
}

.footer-left-column {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-left-column {
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .footer-left-column {
        max-width: 400px;
        flex: 0 0 400px;
    }
}

.footer-right-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 640px) {
    .footer-right-columns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .footer-right-columns {
        gap: 2.5rem;
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .footer-right-columns {
        flex: 1;
        justify-content: flex-end;
        gap: 8rem;
        flex-wrap: nowrap;
    }
}

/* Footer responsive text and spacing */
.footer-left-column p {
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .footer-left-column p {
        font-size: 0.9rem;
    }
}

.footer-right-columns h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .footer-right-columns h4 {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
}

.footer-right-columns ul {
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-right-columns ul {
        font-size: 0.9rem;
    }
}

/* Footer logo box responsive */
.footer-logo-box {
    max-width: 100%;
}

@media (max-width: 639px) {
    .footer-logo-box {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-logo-box .brand-name {
        flex: 1;
        min-width: 0;
    }
    
    .footer-logo-box .brand-name span {
        font-size: 0.7rem;
        word-break: break-word;
    }
    
    .footer-logo-box .brand-name span:last-child {
        font-size: 0.8rem;
    }
    
    .footer-logo-box .stick-figures-grid {
        flex-shrink: 0;
    }
}

/* Social icons responsive */
.social-icon {
    width: 36px;
    height: 36px;
}

@media (min-width: 640px) {
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Bottom footer section responsive */
footer .border-t {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    footer .border-t {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
}

footer .border-t > div {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    footer .border-t > div {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

footer .border-t p,
footer .border-t a {
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    footer .border-t p,
    footer .border-t a {
        font-size: 0.875rem;
    }
}

footer .border-t > div > div {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    footer .border-t > div > div {
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: nowrap;
    }
}

/* Prevent horizontal overflow on mobile */
footer {
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-dark-red {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.header-footer-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure footer columns don't overflow on tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer-right-columns > div {
        flex: 1 1 calc(33.333% - 1.5rem);
        min-width: 0;
    }
    
    .footer-right-columns > div:last-child {
        flex: 1 1 100%;
        margin-top: 1rem;
    }
}

/* iPhone specific fixes */
@media (max-width: 480px) {
    .footer-main-content {
        gap: 1.5rem;
    }
    
    .footer-right-columns {
        gap: 1.5rem;
    }
    
    .footer-right-columns h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-right-columns ul {
        font-size: 0.8rem;
    }
    
    .footer-left-column p {
        font-size: 0.8rem;
    }
}

/* Hero/Banner Section */
.hero-banner {
    background:url('/themes/iferbthree/assets/images/banner-bg.png') no-repeat center center;
    background-size: 100% 100%;
    position: relative;
    padding-bottom: 0;
}

/* Curved Bottom Edge */
/* .hero-curve {
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #94292E;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: translateY(50%);
} */

/* Hero Headline */
.hero-headline {
    line-height: 1.2;
}

.hero-highlight {
    color: #F59E0B; /* Vibrant orange/gold color */
}

/* Hero Button */
.hero-button {
    border-width: 2px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    transform: translateX(4px);
}

.hero-button svg {
    transition: transform 0.3s ease;
}

.hero-button:hover svg {
    transform: translateX(4px);
}

/* Hero Image Container */
.hero-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-container img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
}

/* Responsive adjustments for hero section */
@media (max-width: 1024px) {
    .hero-curve {
        height: 40px;
    }
}

@media (max-width: 640px) {
    .hero-curve {
        height: 30px;
    }
    
    .hero-image-container img {
        min-height: 300px;
    }
}

/* Explore Resource Categories Section */
.category-card {
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    min-height: 200px;
    justify-content: center;
    width: 200px;
}

/* Card Background Colors */
.category-card-beige {
    background-color: #F5F5DC; /* Creamy beige */
}

.category-card-pink {
    background-color: #FFE5D9; /* Light pink/peach */
}

.category-card-green {
    background-color: #D4EDDA; /* Light lime green */
}

.category-card-purple {
    background-color: #E6D5F7; /* Light purple/lavender */
}

/* Category Icon Container */
.category-icon {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Icon Background Colors */
.category-icon-orange {
    background-color: #FF6B35; /* Bright orange */
}

.category-icon-coral {
    background-color: #FF8C69; /* Coral/orange */
}

.category-icon-olive {
    background-color: #6B8E23; /* Olive green */
}

.category-icon-maroon {
    background-color: #800020; /* Dark red/maroon */
}

.category-icon-dark-purple {
    background-color: #6A0DAD; /* Dark purple */
}

/* Category Title */
.category-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 0;
    transition: all 0.3s ease;
}

/* Hover Effects */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card:hover {
    color: #8B202B !important;
    font-weight: 700;
}

/* Specific hover effects for each card type */
.category-card-beige:hover {
    background-color: #F0F0D0;
}

.category-card-pink:hover {
    background-color: #FFD9C9;
}

.category-card-green:hover {
    background-color: #C3E6CB;
}

.category-card-purple:hover {
    background-color: #D9B8F0;
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .category-card {
        min-height: 180px;
        padding: 20px 16px;
    }
    
    .category-icon {
        width: 56px;
        height: 56px;
    }
    
    .category-title {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .category-card {
        min-height: 140px;
        padding: 15px 8px;
        width: auto;
        border-radius: 8px;
        justify-content: flex-start;
        align-items: center;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    .category-icon img {
        width: 35px;
        height: auto;
    }
    
    .category-title {
        font-size: 15px;
    }
}

/* ============================================
   CHATBOT SECTION - Easy to Copy
   ============================================ */

/* Chatbot Section Container */
.chatbot-section {
    background-color: white;
}

/* Chatbot Header */
.chatbot-header {
    margin-bottom: 3rem;
}

.chatbot-title {
    color: #DC2626;
    font-weight: 700;
    margin-bottom: 1rem;
}

.chatbot-subtitle {
    color: #374151;
}

/* Chatbot Process Panel */
.chatbot-process-panel {
    background-color: #F3F4F6;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .chatbot-process-panel {
        padding: 3rem;
    }
}

/* Chatbot Steps Wrapper */
.chatbot-steps-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .chatbot-steps-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 3rem;
    }
}

/* Chatbot Arrow */
.chatbot-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 0.5rem;
}

@media (min-width: 1024px) {
    .chatbot-arrow {
        display: flex;
        margin-top: 32px; /* Align with icon center (64px icon / 2 = 32px) */
    }
}

.chatbot-arrow svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Individual Step */
.chatbot-step {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.chatbot-step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    padding: 5px;
    margin: 0;
}

.chatbot-step-icon svg {
    width: 100%;
    height: 100%;
}

.chatbot-step-text {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    margin-top: 1rem;
    line-height: 1.6;
    text-align: left;
    max-width: 200px;
}

/* Chatbot CTA Section */
.chatbot-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .chatbot-cta {
        flex-direction: row;
    }
}

.chatbot-cta-text {
    color: #DC2626;
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .chatbot-cta-text {
        font-size: 1.5rem;
        text-align: left;
    }
}

/* Chatbot Button */
.chatbot-button {
    background-color: #94292E;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.chatbot-button:hover {
    background-color: #6B1A1F;
    transform: translateX(4px);
}

.chatbot-button svg {
    transition: transform 0.3s ease;
}

.chatbot-button:hover svg {
    transform: translateX(4px);
}

/* ============================================
   EDUCATING THE WORLD SECTION
   ============================================ */

/* Section Background with Gradient */
.educating-section {
    background:url('/themes/iferbthree/assets/images/red-gredient-bg.png') no-repeat center center;
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header */
.educating-header {
    margin-bottom: 3rem;
}

.educating-title {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    font-size: 28px;
}

@media (min-width: 768px) {
    .educating-title {
        font-size: 38px;
    }
}

@media (min-width: 1024px) {
    .educating-title {
        font-size: 38px;
    }
}

.educating-subtitle {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Main Content */
.educating-content {
    margin-bottom: 3rem;
}

/* Circle Container */
.educating-circle-container {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}

.educating-circle-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Large Red Circle */
.educating-main-circle {
    width: 180px;
    height: 180px;
    background-color: #DC2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .educating-main-circle {
        width: 200px;
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .educating-main-circle {
        width: 220px;
        height: 220px;
    }
}

/* Logo Box inside Circle */
.educating-logo-box {
    background: white;
    border: 1px solid #DC2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    max-width: 150px;
}

@media (min-width: 768px) {
    .educating-logo-box {
        padding: 0.875rem 1.125rem;
        gap: 0.75rem;
        max-width: 160px;
    }
}

@media (min-width: 1024px) {
    .educating-logo-box {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
        max-width: 170px;
    }
}

/* Floating Icons */
.educating-floating-icon {
    position: absolute;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.educating-floating-icon-left {
    left: -15px;
    top: 50%;
    animation-delay: 0s;
}

.educating-floating-icon-right {
    right: -15px;
    top: 50%;
    animation-delay: 1.5s;
}

@media (min-width: 768px) {
    .educating-floating-icon-left {
        left: -20px;
    }
    
    .educating-floating-icon-right {
        right: -20px;
    }
}

@media (min-width: 1024px) {
    .educating-floating-icon-left {
        left: -30px;
    }
    
    .educating-floating-icon-right {
        right: -30px;
    }
}

.educating-floating-circle {
    width: 50px;
    height: 50px;
    border: 2px solid #F59E0B;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.educating-floating-circle svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 1024px) {
    .educating-floating-circle {
        width: 60px;
        height: 60px;
    }
    
    .educating-floating-circle svg {
        width: 24px;
        height: 24px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-10px);
    }
}

/* Statistics Cards */
.educating-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}
.educating-stats-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.educating-stat-card {
    background: rgba(139, 32, 43, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #b05555;
}

.educating-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.educating-stat-number {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .educating-stat-number {
        font-size: 3rem;
    }
}

.educating-stat-label {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #F59E0B;
    margin-top: 0.5rem;
}

/* CTA Section */
.educating-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.educating-cta-text {
    flex: 1;
}

.educating-cta-title {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    font-size: 22px;
    text-align: center;
}

@media (min-width: 768px) {
    .educating-cta-title {
        font-size: 32px;
        text-align: left;
    }
}

.educating-cta-desc {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
}

.educating-cta-button {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.educating-cta-button:hover {
    transform: translateX(4px);
}

.educating-cta-button svg {
    transition: transform 0.3s ease;
}

.educating-cta-button:hover svg {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .educating-circle-container {
        margin-bottom: 2rem;
    }
    
    .educating-floating-icon {
        display: none;
    }
}

@media (max-width: 767px) {
    .educating-main-circle {
        width: 160px;
        height: 160px;
    }
    
    .educating-logo-box {
        padding: 0.625rem 0.875rem;
        max-width: 140px;
        gap: 0.5rem;
    }
    
    .educating-circle-container {
        min-height: 160px;
    }
}

@media (max-width: 640px) {
    .educating-title {
        font-size: 2rem;
    }
    
    .educating-main-circle {
        width: 150px;
        height: 150px;
    }
    
    .educating-logo-box {
        padding: 0.5rem 0.75rem;
        max-width: 130px;
    }
    
    .educating-stat-number {
        font-size: 2rem;
    }
    
    .educating-header {
        margin-bottom: 2rem;
    }
    
    .educating-content {
        margin-bottom: 2rem;
    }
    
    .educating-cta {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* ============================================
   SEARCH FOR RESOURCES SECTION
   ============================================ */

/* Search Resources Section */
.search-resources-section {
    background-color: rgba(255, 255, 255, 0);
    position: relative;
    z-index: 10;
    width: 90%;
    margin: 0 auto;
    margin-top: -12%; /* Overlap with hero curve */
}

/* Search Banner */
.search-banner {
    background-color: #8B202B;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.search-banner h2 {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 700;
    margin: 0;
}

/* Search Card */
.search-card {
    background-color: white;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
}

.search-card p {
    font-family: 'greycliff-cf', sans-serif;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Search Form */
.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .search-form {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Search Dropdown */
.search-dropdown {
    appearance: none;
    background-color: #FFC635;
    color: #000;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 500;
    font-size: 18px;
    width: 100%;
    min-width: 200px;
    transition: all 0.2s ease;
}

.search-dropdown:hover {
    background-color: #FFD966;
}

.search-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 2px #DC2626;
}

.search-dropdown option {
    background-color: white;
    color: #000;
    padding: 0.5rem;
}

/* Dropdown Arrow Container - handled by inline classes in template */

/* Search Button */
.search-button {
    background-color: #DC2626;
    color: white;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-button:hover {
    background-color: #B91C1C;
    transform: scale(1.05);
}

.search-button:active {
    transform: scale(0.95);
}

.search-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #DC2626, 0 0 0 4px rgba(220, 38, 38, 0.2);
}

@media (min-width: 768px) {
    .search-button {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .search-card {
        padding: 1.25rem 1.5rem;
    }
    
    .search-form {
        gap: 1rem;
    }
    
    .search-dropdown {
        width: 100%;
        min-width: 100%;
    }
    
    .search-button {
        align-self: flex-end;
    }
    .search-resources-section {
        margin-top: -25%;
    }
}

@media (max-width: 640px) {
    .search-banner {
        padding: 0.875rem 1.25rem;
    }
    
    .search-banner h2 {
        font-size: 1.125rem;
    }
    
    .search-card {
        padding: 1rem 1.25rem;
    }
    
    .search-card p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
    
    .search-dropdown {
        font-size: 0.9375rem;
        padding: 0.625rem 2.25rem 0.625rem 0.875rem;
    }
}

/* ============================================
   AWARDS & RECOGNITION SECTION
   ============================================ */

/* Awards Section Container */
.awards-section {
    background-color: white;
}

/* Awards Header */
.awards-header {
    margin-bottom: 3rem;
}

.awards-title {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .awards-title {
        font-size: 38px;
    }
}

.awards-subtitle {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 400;
    color: #000000;
}

/* Awards Swiper Container */
.awards-swiper {
    width: 100%;
    padding-bottom: 30px;
    overflow: hidden;
}

.awards-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.awards-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Award Card */
.award-card {
    background: white;
    border: 1px solid #D32737;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 380px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Award Image Container */
.award-image-container {
    width: 100%;
    max-width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.award-image-container .field-type-image {
    max-height: 100%;
}

.award-image-container img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: initial !important;
    object-fit: contain;
}

/* Award Placeholder (for missing images) */
.award-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
}

.award-placeholder-content {
    text-align: center;
}

.award-placeholder-icon {
    font-size: 64px;
    margin-bottom: 0.5rem;
}

.award-placeholder-text {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

/* Award Content */
.award-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
}

.award-name {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    max-width: 300px;
    margin: auto;
}

@media (min-width: 768px) {
    .award-name {
        font-size: 22px;
        line-height: 34px;
    }
}

.award-category {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.award-location {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-top: auto;
}

/* Awards Pagination */
.awards-pagination {
    position: relative;
    margin-top: 2rem;
    bottom: 0 !important;
}

.awards-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #D32737;
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.awards-pagination .swiper-pagination-bullet-active {
    background: #D32737;
    transform: scale(1.2);
}

.awards-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    background: #E5E5E5;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .award-card {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .award-image-container {
        height: 200px;
        margin-bottom: 0.5rem;
    }
    
    .award-name {
        font-size: 18px;
    }
    
    .award-location {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .awards-title {
        font-size: 28px;
    }
    
    .awards-subtitle {
        font-size: 16px;
    }
    
    .award-card {
        min-height: 320px;
        padding: 1.25rem;
    }
    
    .award-image-container {
        height: 200px;
    }
}

/* ============================================
   VOICES FROM THE FIELD SECTION
   ============================================ */

/* Voices Section Container */
.voices-section {
    background-color: white;
}
.views-element-container {
    margin: 0px !important;
}
/* Voices Header */
.voices-header {
    margin-bottom: 3rem;
}

.voices-title {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .voices-title {
        font-size: 38px;
    }
}

.voices-subtitle {
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 400;
    color: #000000;
}

/* Voices Swiper Container */
.voices-swiper {
    width: 100%;
    padding-bottom: 50px;
    overflow: hidden;
}

.voices-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.voices-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Testimonial Card */
.testimonial-card {
    background: #F4F5F7;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

/* Testimonial Quote Icon */
.testimonial-quote-icon {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    z-index: 1;
    line-height: 1;
    font-family: 'greycliff-cf', Arial, sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: #D32737;
    line-height: 0.8;
    opacity: 1;
}

/* Testimonial Content */
.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 2.5rem;
    width: 100%;
}

.testimonial-text {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

@media (min-width: 768px) {
    .testimonial-text {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Testimonial Attribution */
.testimonial-attribution {
    margin-top: auto;
    padding-top: 1rem;
}

.testimonial-name {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #8F2825;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .testimonial-name {
        font-size: 15px;
    }
}

.testimonial-role {
    font-family: 'greycliff-cf', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .testimonial-role {
        font-size: 15px;
    }
}

/* Voices Pagination */
.voices-pagination {
    position: relative;
    margin-top: 2rem;
    bottom: 0 !important;
}

.voices-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #D32737;
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.voices-pagination .swiper-pagination-bullet-active {
    background: #D32737;
    transform: scale(1.2);
}

.voices-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    background: #E5E5E5;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonial-card {
        min-height: 280px;
        padding: 1.5rem;
    }
    
    .testimonial-quote-icon {
        top: 1.5rem;
        left: 1.5rem;
        font-size: 60px;
    }
    
    .testimonial-content {
        padding-top: 3rem;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .testimonial-name {
        font-size: 16px;
        color: #8F2825;
        font-weight: 700;
    }
    
    .testimonial-role {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .voices-title {
        font-size: 28px;
    }
    
    .voices-subtitle {
        font-size: 16px;
    }
    
    .testimonial-card {
        min-height: 260px;
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .testimonial-name {
        font-size: 15px;
        color: #8F2825;
        font-weight: 700;
    }
    
    .testimonial-role {
        font-size: 13px;
    }
}

/* Mobile Menu Styles */
#mobile-menu-button {
    z-index: 1000;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
    touch-action: manipulation;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

#mobile-menu-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

#mobile-menu-button:hover {
    opacity: 0.8;
}

#mobile-menu {
    z-index: 999;
    position: relative;
}

#mobile-menu.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    #mobile-menu:not(.hidden) {
        display: block !important;
    }
    
    #mobile-menu-button {
        display: block !important;
    }
}
.user-login-form {
    padding: 50px 0 !important;
}
.user-login-form .form-submit {
    margin-top: 20px !important;
}
.user-login-form  .js-form-item {
    margin-bottom: 50px !important;
}
.user-login-form  .js-form-item  label {
    font-size: 18px !important;
    font-weight: 600 !important;
}
.user-login-form  .js-form-item  input {
    margin-bottom: 5px !important;
}
.path-user .callout {
    padding: 0px !important;
}

.rich-text p { margin-bottom: 0.5rem !important; }
.rich-text ul { list-style: disc !important; padding-left: 1.5rem !important; margin-bottom: 1rem !important; }
.rich-text li { margin-bottom: 0.5rem !important; }
.rich-text .h1, .rich-text .h2, .rich-text .h3, .rich-text .h4, .rich-text .h5, .rich-text .h6, .rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4, .rich-text h5, .rich-text h6 {
   font-weight: 700;
}

/* PDF Thumbnail Active Border */
.pdf-thumbnail-wrapper.active-thumbnail {
    border: 2px solid #A51C30 !important;
}

/* @media (max-width: 991px) { */
    .view-less-btn, .view-less-btn-c {
        display: none !important;
    }
/* } */
/* @media (min-width: 992px) {
    .view-less-btn-mobile, .view-less-btn-c-mobile {
        display: none !important;
    }
} */

.media-hub-search-btn {
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'greycliff-cf';
}