/* --- General Body & Typography --- */
:root {
    --primary-color: #005A9C; /* Professional Blue */
    --secondary-color: #4A90E2; /* Lighter Blue */
    --accent-color: #F5A623; /* Warm Accent (Gold/Orange) */
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --background-color: #F4F7F6;
    --container-width: 1200px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--background-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

section {
    padding: 80px 0;
}

/* --- Header --- */
.main-header {
    background: var(--light-text);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 90px;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-text);
    padding: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.donate-button {
    background: var(--accent-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.donate-button:hover {
    background: #e0930f;
}

/* --- Hero Section --- */
.hero-section {
    height: 85vh;
    background: url('hero-image.jpg') no-repeat center center/cover; /* IMPORTANT: Replace with a high-quality photo from Ethiopia */
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background: var(--accent-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background: var(--light-text);
    color: var(--accent-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.cta-button.secondary:hover {
    background: var(--light-text);
    color: var(--dark-text);
}


/* --- About Summary Section --- */
.about-summary {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-summary .tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: -40px;
    margin-bottom: 30px;
}

.vision-box {
    margin: 40px auto 0;
    padding: 30px;
    background: #e9f1f8;
    border-left: 5px solid var(--primary-color);
    max-width: 80%;
    text-align: left;
}

/* --- Impact Section --- */
.impact-section {
    background: var(--primary-color);
    color: var(--light-text);
}

.impact-section h2 {
    color: var(--light-text);
}

.impact-section h2::after {
    background: var(--accent-color);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.impact-card .impact-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    color: var(--accent-color);
}

.impact-card .impact-text {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* --- Thematic Areas Section --- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.area-card {
    background: var(--light-text);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.area-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- Get Involved Section --- */
.get-involved {
    background: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
}
.get-involved h2 {
    color: var(--light-text);
}
.get-involved h2::after {
    background: var(--accent-color);
}
.involved-buttons {
    margin-top: 30px;
}

.involved-buttons .cta-button {
    margin: 0 10px;
}

/* --- Footer --- */
.main-footer {
    background: #2c3e50;
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.footer-column p {
    color: #bdc3c7;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-media a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
    color: #bdc3c7;
}
/* --- General Page Styles --- */
.page-header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    margin: 0;
}
.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
}
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* --- About Page Styles --- */
.content-section {
    padding: 80px 0;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.content-grid.reverse {
    grid-template-columns: 1fr 1fr; /* Reset for explicit ordering */
}
.content-grid.reverse .content-text {
    order: 2;
}
.content-grid.reverse .content-image {
    order: 1;
}
.content-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.values-section {
    background: var(--background-color);
    padding: 80px 0;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.value-item {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid #eee;
}
.value-item i {
    display: block;
    font-size: 2rem;
    margin-bottom: 15px;
}

/* --- Our Work Page Styles --- */
.program-grid-section {
    padding: 80px 0;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.program-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.program-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.program-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.program-card h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}
.program-card p {
    flex-grow: 1; /* Pushes button to the bottom */
}
.read-more-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start; /* Aligns button to the left */
    margin-top: 20px;
}
.read-more-btn:hover {
    text-decoration: underline;
}

/* --- Contact Page Styles --- */
.contact-section {
    padding: 80px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.contact-details ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.contact-details li {
    margin-bottom: 15px;
    font-size: 1rem;
}
.contact-details i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.contact-socials {
    margin-top: 30px;
}
.contact-socials a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 20px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .content-grid, .content-grid.reverse {
        grid-template-columns: 1fr;
    }
    .content-grid.reverse .content-text {
        order: 1; /* Stack in natural order on mobile */
    }
    .content-grid.reverse .content-image {
        order: 2;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
        margin-top: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Get Involved Page Styles --- */
.involved-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 0;
}
.involved-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.involved-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: #e9f1f8;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
}
.involved-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.involved-card p {
    flex-grow: 1;
    margin-bottom: 30px;
}
.involved-card .cta-button {
    width: 80%;
}
.involved-card .cta-button.secondary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.involved-card .cta-button.secondary:hover {
    background: var(--light-text);
    color: var(--primary-color);
}

/* --- Priorities Section --- */
.priorities-section {
    background: var(--background-color);
    padding: 80px 0;
}
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.priority-item {
    text-align: center;
}
.priority-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.priority-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- Impact Stories Page Styles --- */
.stories-grid-section {
    padding: 80px 0;
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}
.story-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.story-card:hover {
    transform: translateY(-5px);
}
.story-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.story-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.story-category {
    background: var(--secondary-color);
    color: var(--light-text);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
    align-self: flex-start;
}
.story-content h3 {
    margin-top: 0;
}
.story-content p {
    flex-grow: 1;
}
.story-content .read-more-btn {
    margin-top: 15px;
}
.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.read-more-btn:hover i {
    transform: translateX(5px);
}
/* --- Donate Page Styles --- */
.donate-section {
    padding: 80px 0;
}
.donate-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: flex-start;
}
.donation-methods h2 {
    text-align: left;
    margin-top: 0;
}
.donation-methods h2::after {
    margin: 15px 0 0; /* Align underline to the left */
}
.method-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}
.method-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}
.method-details h3 {
    margin-top: 0;
}
.method-details ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.method-details li {
    margin-bottom: 5px;
}
.contact-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.donation-impact {
    background: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    position: sticky; /* Keeps it in view on scroll */
    top: 120px;
}
.donation-impact img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}
.donation-impact h3 {
    margin-top: 0;
}
.donation-impact ul {
    list-style: none;
    padding: 0;
}
.donation-impact li {
    margin-bottom: 10px;
}
.donation-impact i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* --- Policy Page Styles --- */
.policy-content {
    padding: 80px 0;
    max-width: 900px; /* Optimal width for reading text */
}
.policy-content h2, .policy-content h3, .policy-content h4 {
    text-align: left;
}
.policy-content h2::after, .policy-content h3::after, .policy-content h4::after {
    margin: 15px 0 20px; /* Align underline to left */
}
.policy-content h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}
.policy-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Responsive adjustments for new pages --- */
@media (max-width: 992px) {
    .donate-grid {
        grid-template-columns: 1fr;
    }
    .donation-impact {
        position: static; /* Remove sticky behavior on mobile */
    }
}
/* --- Fade-in on Scroll Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Program Detail Page Styles --- */
.program-detail-section {
    padding: 80px 0;
}
.program-detail-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
}
.program-main-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}
.activities-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.activities-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.activities-list i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}
blockquote {
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.2rem;
}
blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
}
.sidebar-widget {
    background: var(--background-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.sidebar-widget h4 {
    margin-top: 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}
.program-links {
    list-style: none;
    padding: 0;
}
.program-links li a {
    text-decoration: none;
    color: var(--dark-text);
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}
.program-links li a:hover, .program-links li a.active {
    color: var(--primary-color);
}
.get-involved-widget {
    background: var(--primary-color);
    color: var(--light-text);
}
.get-involved-widget .cta-button {
    width: 100%;
    text-align: center;
    background: var(--accent-color);
    border-color: var(--accent-color);
}
.get-involved-widget .cta-button:hover {
    background: var(--light-text);
    color: var(--accent-color);
}


/* --- Responsive Mobile Menu & Header --- */
.header-right {
    display: flex;
    align-items: center;
}
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
/* Hamburger icon animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 992px) {
    .program-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    .main-nav a {
        font-size: 1.5rem;
        padding: 20px;
    }
    .menu-toggle {
        display: block;
    }
    .donate-button {
        display: none; /* Hide in header on mobile, present in menu */
    }
    .main-header .container {
        justify-content: space-between;
    }
}
/* --- Story Detail Page Styles --- */
.story-detail-section {
    padding: 80px 0;
    background: #fff;
}
.story-content-area {
    max-width: 800px;
    margin: 0 auto;
}
.story-content-area h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}
.story-meta {
    margin-bottom: 30px;
    color: #777;
    font-weight: 600;
}
.story-meta span {
    margin-right: 20px;
}
.story-meta i {
    color: var(--primary-color);
    margin-right: 8px;
}
.story-main-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}
.story-body .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 25px;
}
.story-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}
.social-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
}
.social-share strong {
    margin-right: 15px;
}
.social-share a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-share a:hover {
    color: var(--primary-color);
}

