/* Header Styles */
.hrau-header {
    width: 100%;
    background-color: #32348e; /* Deep blue background */
    position: relative;
}

.header-container {
    display: flex;
    align-items: stretch; /* Changed from center to stretch for full height items */
    padding: 0;
    max-width: 1200px; /* Set max-width for boxed layout */
    margin: 0 auto;
    height: 60px; /* Fixed height for header */
}

.logo-container {
    background-color: #ffdf00; /* Yellow background for logo */
    padding: 0 25px;
    display: flex;
    align-items: center;
    height: 100%; /* Full height of header */
}

.top-left-logo {
    max-height: 35px; /* Adjusted size */
    max-width: 100%;
    display: block; /* Ensure it's displayed as a block element */
    object-fit: contain; /* Maintain aspect ratio */
}

/* Navigation styles */
.main-nav {
    flex-grow: 1;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-item {
    margin-right: 20px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 5px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffdf00; /* Yellow on hover/active */
}

/* Underline for active/hover navigation items */
.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffdf00;
}

/* Vertical separator */
.nav-separator {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
}

/* Action buttons and search */
.header-actions {
    display: flex;
    align-items: stretch; /* Changed to stretch for full height */
    margin-left: auto;
}

.cta-buttons {
    display: flex;
    align-items: stretch; /* Changed to stretch for full height */
}

.apply-btn, .donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 0 25px;
}

.apply-btn {
    color: white;
}

.apply-btn:hover {
    color: #ffdf00;
}

.donate-btn {
    background-color: #d85050; /* Red background - restored */
    color: white;
    height: 100%; /* Full height of header */
}

.donate-btn:hover {
    background-color: #c82333;
}

.search-container {
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-right: 0;
    height: 100%;
    padding: 0 10px;
}

.search-input {
    background-color: transparent;
    border: 1px solid #d85050; /* Red border to match donate button */
    border-radius: 20px;
    padding: 8px 15px;
    color: white;
    width: 200px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: #ffdf00;
    box-shadow: 0 0 0 2px rgba(255, 223, 0, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Sticky header styles */
.hrau-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.hrau-header.sticky.hide {
    transform: translateY(-100%);
}

/* Mobile Header Elements */
.mobile-header-actions {
    display: none; /* Hidden by default on desktop */
    height: 100%;
}

.mobile-apply-btn, .mobile-donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    padding: 0 15px;
    letter-spacing: 0.5px;
}

/* Set specific background color for mobile donate button */
.mobile-donate-btn {
    background-color: #d85050; /* Red background - ensuring it's applied */
}

.mobile-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 0 15px;
    cursor: pointer;
}

.search-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
}

.search-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
}

.search-icon:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 12px;
    width: 8px;
    height: 2px;
    background-color: white;
    transform: rotate(45deg);
    transform-origin: 0 50%;
}

.mobile-menu-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

.close-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.close-icon:before, .close-icon:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

.close-icon:before {
    transform: rotate(45deg);
}

.close-icon:after {
    transform: rotate(-45deg);
}

/* Mobile search overlay */
.mobile-search-overlay {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #4248a0; /* Slightly lighter blue */
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-search-container {
    position: relative;
}

.mobile-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #ffdf00;
    border-radius: 25px;
    background-color: #32348e;
    color: white;
    font-size: 16px;
    outline: none;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-search-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    margin-right: 15px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .header-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .search-input {
        width: 150px;
    }
}

