/* Color Scheme */
:root {
    --primary: #004080;
    --secondary: #0066cc;
    --accent: #CE1126; /* Yemen flag red */
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* Base Styles - Mobile First */
* { 
    margin:0; 
    padding:0; 
    box-sizing: border-box; 
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    line-height: 1.6; 
    color: var(--dark);
    background-color: #f5f5f5;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section { 
    padding: 40px 15px; 
}

h1, h2, h3, h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.6rem;
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto;
    border-radius: 2px;
}

.arabic-title {
    font-family: 'Scheherazade New', serif;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* Welcome bar */
.welcome-bar {
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-weight: bold;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    font-size: 0.9rem;
}

.welcome-bar span {
    display: inline-block;
    padding-left: 100%;
    animation: moveText 25s linear infinite;
}

@keyframes moveText {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Header - Mobile First */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary);
    color: white;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

header img { 
    height: 80px; 
    margin-bottom: 10px;
    border-radius: 5px;
}

header h1 {
    color: white;
    font-size: 1.4rem;
    text-align: center;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
}

nav a:hover, 
nav a.active { 
    color: #ffd700; 
    background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(161, 174, 188, 0.85), rgba(116, 143, 157, 0.85)), url('daralhajar.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 0;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Mobile Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: 50vh;
        background: linear-gradient(rgba(0, 64, 128, 0.85), rgba(0, 102, 204, 0.85)), url('daralhajar.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
        min-height: 40vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}


.hero {
    background: linear-gradient(rgba(161, 174, 188, 0.6), rgba(116, 143, 157, 0.6)), 
                url('daralhajar.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(1.1) contrast(1.1);
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(rgba(0, 64, 128, 0.5), rgba(0, 102, 204, 0.5)), 
                    url('daralhajar.jpg');
        filter: brightness(1.1) contrast(1.1);
    }
}






/* For mobile version */
@media (max-width: 768px) {
    .hero {
        background: linear-gradient(rgba(0, 64, 128, 0.7), rgba(0, 102, 204, 0.7)), 
                    url('daralhajar.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: brightness(1.2);
    }
}


/* Info Bar - Mobile Optimized */
#info-bar {
    background-color: var(--primary);
    color: white;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.9rem;
}

#info-bar > div {
    padding: 5px 0;
}

/* Sections Background */
#about { 
    background-color: var(--light); 
}

#news { 
    background-color: white; 
}

#resources { 
    background-color: #f0f8ff; 
}

#events { 
    background-color: #f0f0f0; 
}

#contact { 
    background-color: #fff8f0; 
}

/* Buttons - Touch Friendly */
.btn {
    display: inline-block;
    padding: 14px 25px;
    margin: 8px 5px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1rem;
    min-height: 48px; /* Minimum touch target size */
    line-height: 1.2;
}