/* --- Contact Form Messages --- */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}
.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Partners Section Styles --- */
.partners-section {
    padding: 80px 0;
    background: var(--background-color);
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}
.partner-logo {
    flex-basis: 150px;
    text-align: center;
}
.partner-logo img {
    max-width: 100%;
    filter: grayscale(100%); /* Makes logos uniform */
    opacity: 0.7;
    transition: all 0.3s ease;
}
.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
/* --- Header Top Bar --- */
.top-bar {
    background: var(--primary-color);
    padding: 8px 0;
}
.top-bar .container {
    text-align: right;
}
.login-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.login-link:hover {
    opacity: 1;
}
.login-link i {
    margin-right: 5px;
}
.main-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
/* Adjust original header to remove background */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- Login Page Styles --- */
.login-section {
    padding: 80px 0;
    background: var(--background-color);
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.login-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}
.login-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.login-header {
    text-align: center;
    margin-bottom: 30px;
}
.login-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: #e9f1f8;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
}
.login-header h2 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.8rem;
}
.input-with-icon {
    position: relative;
}
.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}
.login-form input[type="text"],
.login-form input[type="password"] {
    padding-left: 40px;
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.remember-me {
    font-size: 0.9rem;
}
.forgot-password {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-decoration: none;
}
.login-form .cta-button {
    width: 100%;
}


/* --- Vacancy Listing Page Styles --- */
.vacancy-listing-section {
    padding: 80px 0;
}
.vacancy-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}
.vacancy-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.vacancy-item h3 {
    margin: 0 0 10px;
}
.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #555;
    font-weight: 600;
}
.vacancy-meta i {
    margin-right: 8px;
    color: var(--primary-color);
}
.vacancy-action .cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.vacancy-action .cta-button.secondary:hover {
    background: var(--primary-color);
    color: #fff;
}