@media (max-width: 992px) {
    /* Show mobile elements */
    .mobile-header-actions {
        display: flex;
        flex-grow: 1;
    }
    
    .mobile-apply-btn, .mobile-donate-btn {
        flex: 1;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hide desktop elements */
    .header-actions {
        display: none;
    }
    
    /* Adjust header container */
    .header-container {
        flex-wrap: nowrap;
        height: 60px;
        justify-content: space-between;
    }
    
    /* Adjust logo container */
    .logo-container {
        width: auto;
        flex: 0 0 auto;
    }
    
    /* Hide main nav */
    .main-nav {
        position: fixed;
        top: 0;
        right: -280px; /* Start offscreen */
        width: 280px;
        height: 100vh;
        background-color: #32348e;
        z-index: 1050;
        margin-left: 0;
        padding: 60px 0 20px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .main-nav.show {
        right: 0; /* Slide in from right */
    }
    
    .mobile-menu-close {
        display: block;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 0 20px;
    }
    
    .nav-item {
        margin: 15px 0;
        width: 100%;
        height: auto;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 10px 0;
        width: 100%;
        display: block;
    }
    
    /* Mobile search overlay when active */
    .mobile-search-overlay.show {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0;
    }
    
    .logo-container {
        padding: 0 15px;
    }
    
    .mobile-apply-btn, .mobile-donate-btn {
        padding: 0 10px;
        font-size: 13px;
    }
    
    .mobile-search-toggle {
        padding: 0 10px;
    }
}

/* Newsletter Signup Section */
.newsletter-signup {
    background-color: #FFD900; /* Bright yellow background */
    padding: 40px 0;
    margin: 0;
    width: 100%;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
}

.newsletter-text {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    margin-right: 20px;
}

.newsletter-form {
    display: flex;
    flex-grow: 1;
    max-width: 600px;
    gap: 10px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    font-size: 16px;
    min-width: 250px;
    border-radius: 0;
}

.newsletter-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.newsletter-button:hover {
    background-color: #333333;
}

.arrow-icon {
    margin-left: 8px;
    font-weight: bold;
}

/* Newsletter form messages */
.newsletter-message {
    margin-top: 15px;
    padding: 10px 15px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.newsletter-message.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.newsletter-message.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Responsive adjustments for newsletter */
@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .newsletter-text {
        margin-right: 0;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 90%;
    }
    
    .newsletter-input, 
    .newsletter-button {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .newsletter-button {
        width: 100%;
        justify-content: center;
    }
}

/* Hero container styling */
.hero-container {
    position: relative;
    margin-bottom: 2rem;
}

/* ===== Quote and Compact Newsletter Styling ===== */
.hero-intro-block {
    padding: 2rem 0;
}

.quote-container {
    position: relative;
    padding: 0 2rem;
}

.hero-quote-text {
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 400;
    font-style: italic;
    position: relative;
    margin-bottom: 0.5rem;
}

.hero-quote-text::before,
.hero-quote-text::after {
    content: '"';
    font-size: 2.5rem;
    line-height: 0;
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
}

.hero-quote-text::before {
    left: -1.5rem;
    top: 0.5rem;
}

.hero-quote-text::after {
    display: none;
}

.quote-attribution {
    font-size: 1rem;
    font-style: italic;
    text-align: right;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.compact-newsletter {
    margin-top: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-inline-form .input-group {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-inline-form input {
    border: none;
    padding: 0.7rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-inline-form button {
    border: none;
    padding: 0.7rem 1.5rem;
    background-color: #fcdf38;
    color: #242463;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-inline-form button:hover {
    background-color: #f0d01f;
}

/* ===== Horizontal Support Us Section ===== */
.horizontal-support-us {
    background-color: #fcdf38;
    padding: 3.5rem 0;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.horizontal-support-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(36, 36, 99, 0.15);
}

.support-us-container.horizontal {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.support-us-container.horizontal .support-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #242463;
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.support-us-container.horizontal .support-subheading {
    font-size: 1.1rem;
    color: #242463;
    margin-bottom: 0;
    text-align: left;
    opacity: 0.9;
    font-weight: 500;
    text-transform: none;
}

.support-us-container.horizontal .form-controls-wrapper {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #242463;
    transition: all 0.3s ease;
}

.support-us-container.horizontal .form-controls-wrapper:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.support-us-container.horizontal .donation-tabs {
    display: flex;
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.support-us-container.horizontal .tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: #242463;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.support-us-container.horizontal .tab-btn:not(.active) {
    opacity: 0.7;
}

.support-us-container.horizontal .tab-btn.active {
    background-color: #242463;
    color: white;
}

.support-us-container.horizontal .tab-btn:hover:not(.active) {
    background-color: rgba(36, 36, 99, 0.05);
    opacity: 1;
}

.support-us-container.horizontal .donation-form {
    text-align: right;
}

.support-us-container.horizontal .donation-amount {
    background-color: white;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(36, 36, 99, 0.15);
    transition: all 0.3s ease;
}

.support-us-container.horizontal .donation-amount:focus-within,
.support-us-container.horizontal .donation-amount.focused {
    box-shadow: 0 0 0 3px rgba(36, 36, 99, 0.2);
    border-color: #242463;
}

.support-us-container.horizontal .currency-symbol {
    font-size: 1.4rem;
    font-weight: 600;
    color: #242463;
    margin-right: 0.5rem;
}

.support-us-container.horizontal .amount-input {
    border: none;
    padding: 0.5rem;
    width: 120px;
    font-size: 1.4rem;
    text-align: left;
    color: #242463;
    font-weight: 500;
    background: transparent;
}

.support-us-container.horizontal .amount-input:focus {
    outline: none;
}

.support-us-container.horizontal .donate-btn {
    background-color: #242463;
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(36, 36, 99, 0.3);
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.support-us-container.horizontal .donate-btn:hover {
    background-color: #32348e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(36, 36, 99, 0.35);
}

.support-us-container.horizontal .donate-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(36, 36, 99, 0.3);
}

.support-us-container.horizontal .donate-btn .arrow-icon {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.support-us-container.horizontal .donate-btn:hover .arrow-icon {
    transform: translateX(3px);
}

@media (max-width: 1199px) {
    .support-us-container.horizontal {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .support-us-container.horizontal {
        max-width: 720px;
    }
    
    .support-us-container.horizontal .support-heading,
    .support-us-container.horizontal .support-subheading {
        text-align: center;
    }
    
    .support-us-container.horizontal .donation-tabs {
        margin: 0 auto 1.5rem;
    }
    
    .support-us-container.horizontal .donation-form {
        text-align: center;
    }
    
    .support-us-container.horizontal .form-controls-wrapper {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    .horizontal-support-us {
        padding: 2.5rem 0;
    }
    
    .support-us-container.horizontal .form-controls-wrapper {
        border-left: none;
        border-top: 3px solid #242463;
    }
    
    .support-us-container.horizontal .donation-amount {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .support-us-container.horizontal .donate-btn {
        width: 100%;
        max-width: 200px;
    }
} 