.btn:hover { 
    background-color: var(--secondary); 
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* News Section - Mobile Grid */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-img {
    height: 160px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-source {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Resources Section - Mobile Layout */
.resources-columns {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
}

.resources-columns ul {
    list-style-type: none;
    padding-left: 0;
}

.resources-columns li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.resources-columns li:before {
    content: "•";
    color: var(--accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.resources-columns a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    word-break: break-word;
}

.resources-columns a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Events Section - Mobile Layout */
.events-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.event-date {
    background: var(--accent);
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Contact Form - Mobile Optimized */
form { 
    max-width: 100%; 
    margin: 25px auto 0; 
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1rem;
}

input, textarea, select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
    background: #fff;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 15px;
    background-color: var(--primary);
    color: white;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255,255,255,0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tablet Styles */
@media (min-width: 768px) {
    body {
        font-size: 17px;
    }
    
    section { 
        padding: 60px 20px; 
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .logo-title {
        flex-direction: row;
        text-align: left;
        margin-bottom: 0;
    }
    
    header img { 
        height: 100px; 
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    header h1 {
        font-size: 1.6rem;
        text-align: left;
    }
    
    .arabic-title {
        font-size: 1.8rem;
    }
    
    nav {
        width: auto;
        flex-wrap: nowrap;
    }
    
    nav a {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
    }
    
    #info-bar {
        flex-direction: row;
        justify-content: space-around;
        text-align: left;
        font-size: 1rem;
        padding: 15px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .resources-columns {
        flex-direction: row;
        gap: 30px;
    }
    
    .events-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    form {
        max-width: 600px;
        padding: 30px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .events-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* Very small mobile devices */
@media (max-width: 360px) {
    .hero {
        padding: 40px 15px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    nav a {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
}



/* Extra small mobile devices */
@media (max-width: 480px) {
    header {
        padding: 8px 10px;
    }
    
    .logo-title {
        flex-direction: column;
        text-align: center;
    }
    
    header img { 
        height: 40px; /* Even smaller logo */
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    header h1 {
        font-size: 1rem;
    }
    
    .arabic-title {
        font-size: 0.9rem;
    }
    
    nav {
        gap: 3px;
    }
    
    nav a {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    /* Reduce welcome bar height */
    .welcome-bar {
        padding: 8px 0;
        font-size: 0.8rem;
    }
}

/* Canada-Yemen Section Mobile Styles */
.canada-yemen-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.canada-yemen-image {
    flex-shrink: 0;
}

.canada-yemen-image img {
    height: 150px;
    border-radius: 8px;
    width: auto;
    object-fit: cover;
}

.canada-yemen-text h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.canada-yemen-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .canada-yemen-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .canada-yemen-image img {
        height: 120px;
        max-width: 100%;
    }
    
    .canada-yemen-text h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .canada-yemen-text p {
        font-size: 0.95rem;
        margin-bottom: 12px;
        text-align: left;
    }
    
    #canada-yemen .card {
        padding: 20px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .canada-yemen-image img {
        height: 100px;
    }
    
    .canada-yemen-text h3 {
        font-size: 1.1rem;
    }
    
    .canada-yemen-text p {
        font-size: 0.9rem;
    }
    
    #canada-yemen .card {
        padding: 15px;
    }
}

/* Center the buttons in About section */
#about .card > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

/* For larger screens, display buttons side by side but still centered */
@media (min-width: 768px) {
    #about .card > div {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Canada-Yemen Images Layout */
.canada-yemen-images {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.canada-yemen-image img {
    height: 150px;
    width: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Mobile Responsive Hero - No blue overlay */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: 50vh;
        background: url('daralhajar.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: brightness(1.1);
    }
    
    .hero h1 {
        font-size: 2rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }
    
    .hero p {
        font-size: 1.1rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
        min-height: 40vh;
        background: linear-gradient(rgba(0, 64, 128, 0.4), rgba(0, 102, 204, 0.4)), url('daralhajar.jpg');
        filter: brightness(1.15); /* More brightness on very small screens */
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}




/* Add this CSS to your style.css for the event source */
.event-source {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.loading-events, .no-events {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
    grid-column: 1 / -1;
}




/* Center events container */
.events-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* For larger screens */
@media (min-width: 768px) {
    .events-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        justify-items: center;
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Event cards */
.event-card {
    width: 100%;
    max-width: 350px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.loading-events, .no-events {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
    width: 100%;
}




/* Mobile event buttons - larger touch targets */
.event-btn {
    padding: 12px 20px !important;
    font-size: 1rem !important;
    min-height: 44px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile event cards */
@media (max-width: 767px) {
    .event-card {
        margin: 0 10px; /* Add some side margin */
        max-width: calc(100% - 20px);
    }
    
    .event-title {
        font-size: 1.1rem;
    }
    
    .event-content p {
        font-size: 0.9rem;
    }
}




/* Events Container - Centered */
.events-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* For larger screens */
@media (min-width: 768px) {
    .events-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        justify-items: center;
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Event cards with image support */
.event-card {
    width: 100%;
    max-width: 380px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-date {
    background: var(--accent);
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.event-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0; /* Fallback color */
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.event-details {
    margin: 10px 0;
    font-size: 0.85rem;
    color: #666;
}

.event-details small {
    display: block;
    margin-bottom: 5px;
}

.event-details i {
    margin-right: 5px;
    color: var(--secondary);
}

/* Loading and error states */
.loading-events, .no-events {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
    width: 100%;
    grid-column: 1 / -1;
}

/* For very large screens */
@media (min-width: 1200px) {
    .events-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
}

/* Events Container */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Event cards */
.event-card {
    width: 100%;
    max-width: 350px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.event-date {
    background: var(--accent);
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
}

.event-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.event-details {
    margin: 10px 0;
    font-size: 0.85rem;
    color: #666;
}

.loading-events, .no-events {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
    grid-column: 1 / -1;
}

/* Events Container - Fixed equal heights */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Event cards with equal height */
.event-card {
    width: 100%;
    max-width: 380px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 500px; /* Fixed height for all cards */
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-date {
    background: var(--accent);
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0; /* Prevent date from shrinking */
}

.event-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0; /* Fixed image height */
}

.event-content {
    padding: 20px;
    flex: 1; /* Take remaining space */
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
    flex-shrink: 0; /* Fixed title height */
}

.event-content p {
    flex: 1; /* Description takes available space */
    margin-bottom: 15px;
    line-height: 1.5;
}

.event-details {
    margin: 10px 0;
    font-size: 0.85rem;
    color: #666;
    flex-shrink: 0; /* Fixed details height */
}

.event-details small {
    display: block;
    margin-bottom: 5px;
}

.event-details i {
    margin-right: 5px;
    color: var(--secondary);
}

.event-content .btn {
    flex-shrink: 0; /* Fixed button height */
    margin-top: auto; /* Push button to bottom */
}

/* Loading and error states */
.loading-events, .no-events {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
    grid-column: 1 / -1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .events-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-card {
        height: auto; /* Allow natural height on mobile */
        max-width: 100%;
    }
}







/* Image Rotator Styles */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.image-rotator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rotator-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.rotator-image.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-top: 100px;
}

/* Add overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.canada-yemen-images {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.canada-yemen-image {
    flex: 1;
}

.canada-yemen-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}


/* If you want it to scale with the header */
.logo-title img {
    width: 140px;
    height: auto;
    min-width: 120px; /* Ensure it doesn't get too small */
}


/* YCC Announcement Banner Styles */
.ycc-announcement {
    background: linear-gradient(to right, #2c3e50, #1a5276);
    color: white;
    padding: 12px 0;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #e74c3c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.announcement-icon {
    font-size: 24px;
    animation: bounce 2s infinite;
}

.announcement-text {
    font-size: 16px;
    font-weight: 500;
}

.announcement-text strong {
    color: #f1c40f;
    font-weight: 700;
}

.close-announcement {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.close-announcement:hover {
    color: #f1c40f;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        gap: 8px;
        padding: 10px 40px 10px 20px;
    }
    
    .announcement-text {
        font-size: 14px;
        text-align: center;
    }
    
    .close-announcement {
        right: 10px;
        font-size: 20px;
    }
}