/* --- Vacancy Detail Page Styles --- */
.vacancy-detail-section {
    padding: 80px 0;
}
.vacancy-detail-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
}
.vacancy-detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.vacancy-body h2 {
    text-align: left;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-top: 40px;
}
.vacancy-body h2::after {
    display: none; /* remove global underline style */
}
.vacancy-body ul {
    padding-left: 20px;
}
.vacancy-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}
.apply-widget {
    background: var(--background-color);
    padding: 25px;
    border-radius: 8px;
    position: sticky;
    top: 120px;
}
.apply-widget .cta-button {
    width: 100%;
    text-align: center;
}
.application-note {
    font-size: 0.9rem;
    color: #555;
    margin-top: 15px;
}
/* --- Gallery Page Styles --- */
.gallery-section {
    padding: 80px 0;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item::after {
    content: '\f00e'; /* Font Awesome search-plus icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-size: 2.5rem;
    background: rgba(0, 90, 156, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
}
.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- Video Gallery Styles --- */
.video-gallery-section {
    padding: 80px 0;
    background: var(--background-color);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-item h3 {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-color);
}


/* --- Lightbox Styles --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: block;
    animation: zoomIn 0.5s;
}
@keyframes zoomIn {
    from {transform: scale(0.5);}
    to {transform: scale(1);}
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.lightbox-close:hover {
    color: #bbb;
}
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}
.lightbox-next {
    right: 0;
}
.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
